@npm_leadtech/legal-lib-components 5.9.3 → 5.9.4

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 (137) hide show
  1. package/dist/css/styles.css +0 -847
  2. package/dist/src/components/molecules/Article/Article.js +2 -3
  3. package/dist/src/components/molecules/Article/Article.styled.js +0 -31
  4. package/dist/src/components/molecules/Article/Article.styled.ts +0 -31
  5. package/dist/src/components/molecules/Article/Article.tsx +4 -24
  6. package/dist/src/components/molecules/Article/ArticleProps.types.d.ts +0 -1
  7. package/dist/src/components/molecules/Article/ArticleProps.types.ts +0 -1
  8. package/dist/src/components/molecules/FaqItem/FaqItem.js +4 -5
  9. package/dist/src/components/molecules/FaqItem/FaqItem.tsx +6 -7
  10. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +2 -2
  11. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +1 -0
  12. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +59 -0
  13. package/dist/src/components/organisms/AboutUsContent/{AboutUsContent.scss → AboutUsContent.styled.ts} +13 -11
  14. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +3 -3
  15. package/dist/src/components/organisms/Accordion/Accordion.js +2 -2
  16. package/dist/src/components/organisms/Accordion/Accordion.styled.d.ts +1 -0
  17. package/dist/src/components/organisms/Accordion/Accordion.styled.js +5 -0
  18. package/dist/src/components/organisms/Accordion/Accordion.styled.ts +6 -0
  19. package/dist/src/components/organisms/Accordion/Accordion.tsx +3 -4
  20. package/dist/src/components/organisms/ArticlesList/ArticlesList.js +3 -3
  21. package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.d.ts +1 -0
  22. package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.js +11 -0
  23. package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.ts +12 -0
  24. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +5 -5
  25. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.d.ts +0 -1
  26. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +0 -1
  27. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.js +3 -3
  28. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.d.ts +1 -0
  29. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.js +22 -0
  30. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.ts +23 -0
  31. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.tsx +3 -3
  32. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.js +2 -2
  33. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.d.ts +1 -0
  34. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.js +60 -0
  35. package/dist/src/components/organisms/CardFunctionality/{CardFunctionality.scss → CardFunctionality.styled.ts} +3 -3
  36. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.tsx +3 -3
  37. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.js +2 -2
  38. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.d.ts +1 -0
  39. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.js +43 -0
  40. package/dist/src/components/organisms/ContactJumbotron/{ContactJumbotron.scss → ContactJumbotron.styled.ts} +6 -7
  41. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.tsx +3 -3
  42. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.js +2 -2
  43. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.d.ts +1 -0
  44. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.js +54 -0
  45. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.ts +55 -0
  46. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.tsx +11 -13
  47. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.js +2 -2
  48. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.d.ts +1 -0
  49. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.js +18 -0
  50. package/dist/src/components/organisms/ErrorContentRatafia/{ErrorContentRatafia.scss → ErrorContentRatafia.styled.ts} +7 -6
  51. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.tsx +3 -3
  52. package/dist/src/components/organisms/FaqGroup/FaqGroup.js +2 -2
  53. package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.d.ts +1 -0
  54. package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.js +21 -0
  55. package/dist/src/components/organisms/FaqGroup/{FaqGroup.scss → FaqGroup.styled.ts} +3 -3
  56. package/dist/src/components/organisms/FaqGroup/FaqGroup.tsx +3 -3
  57. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.js +2 -2
  58. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.d.ts +1 -0
  59. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.js +27 -0
  60. package/dist/src/components/organisms/FeaturesRatafiaContent/{FeaturesRatafiaContent.scss → FeaturesRatafiaContent.styled.ts} +4 -4
  61. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.tsx +3 -3
  62. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.js +3 -3
  63. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.d.ts +1 -0
  64. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.js +138 -0
  65. package/dist/src/components/organisms/GuidelinesContent/{GuidelinesContent.scss → GuidelinesContent.styled.ts} +17 -17
  66. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +3 -3
  67. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.js +2 -2
  68. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.d.ts +1 -0
  69. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.js +26 -0
  70. package/dist/src/components/organisms/JumbotronRatafiaContent/{JumbotronRatafiaContent.scss → JumbotronRatafiaContent.styled.ts} +6 -7
  71. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.tsx +3 -3
  72. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.js +2 -2
  73. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.d.ts +1 -0
  74. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.js +144 -0
  75. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/{KeyFactsLoadingContentRatafia.scss → KeyFactsLoadingContentRatafia.styled.ts} +24 -25
  76. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.tsx +3 -3
  77. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js +2 -2
  78. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.d.ts +1 -0
  79. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.js +21 -0
  80. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.ts +22 -0
  81. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +3 -3
  82. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.js +2 -2
  83. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.d.ts +5 -0
  84. package/dist/src/components/organisms/LanguageSelectorMobile/{LanguageSelectorMobile.scss → LanguageSelectorMobile.styled.js} +6 -6
  85. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.ts +70 -0
  86. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.tsx +3 -3
  87. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.js +2 -2
  88. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.d.ts +1 -0
  89. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.js +91 -0
  90. package/dist/src/components/organisms/LayoutRatafia/{LayoutRatafia.scss → LayoutRatafia.styled.ts} +12 -13
  91. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.tsx +3 -3
  92. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.js +2 -2
  93. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.styled.d.ts +1 -0
  94. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.styled.js +34 -0
  95. package/dist/src/components/organisms/ListStepsGetForm/{ListStepsGetForm.scss → ListStepsGetForm.styled.ts} +7 -7
  96. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.tsx +3 -3
  97. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.js +2 -2
  98. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.d.ts +1 -0
  99. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.js +14 -0
  100. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.ts +15 -0
  101. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.tsx +3 -3
  102. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.js +4 -8
  103. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.d.ts +1 -0
  104. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.js +45 -0
  105. package/dist/src/components/organisms/MobileBottomBar/{MobileBottomBar.scss → MobileBottomBar.styled.ts} +6 -6
  106. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +5 -10
  107. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.d.ts +0 -1
  108. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.ts +0 -1
  109. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +2 -2
  110. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.d.ts +1 -0
  111. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.js +11 -0
  112. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.ts +12 -0
  113. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.tsx +3 -3
  114. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +3 -3
  115. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.d.ts +1 -0
  116. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +49 -0
  117. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +50 -0
  118. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +3 -3
  119. package/dist/src/components/sections/BlogSection/BlogSection.js +4 -5
  120. package/dist/src/components/sections/BlogSection/BlogSection.styled.js +0 -21
  121. package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +0 -21
  122. package/dist/src/components/sections/BlogSection/BlogSection.tsx +6 -10
  123. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.d.ts +1 -2
  124. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +1 -2
  125. package/dist/src/custom.d.ts +1 -1
  126. package/dist/src/globalStyles/styles.scss +0 -22
  127. package/dist/tsconfig.build.tsbuildinfo +1 -1
  128. package/package.json +1 -1
  129. package/dist/images/svg/arrow-right-24px-outlined.svg +0 -3
  130. package/dist/src/components/organisms/Accordion/Accordion.scss +0 -4
  131. package/dist/src/components/organisms/ArticlesList/ArticlesList.scss +0 -12
  132. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +0 -22
  133. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.scss +0 -54
  134. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss +0 -23
  135. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss +0 -16
  136. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +0 -12
  137. package/dist/src/components/sections/BlogSection/BlogSection.scss +0 -54
