@npm_leadtech/legal-lib-components 5.11.0 → 5.11.1

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 +54 -0
  35. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.ts +55 -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,54 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const CookiePolicyBarStyled = styled.div `
4
+ display: flex;
5
+ flex-direction: column;
6
+ align-items: center;
7
+ width: 100%;
8
+ padding: 0 1.5rem 1rem;
9
+ background-color: black;
10
+ color: var(--others-white);
11
+
12
+ @media ${device['portrait-tablets']} {
13
+ flex-direction: row;
14
+ align-items: center;
15
+ padding-bottom: 0;
16
+ justify-content: center;
17
+ }
18
+
19
+ .fixed-container {
20
+ display: flex;
21
+ flex-direction: column;
22
+ position: fixed;
23
+ bottom: 0;
24
+ z-index: 3;
25
+ width: 100%;
26
+ }
27
+
28
+ .cookie-policy-bar__text {
29
+ margin: 1rem 0 0.5rem;
30
+ max-width: 48rem;
31
+
32
+ @media ${device['portrait-tablets']} {
33
+ margin-bottom: 1rem;
34
+ margin-right: 1.5rem;
35
+ }
36
+
37
+ @media ${device.laptop} {
38
+ margin-right: 2.5rem;
39
+ }
40
+
41
+ a {
42
+ text-decoration: underline;
43
+ color: var(--others-white);
44
+ }
45
+
46
+ &.m-richText p {
47
+ margin-bottom: 0;
48
+ }
49
+ }
50
+
51
+ .accept-cookies-button {
52
+ white-space: nowrap;
53
+ }
54
+ `;
@@ -0,0 +1,55 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const CookiePolicyBarStyled = styled.div`
5
+ display: flex;
6
+ flex-direction: column;
7
+ align-items: center;
8
+ width: 100%;
9
+ padding: 0 1.5rem 1rem;
10
+ background-color: black;
11
+ color: var(--others-white);
12
+
13
+ @media ${device['portrait-tablets']} {
14
+ flex-direction: row;
15
+ align-items: center;
16
+ padding-bottom: 0;
17
+ justify-content: center;
18
+ }
19
+
20
+ .fixed-container {
21
+ display: flex;
22
+ flex-direction: column;
23
+ position: fixed;
24
+ bottom: 0;
25
+ z-index: 3;
26
+ width: 100%;
27
+ }
28
+
29
+ .cookie-policy-bar__text {
30
+ margin: 1rem 0 0.5rem;
31
+ max-width: 48rem;
32
+
33
+ @media ${device['portrait-tablets']} {
34
+ margin-bottom: 1rem;
35
+ margin-right: 1.5rem;
36
+ }
37
+
38
+ @media ${device.laptop} {
39
+ margin-right: 2.5rem;
40
+ }
41
+
42
+ a {
43
+ text-decoration: underline;
44
+ color: var(--others-white);
45
+ }
46
+
47
+ &.m-richText p {
48
+ margin-bottom: 0;
49
+ }
50
+ }
51
+
52
+ .accept-cookies-button {
53
+ white-space: nowrap;
54
+ }
55
+ `
@@ -2,22 +2,20 @@ import React, { type FC } from 'react'
2
2
 
3
3
  import { Button, RichTextStrapi } from '../../atoms'
4
4
  import { type CookiePolicyBarProps } from './CookiePolicyBarProps'
5
- // import './CookiePolicyBar.scss'
5
+ import { CookiePolicyBarStyled } from './CookiePolicyBar.styled'
6
6
 
