@npm_leadtech/legal-lib-components 5.11.2 → 5.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/styles.css +0 -847
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +2 -2
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +59 -0
- package/dist/src/components/organisms/AboutUsContent/{AboutUsContent.scss → AboutUsContent.styled.ts} +13 -11
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +3 -3
- package/dist/src/components/organisms/Accordion/Accordion.js +2 -2
- package/dist/src/components/organisms/Accordion/Accordion.styled.d.ts +1 -0
- package/dist/src/components/organisms/Accordion/Accordion.styled.js +5 -0
- package/dist/src/components/organisms/Accordion/Accordion.styled.ts +6 -0
- package/dist/src/components/organisms/Accordion/Accordion.tsx +3 -4
- package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.d.ts +1 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.js +11 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.ts +12 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +3 -3
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.js +3 -3
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.js +22 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.ts +23 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.tsx +3 -3
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.js +2 -2
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.d.ts +1 -0
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.js +60 -0
- package/dist/src/components/organisms/CardFunctionality/{CardFunctionality.scss → CardFunctionality.styled.ts} +3 -3
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.tsx +3 -3
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.js +2 -2
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.d.ts +1 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.js +43 -0
- package/dist/src/components/organisms/ContactJumbotron/{ContactJumbotron.scss → ContactJumbotron.styled.ts} +6 -7
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.tsx +3 -3
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.js +2 -2
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.d.ts +1 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.js +47 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.ts +48 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.tsx +11 -13
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.js +2 -2
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.d.ts +1 -0
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.js +18 -0
- package/dist/src/components/organisms/ErrorContentRatafia/{ErrorContentRatafia.scss → ErrorContentRatafia.styled.ts} +7 -6
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.tsx +3 -3
- package/dist/src/components/organisms/FaqGroup/FaqGroup.js +2 -2
- package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.d.ts +1 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.js +21 -0
- package/dist/src/components/organisms/FaqGroup/{FaqGroup.scss → FaqGroup.styled.ts} +3 -3
- package/dist/src/components/organisms/FaqGroup/FaqGroup.tsx +3 -3
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.js +2 -2
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.js +27 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/{FeaturesRatafiaContent.scss → FeaturesRatafiaContent.styled.ts} +4 -4
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.tsx +3 -3
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.js +3 -3
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.js +138 -0
- package/dist/src/components/organisms/GuidelinesContent/{GuidelinesContent.scss → GuidelinesContent.styled.ts} +17 -17
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +3 -3
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.js +2 -2
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.js +26 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/{JumbotronRatafiaContent.scss → JumbotronRatafiaContent.styled.ts} +6 -7
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.tsx +3 -3
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.js +2 -2
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.d.ts +1 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.js +144 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/{KeyFactsLoadingContentRatafia.scss → KeyFactsLoadingContentRatafia.styled.ts} +24 -25
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.tsx +3 -3
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js +2 -2
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.d.ts +1 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.js +21 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.ts +22 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +3 -3
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.js +2 -2
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.d.ts +5 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/{LanguageSelectorMobile.scss → LanguageSelectorMobile.styled.js} +6 -6
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.ts +70 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.tsx +3 -3
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.js +2 -2
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.d.ts +1 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.js +91 -0
- package/dist/src/components/organisms/LayoutRatafia/{LayoutRatafia.scss → LayoutRatafia.styled.ts} +12 -13
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.tsx +3 -3
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.js +2 -2
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.styled.d.ts +1 -0
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.styled.js +34 -0
- package/dist/src/components/organisms/ListStepsGetForm/{ListStepsGetForm.scss → ListStepsGetForm.styled.ts} +7 -7
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.tsx +3 -3
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.js +2 -2
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.js +14 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.ts +15 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.tsx +3 -3
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.js +4 -8
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.d.ts +1 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.js +45 -0
- package/dist/src/components/organisms/MobileBottomBar/{MobileBottomBar.scss → MobileBottomBar.styled.ts} +6 -6
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +5 -10
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.d.ts +0 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.ts +0 -1
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +2 -2
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.js +11 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.ts +12 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.tsx +3 -3
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +3 -3
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +54 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +55 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +3 -3
- package/dist/src/globalStyles/styles.scss +0 -22
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/components/organisms/Accordion/Accordion.scss +0 -4
- package/dist/src/components/organisms/ArticlesList/ArticlesList.scss +0 -12
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +0 -22
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.scss +0 -54
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss +0 -23
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss +0 -16
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +0 -12
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { JumbotronRatafiaStyled } from './JumbotronRatafiaContent.styled';
|
|
2
3
|
import { TagsRatafiaList } from '../../molecules';
|
|
3
|
-
// import './JumbotronRatafiaContent.scss'
|
|
4
4
|
const JumbotronRatafiaContent = ({ title, body, tags }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs(JumbotronRatafiaStyled, { children: [_jsx("div", { className: 'jumbotron-ratafia-content__title', children: title }), _jsx("span", { className: 'sans-serif --medium jumbotron-ratafia-content__description', itemProp: 'text', children: body }), _jsx(TagsRatafiaList, { tags: tags })] }));
|
|
6
6
|
};
|
|
7
7
|
export default JumbotronRatafiaContent;
|
package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const JumbotronRatafiaStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const JumbotronRatafiaStyled = styled.div `
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
align-items: flex-start;
|
|
6
|
+
gap: 1rem;
|
|
7
|
+
|
|
8
|
+
.jumbotron-ratafia-content__title {
|
|
9
|
+
&__text {
|
|
10
|
+
line-height: 2.25rem;
|
|
11
|
+
font-size: 2rem;
|
|
12
|
+
font-family: 'Inter', sans-serif;
|
|
13
|
+
color: var(--others-white);
|
|
14
|
+
|
|
15
|
+
&__icon {
|
|
16
|
+
padding: 0 0.6rem;
|
|
17
|
+
border-radius: 4px;
|
|
18
|
+
color: var(--primary-main-dark-2);
|
|
19
|
+
background: var(--secondary-main-light-2);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
.jumbotron-ratafia-content__description {
|
|
24
|
+
color: var(--others-white);
|
|
25
|
+
}
|
|
26
|
+
`;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
@import '../../../globalStyles/mediaqueries.scss';
|
|
1
|
+
import styled from 'styled-components'
|
|
3
2
|
|
|
4
|
-
.
|
|
3
|
+
export const JumbotronRatafiaStyled = styled.div`
|
|
5
4
|
display: flex;
|
|
6
5
|
flex-direction: column;
|
|
7
6
|
align-items: flex-start;
|
|
8
7
|
gap: 1rem;
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
.jumbotron-ratafia-content__title {
|
|
11
10
|
&__text {
|
|
12
11
|
line-height: 2.25rem;
|
|
13
12
|
font-size: 2rem;
|
|
@@ -18,11 +17,11 @@
|
|
|
18
17
|
padding: 0 0.6rem;
|
|
19
18
|
border-radius: 4px;
|
|
20
19
|
color: var(--primary-main-dark-2);
|
|
21
|
-
background:
|
|
20
|
+
background: var(--secondary-main-light-2);
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
23
|
}
|
|
25
|
-
|
|
24
|
+
.jumbotron-ratafia-content__description {
|
|
26
25
|
color: var(--others-white);
|
|
27
26
|
}
|
|
28
|
-
|
|
27
|
+
`
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type JumbotronRatafiaContentProps } from './JumbotronRatafiaContentProps.types'
|
|
4
|
+
import { JumbotronRatafiaStyled } from './JumbotronRatafiaContent.styled'
|
|
4
5
|
import { TagsRatafiaList } from '../../molecules'
|
|
5
|
-
// import './JumbotronRatafiaContent.scss'
|
|
6
6
|
|
|
7
7
|
const JumbotronRatafiaContent: FC<JumbotronRatafiaContentProps> = ({ title, body, tags }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<JumbotronRatafiaStyled>
|
|
10
10
|
<div className='jumbotron-ratafia-content__title'>{title}</div>
|
|
11
11
|
<span className='sans-serif --medium jumbotron-ratafia-content__description' itemProp='text'>
|
|
12
12
|
{body}
|
|
13
13
|
</span>
|
|
14
14
|
<TagsRatafiaList tags={tags} />
|
|
15
|
-
</
|
|
15
|
+
</JumbotronRatafiaStyled>
|
|
16
16
|
)
|
|
17
17
|
}
|
|
18
18
|
|
package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { KeyFactsLoadingContentRatafiaStyled } from './KeyFactsLoadingContentRatafia.styled';
|
|
3
3
|
export const KeyFactsLoadingContentRatafia = ({ documentName, icon, text }) => {
|
|
4
|
-
return (_jsxs(
|
|
4
|
+
return (_jsxs(KeyFactsLoadingContentRatafiaStyled, { children: [_jsx("h2", { className: 'sans-serif --bold-weight key-facts-loading-content__document-name', children: documentName }), _jsxs("div", { className: 'key-facts-loading-content__animation-wrapper', children: [_jsxs("div", { className: 'key-facts-loading-content__animation-wrapper__animation animation-1', children: [_jsx("div", { className: 'key-facts-loading-content__animation-wrapper__animation__loader item-1' }), _jsx("div", { className: 'key-facts-loading-content__animation-wrapper__animation__loader item-6' }), _jsx("div", { className: 'key-facts-loading-content__animation-wrapper__animation__loader item-2' })] }), _jsxs("div", { className: 'key-facts-loading-content__animation-wrapper__animation animation-2', children: [_jsx("div", { className: 'key-facts-loading-content__animation-wrapper__animation__loader item-3' }), _jsx("div", { className: 'key-facts-loading-content__animation-wrapper__animation__loader item-4' }), _jsx("div", { className: 'key-facts-loading-content__animation-wrapper__animation__loader item-5' }), _jsx("div", { className: 'key-facts-loading-content__animation-wrapper__animation__loader item-6' })] }), _jsxs("div", { className: 'key-facts-loading-content__animation-wrapper__animation animation-3', children: [_jsx("div", { className: 'key-facts-loading-content__animation-wrapper__animation__loader item-1' }), _jsx("div", { className: 'key-facts-loading-content__animation-wrapper__animation__loader item-7' }), _jsx("div", { className: 'key-facts-loading-content__animation-wrapper__animation__loader item-4' })] }), _jsxs("div", { className: 'key-facts-loading-content__animation-wrapper__animation animation-4', children: [_jsx("div", { className: 'key-facts-loading-content__animation-wrapper__animation__loader item-3' }), _jsx("div", { className: 'key-facts-loading-content__animation-wrapper__animation__loader item-8' }), _jsx("div", { className: 'key-facts-loading-content__animation-wrapper__animation__loader item-2' }), _jsx("div", { className: 'key-facts-loading-content__animation-wrapper__animation__loader item-6' })] })] }), _jsxs("div", { className: 'key-facts-loading-content__message', children: [_jsx("div", { className: 'key-facts-loading-content__message__icon', children: icon }), _jsx("span", { className: 'sans-serif --medium key-facts-loading-content__message__text', children: text })] })] }));
|
|
5
5
|
};
|
|
6
6
|
export default KeyFactsLoadingContentRatafia;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const KeyFactsLoadingContentRatafiaStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const KeyFactsLoadingContentRatafiaStyled = styled.div `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
align-items: flex-start;
|
|
7
|
+
align-self: stretch;
|
|
8
|
+
gap: 1rem;
|
|
9
|
+
|
|
10
|
+
.key-facts-loading-content__document-name {
|
|
11
|
+
color: var(--neutral-neutral-2);
|
|
12
|
+
font-size: 1rem;
|
|
13
|
+
@media ${device['portrait-tablets']} {
|
|
14
|
+
font-size: 1.125rem;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.key-facts-loading-content__animation-wrapper {
|
|
19
|
+
height: calc(0.54 * 100vh);
|
|
20
|
+
|
|
21
|
+
align-self: stretch;
|
|
22
|
+
|
|
23
|
+
padding: 0 2rem 1.5rem 1.5rem;
|
|
24
|
+
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
|
|
27
|
+
border-radius: 4px;
|
|
28
|
+
border-top: 4px solid var(--neutral-neutral-6);
|
|
29
|
+
border-bottom: 4px solid var(--neutral-neutral-6);
|
|
30
|
+
background: var(--neutral-neutral-6);
|
|
31
|
+
|
|
32
|
+
@media ${device['portrait-tablets']} {
|
|
33
|
+
height: 490px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__animation {
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
align-items: flex-start;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
|
|
42
|
+
gap: 0.8rem;
|
|
43
|
+
|
|
44
|
+
padding: 2rem 0;
|
|
45
|
+
|
|
46
|
+
border-bottom: 1px solid var(--neutral-neutral-4);
|
|
47
|
+
&__loader {
|
|
48
|
+
background: var(--neutral-neutral-4);
|
|
49
|
+
border-radius: 16px;
|
|
50
|
+
}
|
|
51
|
+
.item-1 {
|
|
52
|
+
height: 10px;
|
|
53
|
+
width: 45%;
|
|
54
|
+
}
|
|
55
|
+
.item-2 {
|
|
56
|
+
height: 7px;
|
|
57
|
+
width: 30%;
|
|
58
|
+
}
|
|
59
|
+
.item-3 {
|
|
60
|
+
height: 10px;
|
|
61
|
+
width: 25%;
|
|
62
|
+
}
|
|
63
|
+
.item-4 {
|
|
64
|
+
height: 7px;
|
|
65
|
+
width: 70%;
|
|
66
|
+
}
|
|
67
|
+
.item-5 {
|
|
68
|
+
height: 7px;
|
|
69
|
+
width: 55%;
|
|
70
|
+
}
|
|
71
|
+
.item-6 {
|
|
72
|
+
height: 7px;
|
|
73
|
+
width: 65%;
|
|
74
|
+
}
|
|
75
|
+
.item-7 {
|
|
76
|
+
height: 7px;
|
|
77
|
+
width: 90%;
|
|
78
|
+
}
|
|
79
|
+
.item-8 {
|
|
80
|
+
height: 7px;
|
|
81
|
+
width: 90%;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
.animation-1 {
|
|
85
|
+
animation:
|
|
86
|
+
appear 4s ease-in-out 1,
|
|
87
|
+
fadeInOut 4s ease-in-out infinite 4s;
|
|
88
|
+
}
|
|
89
|
+
.animation-2 {
|
|
90
|
+
animation:
|
|
91
|
+
appear 5s ease-in-out 1,
|
|
92
|
+
fadeInOut 4s ease-in-out infinite 4s;
|
|
93
|
+
}
|
|
94
|
+
.animation-3 {
|
|
95
|
+
animation:
|
|
96
|
+
appear 6s ease-in-out 1,
|
|
97
|
+
fadeInOut 4s ease-in-out infinite 4s;
|
|
98
|
+
}
|
|
99
|
+
.animation-4 {
|
|
100
|
+
animation:
|
|
101
|
+
appear 6s ease-in-out 1,
|
|
102
|
+
fadeInOut 4s ease-in-out infinite 4s;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.key-facts-loading-content__message {
|
|
107
|
+
display: flex;
|
|
108
|
+
justify-content: start;
|
|
109
|
+
align-items: flex-start;
|
|
110
|
+
align-self: stretch;
|
|
111
|
+
|
|
112
|
+
padding: 1rem;
|
|
113
|
+
gap: 0.5rem;
|
|
114
|
+
|
|
115
|
+
border-radius: 4px;
|
|
116
|
+
background: var(--secondary-main-light-4);
|
|
117
|
+
|
|
118
|
+
&__icon img {
|
|
119
|
+
width: 24px;
|
|
120
|
+
}
|
|
121
|
+
&__text {
|
|
122
|
+
color: var(--neutral-neutral-1);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@keyframes fadeInOut {
|
|
127
|
+
0%,
|
|
128
|
+
100% {
|
|
129
|
+
opacity: 1;
|
|
130
|
+
}
|
|
131
|
+
50% {
|
|
132
|
+
opacity: 0.2;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@keyframes appear {
|
|
137
|
+
0% {
|
|
138
|
+
opacity: 0;
|
|
139
|
+
}
|
|
140
|
+
100% {
|
|
141
|
+
opacity: 1;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
`;
|
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
3
|
|
|
4
|
-
.
|
|
4
|
+
export const KeyFactsLoadingContentRatafiaStyled = styled.div`
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
align-items: flex-start;
|
|
8
8
|
align-self: stretch;
|
|
9
|
-
|
|
10
9
|
gap: 1rem;
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
.key-facts-loading-content__document-name {
|
|
13
12
|
color: var(--neutral-neutral-2);
|
|
14
13
|
font-size: 1rem;
|
|
15
|
-
@
|
|
14
|
+
@media ${device['portrait-tablets']} {
|
|
16
15
|
font-size: 1.125rem;
|
|
17
16
|
}
|
|
18
17
|
}
|
|
19
18
|
|
|
20
|
-
|
|
19
|
+
.key-facts-loading-content__animation-wrapper {
|
|
21
20
|
height: calc(0.54 * 100vh);
|
|
22
21
|
|
|
23
22
|
align-self: stretch;
|
|
@@ -31,7 +30,7 @@
|
|
|
31
30
|
border-bottom: 4px solid var(--neutral-neutral-6);
|
|
32
31
|
background: var(--neutral-neutral-6);
|
|
33
32
|
|
|
34
|
-
@
|
|
33
|
+
@media ${device['portrait-tablets']} {
|
|
35
34
|
height: 490px;
|
|
36
35
|
}
|
|
37
36
|
|
|
@@ -105,7 +104,7 @@
|
|
|
105
104
|
}
|
|
106
105
|
}
|
|
107
106
|
|
|
108
|
-
|
|
107
|
+
.key-facts-loading-content__message {
|
|
109
108
|
display: flex;
|
|
110
109
|
justify-content: start;
|
|
111
110
|
align-items: flex-start;
|
|
@@ -124,23 +123,23 @@
|
|
|
124
123
|
color: var(--neutral-neutral-1);
|
|
125
124
|
}
|
|
126
125
|
}
|
|
127
|
-
}
|
|
128
126
|
|
|
129
|
-
@keyframes fadeInOut {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
127
|
+
@keyframes fadeInOut {
|
|
128
|
+
0%,
|
|
129
|
+
100% {
|
|
130
|
+
opacity: 1;
|
|
131
|
+
}
|
|
132
|
+
50% {
|
|
133
|
+
opacity: 0.2;
|
|
134
|
+
}
|
|
136
135
|
}
|
|
137
|
-
}
|
|
138
136
|
|
|
139
|
-
@keyframes appear {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
137
|
+
@keyframes appear {
|
|
138
|
+
0% {
|
|
139
|
+
opacity: 0;
|
|
140
|
+
}
|
|
141
|
+
100% {
|
|
142
|
+
opacity: 1;
|
|
143
|
+
}
|
|
145
144
|
}
|
|
146
|
-
|
|
145
|
+
`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import { type KeyFactsLoadingContentRatafiaProps } from './KeyFactsLoadingContentRatafiaProps.types'
|
|
4
|
-
|
|
4
|
+
import { KeyFactsLoadingContentRatafiaStyled } from './KeyFactsLoadingContentRatafia.styled'
|
|
5
5
|
|
|
6
6
|
export const KeyFactsLoadingContentRatafia: React.FC<KeyFactsLoadingContentRatafiaProps> = ({
|
|
7
7
|
documentName,
|
|
@@ -9,7 +9,7 @@ export const KeyFactsLoadingContentRatafia: React.FC<KeyFactsLoadingContentRataf
|
|
|
9
9
|
text
|
|
10
10
|
}) => {
|
|
11
11
|
return (
|
|
12
|
-
<
|
|
12
|
+
<KeyFactsLoadingContentRatafiaStyled>
|
|
13
13
|
<h2 className='sans-serif --bold-weight key-facts-loading-content__document-name'>{documentName}</h2>
|
|
14
14
|
<div className='key-facts-loading-content__animation-wrapper'>
|
|
15
15
|
<div className='key-facts-loading-content__animation-wrapper__animation animation-1'>
|
|
@@ -39,7 +39,7 @@ export const KeyFactsLoadingContentRatafia: React.FC<KeyFactsLoadingContentRataf
|
|
|
39
39
|
<div className='key-facts-loading-content__message__icon'>{icon}</div>
|
|
40
40
|
<span className='sans-serif --medium key-facts-loading-content__message__text'>{text}</span>
|
|
41
41
|
</div>
|
|
42
|
-
</
|
|
42
|
+
</KeyFactsLoadingContentRatafiaStyled>
|
|
43
43
|
)
|
|
44
44
|
}
|
|
45
45
|
|
package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { KeyFactCardListRatafia } from '../../molecules';
|
|
3
|
+
import { KeyFactsResultContentRatafiaStyled } from './KeyFactsResultContentRatafia.styled';
|
|
3
4
|
import { ReviewKeyFactsResultRatafia } from '../../atoms';
|
|
4
|
-
// import './KeyFactsResultContentRatafia.scss'
|
|
5
5
|
export const KeyFactsResultContentRatafia = ({ result, review }) => {
|
|
6
|
-
return (_jsxs(
|
|
6
|
+
return (_jsxs(KeyFactsResultContentRatafiaStyled, { children: [_jsx("h2", { className: 'sans-serif --bold-weight key-facts-result-content__document-name', children: result?.documentName }), _jsxs("div", { className: 'key-facts-result-content__content', children: [result !== null && _jsx(KeyFactCardListRatafia, { keyFacts: result.keyFacts }), _jsx(ReviewKeyFactsResultRatafia, { ...review })] })] }));
|
|
7
7
|
};
|
|
8
8
|
export default KeyFactsResultContentRatafia;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const KeyFactsResultContentRatafiaStyled: 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 { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const KeyFactsResultContentRatafiaStyled = styled.div `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
align-items: flex-start;
|
|
7
|
+
flex: 1 0 0;
|
|
8
|
+
align-self: stretch;
|
|
9
|
+
gap: 1rem;
|
|
10
|
+
|
|
11
|
+
.key-facts-result-content__document-name {
|
|
12
|
+
color: var(--neutral-neutral-2);
|
|
13
|
+
font-size: 1rem;
|
|
14
|
+
@media ${device['portrait-tablets']} {
|
|
15
|
+
font-size: 1.125rem;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.key-facts-result-content__content {
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
}
|
|
21
|
+
`;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const KeyFactsResultContentRatafiaStyled = styled.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: flex-start;
|
|
8
|
+
flex: 1 0 0;
|
|
9
|
+
align-self: stretch;
|
|
10
|
+
gap: 1rem;
|
|
11
|
+
|
|
12
|
+
.key-facts-result-content__document-name {
|
|
13
|
+
color: var(--neutral-neutral-2);
|
|
14
|
+
font-size: 1rem;
|
|
15
|
+
@media ${device['portrait-tablets']} {
|
|
16
|
+
font-size: 1.125rem;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.key-facts-result-content__content {
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
}
|
|
22
|
+
`
|
package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx
CHANGED
|
@@ -2,18 +2,18 @@ import React from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { KeyFactCardListRatafia } from '../../molecules'
|
|
4
4
|
import { type KeyFactsResultContentRatafiaProps } from './KeyFactsResultContentRatafiaProps.types'
|
|
5
|
+
import { KeyFactsResultContentRatafiaStyled } from './KeyFactsResultContentRatafia.styled'
|
|
5
6
|
import { ReviewKeyFactsResultRatafia } from '../../atoms'
|
|
6
|
-
// import './KeyFactsResultContentRatafia.scss'
|
|
7
7
|
|
|
8
8
|
export const KeyFactsResultContentRatafia: React.FC<KeyFactsResultContentRatafiaProps> = ({ result, review }) => {
|
|
9
9
|
return (
|
|
10
|
-
<
|
|
10
|
+
<KeyFactsResultContentRatafiaStyled>
|
|
11
11
|
<h2 className='sans-serif --bold-weight key-facts-result-content__document-name'>{result?.documentName}</h2>
|
|
12
12
|
<div className='key-facts-result-content__content'>
|
|
13
13
|
{result !== null && <KeyFactCardListRatafia keyFacts={result.keyFacts} />}
|
|
14
14
|
<ReviewKeyFactsResultRatafia {...review} />
|
|
15
15
|
</div>
|
|
16
|
-
</
|
|
16
|
+
</KeyFactsResultContentRatafiaStyled>
|
|
17
17
|
)
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { useLanguageOptions, useLanguageSelected, useLanguagesSelector } from '../LanguageSelector';
|
|
4
4
|
import { Button } from '../../atoms';
|
|
5
5
|
import { ChevronExpandMore } from '../../../../images/componentsSvg/ChevronExpandMore';
|
|
6
|
-
|
|
6
|
+
import { LanguageSelectorMobileStyled } from './LanguageSelectorMobile.styled';
|
|
7
7
|
export const LanguageSelectorMobile = ({ languages = [
|
|
8
8
|
{
|
|
9
9
|
code: 'US',
|
|
@@ -16,7 +16,7 @@ export const LanguageSelectorMobile = ({ languages = [
|
|
|
16
16
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
17
17
|
if (languages.length <= 1)
|
|
18
18
|
return null;
|
|
19
|
-
return (_jsxs(
|
|
19
|
+
return (_jsxs(LanguageSelectorMobileStyled, { isOpen: isOpen, children: [_jsxs(Button, { color: 'transparent', noLink: true, givenClass: 'selected-option', label: '', dataQa: 'language-selector-mobile', fluid: true, onClick: () => {
|
|
20
20
|
setIsOpen(!isOpen);
|
|
21
21
|
}, children: [_jsxs("div", { className: 'language', children: [languageSelected.flag, " ", languageSelected.name] }), _jsx(ChevronExpandMore, { fill: '#DBE1E5' })] }), _jsx("div", { className: 'options', children: languageOptions.map((language) => (_jsx(Button, { color: 'transparent', isExternal: true, givenClass: 'option', label: '', dataQa: `language-selector-mobile-option-${language.code}`, link: language.url, fluid: true, children: _jsxs("div", { className: 'language', children: [language.flag, " ", language.name] }) }, language.code))) })] }));
|
|
22
22
|
};
|
package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
}
|
|
4
|
+
export declare const LanguageSelectorMobileStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Props>> & string;
|
|
5
|
+
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
.language-selector-mobile {
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const LanguageSelectorMobileStyled = styled.div `
|
|
4
3
|
position: relative;
|
|
5
4
|
|
|
6
5
|
.selected-option {
|
|
@@ -48,7 +47,8 @@
|
|
|
48
47
|
}
|
|
49
48
|
}
|
|
50
49
|
|
|
51
|
-
|
|
50
|
+
${({ isOpen }) => isOpen &&
|
|
51
|
+
`
|
|
52
52
|
.selected-option {
|
|
53
53
|
.chevron-expand-more {
|
|
54
54
|
transition: all 0.4s ease;
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
visibility: visible;
|
|
62
62
|
transition: all 0.4s ease;
|
|
63
63
|
}
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
`}
|
|
65
|
+
`;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
interface Props {
|
|
3
|
+
isOpen: boolean
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export const LanguageSelectorMobileStyled = styled.div<Props>`
|
|
7
|
+
position: relative;
|
|
8
|
+
|
|
9
|
+
.selected-option {
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
align-items: center;
|
|
13
|
+
background-color: var(--primary-main-dark-1);
|
|
14
|
+
border: 0;
|
|
15
|
+
|
|
16
|
+
.language {
|
|
17
|
+
color: var(--others-white);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.chevron-expand-more {
|
|
21
|
+
transition: all 0.1s ease;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.language {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
padding: 0 0.5rem;
|
|
29
|
+
gap: 0.1rem;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.options {
|
|
33
|
+
position: absolute;
|
|
34
|
+
visibility: hidden;
|
|
35
|
+
opacity: 0;
|
|
36
|
+
width: 100%;
|
|
37
|
+
padding-top: 0.5rem;
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
gap: 0.5rem;
|
|
41
|
+
transition: all 0.1s ease;
|
|
42
|
+
|
|
43
|
+
.option {
|
|
44
|
+
display: flex;
|
|
45
|
+
padding: 0.5rem 1rem;
|
|
46
|
+
background-color: var(--neutral-neutral-6);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.language {
|
|
50
|
+
color: var(--neutral-neutral-1);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
${({ isOpen }) =>
|
|
55
|
+
isOpen &&
|
|
56
|
+
`
|
|
57
|
+
.selected-option {
|
|
58
|
+
.chevron-expand-more {
|
|
59
|
+
transition: all 0.4s ease;
|
|
60
|
+
transform: rotate(180deg);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.options {
|
|
65
|
+
opacity: 1;
|
|
66
|
+
visibility: visible;
|
|
67
|
+
transition: all 0.4s ease;
|
|
68
|
+
}
|
|
69
|
+
`}
|
|
70
|
+
`
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from '../LanguageSelector'
|
|
9
9
|
import { Button } from '../../atoms'
|
|
10
10
|
import { ChevronExpandMore } from '../../../../images/componentsSvg/ChevronExpandMore'
|
|
11
|
-
|
|
11
|
+
import { LanguageSelectorMobileStyled } from './LanguageSelectorMobile.styled'
|
|
12
12
|
|
|
13
13
|
export const LanguageSelectorMobile: React.FC<LanguageSelectorProps> = ({
|
|
14
14
|
languages = [
|
|
@@ -27,7 +27,7 @@ export const LanguageSelectorMobile: React.FC<LanguageSelectorProps> = ({
|
|
|
27
27
|
if (languages.length <= 1) return null
|
|
28
28
|
|
|
29
29
|
return (
|
|
30
|
-
<
|
|
30
|
+
<LanguageSelectorMobileStyled isOpen={isOpen}>
|
|
31
31
|
<Button
|
|
32
32
|
color='transparent'
|
|
33
33
|
noLink
|
|
@@ -62,6 +62,6 @@ export const LanguageSelectorMobile: React.FC<LanguageSelectorProps> = ({
|
|
|
62
62
|
</Button>
|
|
63
63
|
))}
|
|
64
64
|
</div>
|
|
65
|
-
</
|
|
65
|
+
</LanguageSelectorMobileStyled>
|
|
66
66
|
)
|
|
67
67
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { HeaderRatafia } from '../../molecules';
|
|
3
|
-
|
|
3
|
+
import { LayoutRatafiaStyled } from './LayoutRatafia.styled';
|
|
4
4
|
export const LayoutRatafia = ({ header, content, cta, footerDesktop, footerMobile }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx(LayoutRatafiaStyled, { children: _jsxs("div", { className: 'layout-ratafia__wrapper', children: [_jsx("div", { className: 'layout-ratafia__wrapper__header', children: _jsx(HeaderRatafia, { ...header }) }), _jsxs("div", { className: 'layout-ratafia__wrapper__content', children: [content, _jsx("div", { className: 'layout-ratafia__wrapper__cta', children: cta })] }), _jsx("div", { className: 'layout-ratafia__wrapper__footer-desktop', children: footerDesktop }), _jsx("div", { className: 'layout-ratafia__wrapper__footer-mobile', children: footerMobile })] }) }));
|
|
6
6
|
};
|
|
7
7
|
export default LayoutRatafia;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LayoutRatafiaStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|