@@ -0,0 +1,60 @@
1
+ import styled from 'styled-components';
2
+ export const CardFunctionalityStyled = styled.article `
3
+ border-radius: var(--global-border-radius);
4
+ box-shadow: var(--box-shadow-medium);
5
+ display: flex;
6
+ flex-direction: column;
7
+ gap: var(--global-gap);
8
+ padding: 1em;
9
+
10
+ .content-tags {
11
+ display: flex;
12
+ flex-direction: column;
13
+ gap: var(--global-gap);
14
+
15
+ .content {
16
+ display: flex;
17
+ flex-direction: column;
18
+ gap: calc(1rem / 2);
19
+
20
+ .header {
21
+ display: flex;
22
+ align-items: center;
23
+ gap: 10px;
24
+ flex-direction: row;
25
+
26
+ .icon {
27
+ padding: 2px;
28
+ border-radius: var(--global-border-radius);
29
+ background: var(--primary-main-light-5);
30
+ }
31
+
32
+ .title {
33
+ color: var(--neutral-neutral-1);
34
+ font-weight: 700;
35
+ }
36
+ }
37
+
38
+ .text {
39
+ overflow: hidden;
40
+ color: var(--neutral-neutral-1);
41
+ font-size: 14px;
42
+ display: -webkit-box;
43
+ -webkit-line-clamp: 2;
44
+ line-clamp: 2;
45
+ -webkit-box-orient: vertical;
46
+ }
47
+ }
48
+
49
+ .tags {
50
+ display: flex;
51
+ gap: calc(1rem * 2);
52
+ flex-wrap: wrap;
53
+ }
54
+ }
55
+
56
+ .cta-card {
57
+ align-self: flex-start;
58
+ margin-top: 0;
59
+ }
60
+ `;
@@ -1,6 +1,6 @@
1
- @import '../../../globalStyles/variables.scss';
1
+ import styled from 'styled-components'
2
2
 
