@npm_leadtech/legal-lib-components 5.11.11 → 5.11.12

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 (131) hide show
  1. package/dist/css/styles.css +1 -848
  2. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +1 -1
  3. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +1 -1
  4. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.js +0 -5
  5. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.ts +0 -5
  6. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.js +12 -5
  7. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.ts +12 -5
  8. package/dist/src/components/molecules/TextInput/TextInput.scss +1 -1
  9. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +2 -2
  10. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +1 -0
  11. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +59 -0
  12. package/dist/src/components/organisms/AboutUsContent/{AboutUsContent.scss → AboutUsContent.styled.ts} +13 -11
  13. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +3 -3
  14. package/dist/src/components/organisms/Accordion/Accordion.js +2 -2
  15. package/dist/src/components/organisms/Accordion/Accordion.styled.d.ts +1 -0
  16. package/dist/src/components/organisms/Accordion/Accordion.styled.js +5 -0
  17. package/dist/src/components/organisms/Accordion/Accordion.styled.ts +6 -0
  18. package/dist/src/components/organisms/Accordion/Accordion.tsx +3 -4
  19. package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
  20. package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.d.ts +1 -0
  21. package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.js +11 -0
  22. package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.ts +12 -0
  23. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +3 -3
  24. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.js +3 -3
  25. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.d.ts +1 -0
  26. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.js +22 -0
  27. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.ts +23 -0
  28. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.tsx +3 -3
  29. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.js +2 -2
  30. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.d.ts +1 -0
  31. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.js +60 -0
  32. package/dist/src/components/organisms/CardFunctionality/{CardFunctionality.scss → CardFunctionality.styled.ts} +3 -3
  33. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.tsx +3 -3
  34. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.js +2 -2
  35. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.d.ts +1 -0
  36. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.js +43 -0
  37. package/dist/src/components/organisms/ContactJumbotron/{ContactJumbotron.scss → ContactJumbotron.styled.ts} +6 -7
  38. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.tsx +3 -3
  39. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.js +2 -2
  40. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.d.ts +1 -0
  41. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.js +48 -0
  42. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.ts +49 -0
  43. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.tsx +11 -13
  44. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.js +2 -2
  45. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.d.ts +1 -0
  46. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.js +18 -0
  47. package/dist/src/components/organisms/ErrorContentRatafia/{ErrorContentRatafia.scss → ErrorContentRatafia.styled.ts} +7 -6
  48. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.tsx +3 -3
  49. package/dist/src/components/organisms/FaqGroup/FaqGroup.js +2 -2
  50. package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.d.ts +1 -0
  51. package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.js +21 -0
  52. package/dist/src/components/organisms/FaqGroup/{FaqGroup.scss → FaqGroup.styled.ts} +3 -3
  53. package/dist/src/components/organisms/FaqGroup/FaqGroup.tsx +3 -3
  54. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.js +2 -2
  55. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.d.ts +1 -0
  56. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.js +27 -0
  57. package/dist/src/components/organisms/FeaturesRatafiaContent/{FeaturesRatafiaContent.scss → FeaturesRatafiaContent.styled.ts} +4 -4
  58. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.tsx +3 -3
  59. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.js +3 -3
  60. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.d.ts +1 -0
  61. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.js +138 -0
  62. package/dist/src/components/organisms/GuidelinesContent/{GuidelinesContent.scss → GuidelinesContent.styled.ts} +17 -17
  63. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +3 -3
  64. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.js +2 -2
  65. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.d.ts +1 -0
  66. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.js +26 -0
  67. package/dist/src/components/organisms/JumbotronRatafiaContent/{JumbotronRatafiaContent.scss → JumbotronRatafiaContent.styled.ts} +6 -7
  68. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.tsx +3 -3
  69. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.js +2 -2
  70. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.d.ts +1 -0
  71. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.js +144 -0
  72. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/{KeyFactsLoadingContentRatafia.scss → KeyFactsLoadingContentRatafia.styled.ts} +24 -25
  73. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.tsx +3 -3
  74. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js +2 -2
  75. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.d.ts +1 -0
  76. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.js +21 -0
  77. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.ts +22 -0
  78. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +3 -3
  79. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.js +2 -2
  80. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.d.ts +5 -0
  81. package/dist/src/components/organisms/LanguageSelectorMobile/{LanguageSelectorMobile.scss → LanguageSelectorMobile.styled.js} +6 -6
  82. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.ts +70 -0
  83. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.tsx +3 -3
  84. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.js +2 -2
  85. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.d.ts +1 -0
  86. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.js +91 -0
  87. package/dist/src/components/organisms/LayoutRatafia/{LayoutRatafia.scss → LayoutRatafia.styled.ts} +12 -13
  88. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.tsx +3 -3
  89. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.js +2 -2
  90. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.styled.d.ts +1 -0
  91. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.styled.js +34 -0
  92. package/dist/src/components/organisms/ListStepsGetForm/{ListStepsGetForm.scss → ListStepsGetForm.styled.ts} +7 -7
  93. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.tsx +3 -3
  94. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.js +2 -2
  95. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.d.ts +1 -0
  96. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.js +14 -0
  97. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.ts +15 -0
  98. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.tsx +3 -3
  99. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.js +4 -8
  100. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.d.ts +1 -0
  101. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.js +45 -0
  102. package/dist/src/components/organisms/MobileBottomBar/{MobileBottomBar.scss → MobileBottomBar.styled.ts} +6 -6
  103. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +5 -10
  104. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.d.ts +0 -1
  105. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.ts +0 -1
  106. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +2 -2
  107. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.d.ts +1 -0
  108. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.js +11 -0
  109. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.ts +12 -0
  110. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.tsx +3 -3
  111. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +3 -3
  112. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.d.ts +1 -0
  113. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +54 -0
  114. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +55 -0
  115. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +3 -3
  116. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.js +2 -1
  117. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.ts +2 -1
  118. package/dist/src/components/pages/FaqsPage/FaqsPage.styled.js +5 -4
  119. package/dist/src/components/pages/FaqsPage/FaqsPage.styled.ts +5 -4
  120. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.js +2 -1
  121. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.ts +2 -1
  122. package/dist/src/globalStyles/styles.scss +0 -22
  123. package/dist/tsconfig.build.tsbuildinfo +1 -1
  124. package/package.json +1 -1
  125. package/dist/src/components/organisms/Accordion/Accordion.scss +0 -4
  126. package/dist/src/components/organisms/ArticlesList/ArticlesList.scss +0 -12
  127. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +0 -22
  128. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.scss +0 -54
  129. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss +0 -23
  130. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss +0 -16
  131. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +0 -12