7
7
  export const CookiePolicyBar: FC<CookiePolicyBarProps> = ({ clickFunc, text }) => {
8
8
  return (
9
- <div className='cookie-policy-bar'>
9
+ <CookiePolicyBarStyled>
10
10
  <RichTextStrapi html={text} className='cookie-policy-bar__text sans-serif --extra-small' />
11
- <div className='cookie-policy-bar__button-container'>
12
- <Button
13
- dataQa=''
14
- givenClass='accept-cookies-button'
15
- noLink
16
- color='primary3'
17
- label={'Accept Cookies'}
18
- onClick={clickFunc}
19
- />
20
- </div>
21
- </div>
11
+ <Button
12
+ dataQa=''
13
+ givenClass='accept-cookies-button'
14
+ noLink
15
+ color='primary3'
16
+ label={'Accept Cookies'}
17
+ onClick={clickFunc}
18
+ />
19
+ </CookiePolicyBarStyled>
22
20
  )
23
21
  }
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // import './ErrorContentRatafia.scss'
2
+ import { ErrorContentRatafiaStyled } from './ErrorContentRatafia.styled';
3
3
  export const ErrorContentRatafia = ({ title, errorMessage }) => {
4
- return (_jsxs("div", { className: 'error-content-ratafia', children: [_jsx("h2", { className: 'error-content-ratafia__title', children: title }), _jsx("div", { className: 'error-content-ratafia__message', children: errorMessage })] }));
4
+ return (_jsxs(ErrorContentRatafiaStyled, { children: [_jsx("h2", { className: 'error-content-ratafia__title', children: title }), _jsx("div", { className: 'error-content-ratafia__message', children: errorMessage })] }));
5
5
  };
@@ -0,0 +1 @@
1
+ export declare const ErrorContentRatafiaStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,18 @@
1
+ import styled from 'styled-components';
2
+ export const ErrorContentRatafiaStyled = styled.div `
3
+ width: 100%;
4
+ color: var(--neutral-neutral-2);
5
+
6
+ .error-content-ratafia__title {
7
+ font-size: 1rem;
8
+ padding-bottom: 1rem;
9
+ }
10
+
11
+ .error-content-ratafia__message {
12
+ font-size: 1rem;
13
+ font-style: normal;
14
+ font-weight: 400;
15
+ line-height: 22px;
16
+ letter-spacing: -0.3px;
17
+ }
18
+ `;
@@ -1,18 +1,19 @@
1
- @import '../../../globalStyles/variables.scss';
2
- @import '../../../globalStyles/mediaqueries.scss';
1
+ import styled from 'styled-components'
3
2
 