3
- .card-functionality {
3
+ export const CardFunctionalityStyled = styled.article`
4
4
  border-radius: var(--global-border-radius);
5
5
  box-shadow: var(--box-shadow-medium);
6
6
  display: flex;
@@ -58,4 +58,4 @@
58
58
  align-self: flex-start;
59
59
  margin-top: 0;
60
60
  }
61
- }
61
+ `
@@ -2,11 +2,11 @@ import React from 'react'
2
2
 
3
3
  import { Button, Tag } from '../../atoms'
4
4
  import { type CardFunctionalityProps } from './CardFunctionalityProps'
5
- // import './CardFunctionality.scss'
5
+ import { CardFunctionalityStyled } from './CardFunctionality.styled'
6
6
 
7
7
  export const CardFunctionality: React.FC<CardFunctionalityProps> = ({ icon, title, text, tags, cta }) => {
8
8
  return (
9
- <article className='card-functionality'>
9
+ <CardFunctionalityStyled>
10
10
  <div className='content-tags'>
11
11
  <div className='content'>
12
12
  <div className='header'>
@@ -24,6 +24,6 @@ export const CardFunctionality: React.FC<CardFunctionalityProps> = ({ icon, titl
24
24
  </div>
25
25
  </div>
26
26
  <Button {...cta} givenClass='cta-card' />
27
- </article>
27
+ </CardFunctionalityStyled>
28
28
  )
29
29
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { EmailContactBox, PhoneContactBoxDesktop } from '../../molecules';
3
3
  import { Button } from '../../atoms';
4
- // import './ContactJumbotron.scss'
4
+ import { ContactJumbotronStyled } from './ContactJumbotron.styled';
5
5
  export const ContactJumbotron = ({ phoneBoxDesktopProps, emailContactBoxProps, faqsTitle, children, isJonSnow = false }) => {
6
- return (_jsxs("div", { className: 'contact__text', children: [!isJonSnow && _jsx(PhoneContactBoxDesktop, { ...phoneBoxDesktopProps }), _jsx("h2", { className: 'contact__text__title sans-serif', children: faqsTitle }), _jsx("div", { className: 'contact__text__subtitle sans-serif', children: children }), !isJonSnow && (_jsx(Button, { givenClass: 'faq-button', color: 'secondary', label: 'Visit FAQ Page', link: '/faqs/', dataQa: 'visitFaq' })), _jsx(EmailContactBox, { ...emailContactBoxProps })] }));
6
+ return (_jsxs(ContactJumbotronStyled, { children: [!isJonSnow && _jsx(PhoneContactBoxDesktop, { ...phoneBoxDesktopProps }), _jsx("h2", { className: 'contact__text__title sans-serif', children: faqsTitle }), _jsx("div", { className: 'contact__text__subtitle sans-serif', children: children }), !isJonSnow && (_jsx(Button, { givenClass: 'faq-button', color: 'secondary', label: 'Visit FAQ Page', link: '/faqs/', dataQa: 'visitFaq' })), _jsx(EmailContactBox, { ...emailContactBoxProps })] }));
7
7
  };
@@ -0,0 +1 @@
1
+ export declare const ContactJumbotronStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -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,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;