@@ -0,0 +1,43 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const ContactJumbotronStyled = styled.article `
4
+ .contact__text__title {
5
+ color: var(--primary-main-dark-1);
6
+ margin-bottom: space(8);
7
+ font-size: 1.5rem;
8
+ font-weight: 500;
9
+ line-height: 2rem;
10
+ }
11
+
12
+ .contact__text__subtitle {
13
+ color: var(--neutral-neutral-1);
14
+ font-size: 1rem;
15
+ p {
16
+ margin-bottom: 1rem;
17
+ }
18
+ }
19
+
20
+ .contact__text .logo-text {
21
+ color: var(--neutral-neutral-2);
22
+ }
23
+
24
+ .logo-text {
25
+ margin-top: 3.25rem;
26
+ @media ${device['portrait-tablets']} {
27
+ margin-top: 4rem;
28
+ }
29
+ }
30
+
31
+ .logo-text img {
32
+ min-width: 52px;
33
+ }
34
+
35
+ .faq-button {
36
+ display: inline-block;
37
+ margin-top: space(4);
38
+ width: 100%;
39
+ @media ${device['portrait-tablets']} {
40
+ width: 10rem;
41
+ }
42
+ }
43
+ `;
@@ -1,8 +1,7 @@
1
- @import '../../../globalStyles/variables.scss';
2
- @import '../../../globalStyles/mediaqueries.scss';
3
- @import '../../../globalStyles/functions.scss';
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
4
3
 