4
- .error-content-ratafia {
3
+ export const ErrorContentRatafiaStyled = styled.div`
5
4
  width: 100%;
6
5
  color: var(--neutral-neutral-2);
7
- &__title {
6
+
7
+ .error-content-ratafia__title {
8
8
  font-size: 1rem;
9
9
  padding-bottom: 1rem;
10
10
  }
11
- &__message {
11
+
12
+ .error-content-ratafia__message {
12
13
  font-size: 1rem;
13
14
  font-style: normal;
14
15
  font-weight: 400;
15
16
  line-height: 22px;
16
17
  letter-spacing: -0.3px;
17
18
  }
18
- }
19
+ `
@@ -1,13 +1,13 @@
1
1
  import React, { type FC } from 'react'
2
2
 
3
3
  import { type ErrorContentRatafiaProps } from './ErrorContentRatafiaProps.types'
4
- // import './ErrorContentRatafia.scss'
4
+ import { ErrorContentRatafiaStyled } from './ErrorContentRatafia.styled'
5
5
 
6
6
  export const ErrorContentRatafia: FC<ErrorContentRatafiaProps> = ({ title, errorMessage }) => {
7
7
  return (
8
- <div className='error-content-ratafia'>
8
+ <ErrorContentRatafiaStyled>
9
9
  <h2 className='error-content-ratafia__title'>{title}</h2>
10
10
  <div className='error-content-ratafia__message'>{errorMessage}</div>
11
- </div>
11
+ </ErrorContentRatafiaStyled>
12
12
  )
13
13
  }
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { FaqGroupStyled } from './FaqGroup.styled';
2
3
  import { FaqItem } from '../../molecules';
3
- // import './FaqGroup.scss'
4
4
  export const FaqGroup = ({ title, slug, faqs = [], hasAllClosed = false, children }) => {
5
- return (_jsxs("div", { className: 'faqGroup', id: slug, children: [_jsx("h2", { className: 'title', id: `${slug}-faqs`, children: title }), children, _jsx("div", { className: 'faqs', children: faqs.map((faq, index) => (_jsx(FaqItem, { ...faq, index: hasAllClosed ? index + 1 : index }, faq.id))) })] }));
5
+ return (_jsxs(FaqGroupStyled, { id: slug, children: [_jsx("h2", { className: 'title', id: `${slug}-faqs`, children: title }), children, _jsx("div", { className: 'faqs', children: faqs.map((faq, index) => (_jsx(FaqItem, { ...faq, index: hasAllClosed ? index + 1 : index }, faq.id))) })] }));
6
6
  };
@@ -0,0 +1 @@
1
+ export declare const FaqGroupStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,21 @@
1
+ import styled from 'styled-components';
2
+ export const FaqGroupStyled = styled.div `
3
+ display: flex;
4
+ flex-direction: column;
5
+ align-items: flex-start;
6
+ gap: 32px;
7
+
8
+ .title {
9
+ color: var(--neutral-neutral-1);
10
+ font-size: 28px;
11
+ line-height: 32px;
12
+ letter-spacing: -0.3px;
13
+ }
14
+
15
+ .faqs {
16
+ display: flex;
17
+ flex-direction: column;
18
+ gap: var(--global-gap);
19
+ width: 100%;
20
+ }
21
+ `;
@@ -1,6 +1,6 @@
1
- @import '../../../globalStyles/variables.scss';
1
+ import styled from 'styled-components'
2
2
 
3
- .faqGroup {
3
+ export const FaqGroupStyled = styled.div`
4
4
  display: flex;
5
5
  flex-direction: column;
6
6
  align-items: flex-start;
@@ -19,4 +19,4 @@
19
19
  gap: var(--global-gap);
20
20
  width: 100%;
21
21
  }
22
- }
22
+ `
@@ -1,12 +1,12 @@
1
1
  import React from 'react'
2
2
 
3
3
  import { type FaqGroupProps } from './FaqGroupProps'
4
+ import { FaqGroupStyled } from './FaqGroup.styled'
4
5
  import { FaqItem } from '../../molecules'
5
- // import './FaqGroup.scss'
6
6
 
7
7
  export const FaqGroup: React.FC<FaqGroupProps> = ({ title, slug, faqs = [], hasAllClosed = false, children }) => {
8
8
  return (
9
- <div className='faqGroup' id={slug}>
9
+ <FaqGroupStyled id={slug}>
10
10
  <h2 className='title' id={`${slug}-faqs`}>
11
11
  {title}
12
12
  </h2>
@@ -16,6 +16,6 @@ export const FaqGroup: React.FC<FaqGroupProps> = ({ title, slug, faqs = [], hasA
16
16
  <FaqItem key={faq.id} {...faq} index={hasAllClosed ? index + 1 : index} />
17
17
  ))}
18
18
  </div>
19
- </div>
19
+ </FaqGroupStyled>
20
20
  )
21
21
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { FeatureRatafiaCardList } from '../../molecules';
3
- // import './FeaturesRatafiaContent.scss'
3
+ import { FeaturesRatafiaContentStyled } from './FeaturesRatafiaContent.styled';
4
4
  const FeaturesRatafiaContent = ({ title, description, notReleasedText = 'Coming Soon', features }) => {
5
- return (_jsx("div", { className: 'features-ratafia-content', children: _jsxs("div", { className: 'features-ratafia-content__wrapper', children: [_jsxs("div", { className: 'features-ratafia-content__wrapper__title', children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight features-ratafia-content__wrapper__title__text', children: title }), _jsx("div", { className: 'sans-serif --super-medium features-ratafia-content__wrapper__title__description', children: description })] }), _jsx(FeatureRatafiaCardList, { features: features, notReleasedText: notReleasedText })] }) }));
5
+ return (_jsx(FeaturesRatafiaContentStyled, { children: _jsxs("div", { className: 'features-ratafia-content__wrapper', children: [_jsxs("div", { className: 'features-ratafia-content__wrapper__title', children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight features-ratafia-content__wrapper__title__text', children: title }), _jsx("div", { className: 'sans-serif --super-medium features-ratafia-content__wrapper__title__description', children: description })] }), _jsx(FeatureRatafiaCardList, { features: features, notReleasedText: notReleasedText })] }) }));
6
6
  };
7
7
  export default FeaturesRatafiaContent;
@@ -0,0 +1 @@
1
+ export declare const FeaturesRatafiaContentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,27 @@
1
+ import styled from 'styled-components';
2
+ export const FeaturesRatafiaContentStyled = styled.div `
3
+ display: flex;
4
+ flex-direction: column;
5
+ justify-content: center;
6
+ align-items: center;
7
+ flex: 1 0 0;
8
+ gap: 1.5rem;
9
+
10
+ .features-ratafia-content__wrapper__title {
11
+ display: flex;
12
+ flex-direction: column;
13
+ justify-content: center;
14
+ align-items: center;
15
+ align-self: stretch;
16
+ gap: 1rem;
17
+
18
+ &__text {
19
+ align-self: stretch;
20
+ color: var(--neutral-neutral-1);
21
+ }
22
+ &__description {
23
+ align-self: stretch;
24
+ color: var(--neutral-neutral-1);
25
+ }
26
+ }
27
+ `;
@@ -1,6 +1,6 @@
1
- @import '../../../globalStyles/variables.scss';
1
+ import styled from 'styled-components'
2
2
 
3
- .features-ratafia-content__wrapper {
3
+ export const FeaturesRatafiaContentStyled = styled.div`
4
4
  display: flex;
5
5
  flex-direction: column;
6
6
  justify-content: center;
@@ -8,7 +8,7 @@
8
8
  flex: 1 0 0;
9
9
  gap: 1.5rem;
10
10
 
11
- &__title {
11
+ .features-ratafia-content__wrapper__title {
12
12
  display: flex;
13
13
  flex-direction: column;
14
14
  justify-content: center;
@@ -25,4 +25,4 @@
25
25
  color: var(--neutral-neutral-1);
26
26
  }
27
27
  }
28
- }
28
+ `
@@ -2,7 +2,7 @@ import React, { type FC } from 'react'
2
2
 
3
3
  import { FeatureRatafiaCardList } from '../../molecules'
4
4
  import { type FeaturesRatafiaContentProps } from './FeaturesRatafiaContentProps.types'
5
- // import './FeaturesRatafiaContent.scss'
5
+ import { FeaturesRatafiaContentStyled } from './FeaturesRatafiaContent.styled'
6
6
 
7
7
  const FeaturesRatafiaContent: FC<FeaturesRatafiaContentProps> = ({
8
8
  title,
@@ -11,7 +11,7 @@ const FeaturesRatafiaContent: FC<FeaturesRatafiaContentProps> = ({
11
11
  features
12
12
  }) => {
13
13
  return (
14
- <div className='features-ratafia-content'>
14
+ <FeaturesRatafiaContentStyled>
15
15
  <div className='features-ratafia-content__wrapper'>
16
16
  <div className='features-ratafia-content__wrapper__title'>
17
17
  <h2 className='sans-serif --super-large --bold-weight features-ratafia-content__wrapper__title__text'>
@@ -23,7 +23,7 @@ const FeaturesRatafiaContent: FC<FeaturesRatafiaContentProps> = ({
23
23
  </div>
24
24
  <FeatureRatafiaCardList features={features} notReleasedText={notReleasedText} />
25
25
  </div>
26
- </div>
26
+ </FeaturesRatafiaContentStyled>
27
27
  )
28
28
  }
29
29
 
@@ -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, RichTextStrapi } from '../../atoms';
3
- // import './GuidelinesContent.scss'
3
+ import { GuideslinesContentStyled } from './GuidelinesContent.styled';
4
4
  const GuidelinesContent = ({ title, image, detail, children }) => {
5
- return (_jsxs(_Fragment, { children: [_jsxs("div", { className: 'guidelines-section-main wrapper', children: [_jsx("div", { className: 'guidelines-section__image big-devices', children: image }), _jsxs("div", { className: 'guidelines-section__texts', children: [_jsx("h2", { className: 'guidelines-section__texts__title', children: title }), _jsx(RichTextInner, { customClass: 'guidelines-section__texts__body', children: children })] }), _jsx("div", { className: 'guidelines-section__image is-mobile', children: image })] }), Array.isArray(detail) && (_jsx("div", { className: 'guidelines-section-detail wrapper', children: detail.map((item, index) => (_jsxs("div", { className: 'guidelines-section-detail__item', children: [_jsx("div", { className: 'guidelines-section-detail__item__image', children: item.image }), _jsx("div", { className: 'guidelines-section-detail__item__title', children: item.title }), _jsx(RichTextStrapi, { html: item.body?.data?.childMarkdownRemark?.html })] }, index))) }))] }));
5
+ return (_jsxs(GuideslinesContentStyled, { children: [_jsxs("div", { className: 'guidelines-section-main wrapper', children: [_jsx("div", { className: 'guidelines-section__image big-devices', children: image }), _jsxs("div", { className: 'guidelines-section__texts', children: [_jsx("h2", { className: 'guidelines-section__texts__title', children: title }), _jsx(RichTextInner, { customClass: 'guidelines-section__texts__body', children: children })] }), _jsx("div", { className: 'guidelines-section__image is-mobile', children: image })] }), Array.isArray(detail) && (_jsx("div", { className: 'guidelines-section-detail wrapper', children: detail.map((item, index) => (_jsxs("div", { className: 'guidelines-section-detail__item', children: [_jsx("div", { className: 'guidelines-section-detail__item__image', children: item.image }), _jsx("div", { className: 'guidelines-section-detail__item__title', children: item.title }), _jsx(RichTextStrapi, { html: item.body?.data?.childMarkdownRemark?.html })] }, index))) }))] }));
6
6
  };
7
7
  export default GuidelinesContent;
@@ -0,0 +1 @@
1
+ export declare const GuideslinesContentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,138 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const GuideslinesContentStyled = styled.div `
4
+ .guidelines-section-main {
5
+ display: flex;
6
+ flex-direction: column;
7
+ flex-wrap: nowrap;
8
+ padding: 1.5rem;
9
+
10
+ @media ${device.laptop} {
11
+ flex-direction: row;
12
+ padding: 0;
13
+ }
14
+ }
15
+
16
+ .guidelines-section__texts {
17
+ flex-basis: 50%;
18
+ display: flex;
19
+ flex-direction: column;
20
+ justify-content: center;
21
+ margin-bottom: 1rem;
22
+ margin-right: 0;
23
+ color: var(--neutral-neutral-1);
24
+ font-style: normal;
25
+ font-weight: 400;
26
+ letter-spacing: -0.3px;
27
+
28
+ @media ${device['landscape-tablets']} {
29
+ margin-left: 3rem;
30
+ margin-bottom: 0;
31
+ }
32
+
33
+ &__title {
34
+ font-family: var(--font-serif);
35
+ margin-bottom: 2rem;
36
+ text-align: center;
37
+ font-size: 32px;
38
+ font-style: normal;
39
+ font-weight: 400;
40
+ line-height: 42px;
41
+ letter-spacing: -0.3px;
42
+
43
+ @media ${device['landscape-tablets']} {
44
+ text-align: left;
45
+ }
46
+ }
47
+
48
+ &__body {
49
+ font-family: var(--font-sans);
50
+ font-size: 16px;
51
+ line-height: 22px;
52
+
53
+ a {
54
+ color: var(--primary-main-light-1);
55
+ font-weight: 400 !important;
56
+ }
57
+ }
58
+ }
59
+
60
+ .guidelines-section__image {
61
+ flex-basis: 50%;
62
+ margin-bottom: 2rem;
63
+
64
+ &.big-devices {
65
+ display: none;
66
+
67
+ @media ${device['landscape-tablets']} {
68
+ display: flex;
69
+ }
70
+ }
71
+
72
+ &.is-mobile {
73
+ display: none;
74
+
75
+ @media ${device['landscape-tablets']} {
76
+ display: none;
77
+ }
78
+
79
+ img {
80
+ display: none;
81
+ }
82
+ }
83
+ }
84
+
85
+ .guidelines-section-detail {
86
+ display: flex;
87
+ flex-direction: column;
88
+ gap: 1.5rem;
89
+ margin: 2rem 0 1rem 0;
90
+
91
+ @media ${device.laptop} {
92
+ flex-direction: row;
93
+ }
94
+
95
+ &__item {
96
+ display: flex;
97
+ flex: 1;
98
+ flex-direction: column;
99
+ background: var(--others-white);
100
+ border-radius: 0.5rem;
101
+ padding: 1.5rem;
102
+
103
+ &__image {
104
+ width: 100%;
105
+ border-radius: 0.5rem;
106
+ }
107
+
108
+ &__title {
109
+ font-family: var(--font-serif);
110
+ font-style: normal;
111
+ font-weight: 400;
112
+ font-size: 24px;
113
+ line-height: 32px;
114
+ letter-spacing: -0.3px;
115
+ color: var(--neutral-neutral-1);
116
+ margin: 1.5rem 0 1rem 0;
117
+ }
118
+
119
+ ul {
120
+ list-style-type: disc;
121
+ }
122
+
123
+ ol {
124
+ list-style-type: decimal;
125
+ }
126
+
127
+ ul,
128
+ ol {
129
+ margin-left: 1rem;
130
+ margin-bottom: 1rem;
131
+
132
+ li {
133
+ margin-bottom: 0;
134
+ }
135
+ }
136
+ }
137
+ }
138
+ `;
@@ -1,20 +1,20 @@
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
- .guidelines-section {
5
- &-main {
4
+ export const GuideslinesContentStyled = styled.div`
5
+ .guidelines-section-main {
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
  flex-wrap: nowrap;
9
9
  padding: 1.5rem;
10
10
 
11
- @include laptop {
11
+ @media ${device.laptop} {
12
12
  flex-direction: row;
13
13
  padding: 0;
14
14
  }
15
15
  }
16
16
 
17
- &__texts {
17
+ .guidelines-section__texts {
18
18
  flex-basis: 50%;
19
19
  display: flex;
20
20
  flex-direction: column;
@@ -26,7 +26,7 @@
26
26
  font-weight: 400;
27
27
  letter-spacing: -0.3px;
28
28
 
29
- @include landscape-tablets {
29
+ @media ${device['landscape-tablets']} {
30
30
  margin-left: 3rem;
31
31
  margin-bottom: 0;
32
32
  }
@@ -41,7 +41,7 @@
41
41
  line-height: 42px;
42
42
  letter-spacing: -0.3px;
43
43
 
44
- @include landscape-tablets {
44
+ @media ${device['landscape-tablets']} {
45
45
  text-align: left;
46
46
  }
47
47
  }
@@ -58,14 +58,14 @@
58
58
  }
59
59
  }
60
60
 
61
- &__image {
61
+ .guidelines-section__image {
62
62
  flex-basis: 50%;
63
63
  margin-bottom: 2rem;
64
64
 
65
65
  &.big-devices {
66
66
  display: none;
67
67
 
68
- @include landscape-tablets {
68
+ @media ${device['landscape-tablets']} {
69
69
  display: flex;
70
70
  }
71
71
  }
@@ -73,7 +73,7 @@
73
73
  &.is-mobile {
74
74
  display: none;
75
75
 
76
- @include landscape-tablets {
76
+ @media ${device['landscape-tablets']} {
77
77
  display: none;
78
78
  }
79
79
 
@@ -83,13 +83,13 @@
83
83
  }
84
84
  }
85
85
 
86
- &-detail {
86
+ .guidelines-section-detail {
87
87
  display: flex;
88
88
  flex-direction: column;
89
89
  gap: 1.5rem;
90
90
  margin: 2rem 0 1rem 0;
91
91
 
92
- @include laptop {
92
+ @media ${device.laptop} {
93
93
  flex-direction: row;
94
94
  }
95
95
 
@@ -97,7 +97,7 @@
97
97
  display: flex;
98
98
  flex: 1;
99
99
  flex-direction: column;
100
- background: get-color(others, white);
100
+ background: var(--others-white);
101
101
  border-radius: 0.5rem;
102
102
  padding: 1.5rem;
103
103
 
@@ -107,13 +107,13 @@
107
107
  }
108
108
 
109
109
  &__title {
110
- font-family: $font-serif;
110
+ font-family: var(--font-serif);
111
111
  font-style: normal;
112
112
  font-weight: 400;
113
113
  font-size: 24px;
114
114
  line-height: 32px;
115
115
  letter-spacing: -0.3px;
116
- color: get-color(neutral, neutral-1);
116
+ color: var(--neutral-neutral-1);
117
117
  margin: 1.5rem 0 1rem 0;
118
118
  }
119
119
 
@@ -136,4 +136,4 @@
136
136
  }
137
137
  }
138
138
  }
139
- }
139
+ `