5
- .contact__text {
4
+ export const ContactJumbotronStyled = styled.article`
6
5
  .contact__text__title {
7
6
  color: var(--primary-main-dark-1);
8
7
  margin-bottom: space(8);
@@ -25,7 +24,7 @@
25
24
 
26
25
  .logo-text {
27
26
  margin-top: 3.25rem;
28
- @include portrait-tablets {
27
+ @media ${device['portrait-tablets']} {
29
28
  margin-top: 4rem;
30
29
  }
31
30
  }
@@ -38,8 +37,8 @@
38
37
  display: inline-block;
39
38
  margin-top: space(4);
40
39
  width: 100%;
41
- @include portrait-tablets {
40
+ @media ${device['portrait-tablets']} {
42
41
  width: 10rem;
43
42
  }
44
43
  }
45
- }
44
+ `
@@ -3,7 +3,7 @@ import React from 'react'
3
3
  import { EmailContactBox, PhoneContactBoxDesktop } from '../../molecules'
4
4
  import { Button } from '../../atoms'
5
5
  import { type ContactJumbotronProps } from './ContactJumbotronProps.types'
6
- // import './ContactJumbotron.scss'
6
+ import { ContactJumbotronStyled } from './ContactJumbotron.styled'
7
7
 
8
8
  export const ContactJumbotron: React.FC<ContactJumbotronProps> = ({
9
9
  phoneBoxDesktopProps,
@@ -13,7 +13,7 @@ export const ContactJumbotron: React.FC<ContactJumbotronProps> = ({
13
13
  isJonSnow = false
14
14
  }) => {
15
15
  return (
16
- <div className='contact__text'>
16
+ <ContactJumbotronStyled>
17
17
  {!isJonSnow && <PhoneContactBoxDesktop {...phoneBoxDesktopProps} />}
18
18
  <h2 className='contact__text__title sans-serif'>{faqsTitle}</h2>
19
19
  <div className='contact__text__subtitle sans-serif'>{children}</div>
@@ -27,6 +27,6 @@ export const ContactJumbotron: React.FC<ContactJumbotronProps> = ({
27
27
  />
28
28
  )}
29
29
  <EmailContactBox {...emailContactBoxProps} />
30
- </div>
30
+ </ContactJumbotronStyled>
31
31
  )
32
32
  }
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Button, RichTextStrapi } from '../../atoms';
3
- // import './CookiePolicyBar.scss'
3
+ import { CookiePolicyBarStyled } from './CookiePolicyBar.styled';
4
4
  export const CookiePolicyBar = ({ clickFunc, text }) => {
5
- return (_jsxs("div", { className: 'cookie-policy-bar', children: [_jsx(RichTextStrapi, { html: text, className: 'cookie-policy-bar__text sans-serif --extra-small' }), _jsx("div", { className: 'cookie-policy-bar__button-container', children: _jsx(Button, { dataQa: '', givenClass: 'accept-cookies-button', noLink: true, color: 'primary3', label: 'Accept Cookies', onClick: clickFunc }) })] }));
5
+ return (_jsxs(CookiePolicyBarStyled, { children: [_jsx(RichTextStrapi, { html: text, className: 'cookie-policy-bar__text sans-serif --extra-small' }), _jsx(Button, { dataQa: '', givenClass: 'accept-cookies-button', noLink: true, color: 'primary3', label: 'Accept Cookies', onClick: clickFunc })] }));
6
6
  };
@@ -0,0 +1 @@
1
+ export declare const CookiePolicyBarStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,48 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const CookiePolicyBarStyled = styled.div `
4
+ display: flex;
5
+ align-items: center;
6
+ width: 100%;
7
+ padding: 0 1.5rem 1rem;
8
+ background-color: black;
9
+ color: var(--others-white);
10
+ position: fixed;
11
+ bottom: 0;
12
+ z-index: 3;
13
+ flex-direction: column;
14
+
15
+ @media ${device['portrait-tablets']} {
16
+ flex-direction: row;
17
+ align-items: center;
18
+ padding-bottom: 0;
19
+ justify-content: center;
20
+ }
21
+
22
+ .cookie-policy-bar__text {
23
+ margin: 1rem 0 0.5rem;
24
+ max-width: 48rem;
25
+
26
+ @media ${device['portrait-tablets']} {
27
+ margin-bottom: 1rem;
28
+ margin-right: 1.5rem;
29
+ }
30
+
31
+ @media ${device.laptop} {
32
+ margin-right: 2.5rem;
33
+ }
34
+
35
+ a {
36
+ text-decoration: underline;
37
+ color: var(--others-white);
38
+ }
39
+
40
+ &.m-richText p {
41
+ margin-bottom: 0;
42
+ }
43
+ }
44
+
45
+ .accept-cookies-button {
46
+ white-space: nowrap;
47
+ }
48
+ `;
@@ -0,0 +1,49 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const CookiePolicyBarStyled = styled.div`
5
+ display: flex;
6
+ align-items: center;
7
+ width: 100%;
8
+ padding: 0 1.5rem 1rem;
9
+ background-color: black;
10
+ color: var(--others-white);
11
+ position: fixed;
12
+ bottom: 0;
13
+ z-index: 3;
14
+ flex-direction: column;
15
+
16
+ @media ${device['portrait-tablets']} {
17
+ flex-direction: row;
18
+ align-items: center;
19
+ padding-bottom: 0;
20
+ justify-content: center;
21
+ }
22
+
23
+ .cookie-policy-bar__text {
24
+ margin: 1rem 0 0.5rem;
25
+ max-width: 48rem;
26
+
27
+ @media ${device['portrait-tablets']} {
28
+ margin-bottom: 1rem;
29
+ margin-right: 1.5rem;
30
+ }
31
+
32
+ @media ${device.laptop} {
33
+ margin-right: 2.5rem;
34
+ }
35
+
36
+ a {
37
+ text-decoration: underline;
38
+ color: var(--others-white);
39
+ }
40
+
41
+ &.m-richText p {
42
+ margin-bottom: 0;
43
+ }
44
+ }
45
+
46
+ .accept-cookies-button {
47
+ white-space: nowrap;
48
+ }
49
+ `
@@ -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
+ `;