@npm_leadtech/legal-lib-components 5.43.0 → 5.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/components/atoms/CardPane/CardPane.styled.js +1 -0
- package/dist/src/components/atoms/CardPane/CardPane.styled.ts +1 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +2 -2
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.tsx +1 -2
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContentProps.types.d.ts +0 -2
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContentProps.types.ts +0 -2
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPage.js +3 -3
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPage.tsx +5 -7
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPageProps.types.d.ts +2 -3
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPageProps.types.ts +2 -3
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +2 -7
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.js +2 -73
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.ts +2 -73
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +6 -16
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.d.ts +0 -3
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.ts +0 -3
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { StepRatafiaCardList } from '../../molecules';
|
|
3
3
|
import { StepsRatafiaContentStyled } from './StepsRatafiaContent.styled';
|
|
4
|
-
const StepsRatafiaContent = ({ title, steps
|
|
5
|
-
return (_jsxs(StepsRatafiaContentStyled, { children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight steps-ratafia-content__title', children: title }), _jsx(
|
|
4
|
+
const StepsRatafiaContent = ({ title, steps }) => {
|
|
5
|
+
return (_jsxs(StepsRatafiaContentStyled, { children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight steps-ratafia-content__title', children: title }), _jsx(StepRatafiaCardList, { steps: steps })] }));
|
|
6
6
|
};
|
|
7
7
|
export default StepsRatafiaContent;
|
|
@@ -4,11 +4,10 @@ import { StepRatafiaCardList } from '../../molecules'
|
|
|
4
4
|
import { type StepsRatafiaContentProps } from './StepsRatafiaContentProps.types'
|
|
5
5
|
import { StepsRatafiaContentStyled } from './StepsRatafiaContent.styled'
|
|
6
6
|
|
|
7
|
-
const StepsRatafiaContent: FC<StepsRatafiaContentProps> = ({ title, steps
|
|
7
|
+
const StepsRatafiaContent: FC<StepsRatafiaContentProps> = ({ title, steps }) => {
|
|
8
8
|
return (
|
|
9
9
|
<StepsRatafiaContentStyled>
|
|
10
10
|
<h2 className='sans-serif --super-large --bold-weight steps-ratafia-content__title'>{title}</h2>
|
|
11
|
-
<div>{description}</div>
|
|
12
11
|
<StepRatafiaCardList steps={steps} />
|
|
13
12
|
</StepsRatafiaContentStyled>
|
|
14
13
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { FaqSection, JumbotronRatafiaSection
|
|
3
|
-
export const EsignatureLandingPage = ({
|
|
4
|
-
return (_jsxs(_Fragment, { children: [_jsx(JumbotronRatafiaSection, { content:
|
|
2
|
+
import { FaqSection, JumbotronRatafiaSection } from '../../sections';
|
|
3
|
+
export const EsignatureLandingPage = ({ jumbotronEsignatureSectionProps, trustPilotBox, faqGroupProps }) => {
|
|
4
|
+
return (_jsxs(_Fragment, { children: [_jsx(JumbotronRatafiaSection, { content: jumbotronEsignatureSectionProps.content, alternativeStyles: jumbotronEsignatureSectionProps.alternativeStyles, children: jumbotronEsignatureSectionProps.children }), trustPilotBox ?? trustPilotBox, _jsx(FaqSection, { groups: faqGroupProps, givenClass: 'faq-ratafia-section' })] }));
|
|
5
5
|
};
|
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
|
-
import { FaqSection, JumbotronRatafiaSection
|
|
3
|
+
import { FaqSection, JumbotronRatafiaSection } from '../../sections'
|
|
4
4
|
import { type EsignatureLandingPageProps } from './EsignatureLandingPageProps.types'
|
|
5
5
|
|
|
6
6
|
export const EsignatureLandingPage: React.FC<EsignatureLandingPageProps> = ({
|
|
7
|
-
|
|
8
|
-
stepsSectionProps,
|
|
7
|
+
jumbotronEsignatureSectionProps,
|
|
9
8
|
trustPilotBox,
|
|
10
9
|
faqGroupProps
|
|
11
10
|
}) => {
|
|
12
11
|
return (
|
|
13
12
|
<>
|
|
14
13
|
<JumbotronRatafiaSection
|
|
15
|
-
content={
|
|
16
|
-
alternativeStyles={
|
|
14
|
+
content={jumbotronEsignatureSectionProps.content}
|
|
15
|
+
alternativeStyles={jumbotronEsignatureSectionProps.alternativeStyles}
|
|
17
16
|
>
|
|
18
|
-
{
|
|
17
|
+
{jumbotronEsignatureSectionProps.children}
|
|
19
18
|
</JumbotronRatafiaSection>
|
|
20
|
-
<StepsRatafiaSection {...stepsSectionProps} />
|
|
21
19
|
{trustPilotBox ?? trustPilotBox}
|
|
22
20
|
<FaqSection groups={faqGroupProps} givenClass='faq-ratafia-section' />
|
|
23
21
|
</>
|
package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPageProps.types.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { JumbotronRatafiaSectionProps, StepsRatafiaSectionProps } from '../../sections';
|
|
2
1
|
import type { FaqGroupProps } from '../../organisms';
|
|
2
|
+
import { JumbotronRatafiaSectionProps } from '../../sections';
|
|
3
3
|
export interface EsignatureLandingPageProps {
|
|
4
|
-
|
|
5
|
-
stepsSectionProps: StepsRatafiaSectionProps;
|
|
4
|
+
jumbotronEsignatureSectionProps: JumbotronRatafiaSectionProps;
|
|
6
5
|
faqGroupProps: FaqGroupProps[];
|
|
7
6
|
trustPilotBox?: React.ReactNode;
|
|
8
7
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { JumbotronRatafiaSectionProps, StepsRatafiaSectionProps } from '../../sections'
|
|
2
1
|
import type { FaqGroupProps } from '../../organisms'
|
|
2
|
+
import { JumbotronRatafiaSectionProps } from '../../sections'
|
|
3
3
|
|
|
4
4
|
export interface EsignatureLandingPageProps {
|
|
5
|
-
|
|
6
|
-
stepsSectionProps: StepsRatafiaSectionProps
|
|
5
|
+
jumbotronEsignatureSectionProps: JumbotronRatafiaSectionProps
|
|
7
6
|
faqGroupProps: FaqGroupProps[]
|
|
8
7
|
trustPilotBox?: React.ReactNode
|
|
9
8
|
}
|
|
@@ -2,12 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { StepsRatafiaContent } from '../../organisms';
|
|
3
3
|
import { StepsRatafiaSectionStyled } from './StepsRatafiaSection.styled';
|
|
4
4
|
import { Video } from '../../atoms';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const isEsignatureLanding = !videoUrl;
|
|
8
|
-
const classnames = classNames({
|
|
9
|
-
'--is-esignature': isEsignatureLanding
|
|
10
|
-
});
|
|
11
|
-
return (_jsx(StepsRatafiaSectionStyled, { className: 'steps-ratafia-section', children: _jsxs("div", { className: `steps-ratafia-section__wrapper ${classnames}`, children: [!isEsignatureLanding ? (_jsx("div", { className: 'steps-ratafia-section__wrapper__video', children: _jsx(Video, { videoSrcURL: videoUrl, autoPlay: true, loop: true }) })) : (_jsx("div", { className: 'steps-ratafia-section__wrapper__image', children: mainImage })), _jsx("div", { className: 'steps-ratafia-section__wrapper__content', children: _jsx(StepsRatafiaContent, { title: title, steps: steps, description: description }) })] }) }));
|
|
5
|
+
const StepsRatafiaSection = ({ title, steps, videoUrl }) => {
|
|
6
|
+
return (_jsx(StepsRatafiaSectionStyled, { className: 'steps-ratafia-section', children: _jsxs("div", { className: 'steps-ratafia-section__wrapper', children: [_jsx("div", { className: 'steps-ratafia-section__wrapper__video', children: _jsx(Video, { videoSrcURL: videoUrl, autoPlay: true, loop: true }) }), _jsx("div", { className: 'steps-ratafia-section__wrapper__content', children: _jsx(StepsRatafiaContent, { title: title, steps: steps }) })] }) }));
|
|
12
7
|
};
|
|
13
8
|
export default StepsRatafiaSection;
|
|
@@ -18,8 +18,10 @@ export const StepsRatafiaSectionStyled = styled.section `
|
|
|
18
18
|
justify-content: center;
|
|
19
19
|
align-items: center;
|
|
20
20
|
align-self: stretch;
|
|
21
|
+
|
|
21
22
|
gap: 3rem;
|
|
22
23
|
padding: 2rem 1.5rem 3rem 1.5rem;
|
|
24
|
+
|
|
23
25
|
max-width: 1200px;
|
|
24
26
|
|
|
25
27
|
@media ${device.desktop} {
|
|
@@ -31,21 +33,6 @@ export const StepsRatafiaSectionStyled = styled.section `
|
|
|
31
33
|
align-items: center;
|
|
32
34
|
}
|
|
33
35
|
|
|
34
|
-
&__image {
|
|
35
|
-
display: flex;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
align-items: center;
|
|
38
|
-
max-width: 1024px;
|
|
39
|
-
@media ${device['desktop-xl']} {
|
|
40
|
-
max-width: 720px;
|
|
41
|
-
}
|
|
42
|
-
img {
|
|
43
|
-
border-radius: 8px;
|
|
44
|
-
box-shadow: 0 0.125rem 0.375rem 0 rgba(2, 55, 74, 0.25);
|
|
45
|
-
width: 100%;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
36
|
&__video {
|
|
50
37
|
display: flex;
|
|
51
38
|
justify-content: center;
|
|
@@ -63,64 +50,6 @@ export const StepsRatafiaSectionStyled = styled.section `
|
|
|
63
50
|
&__content {
|
|
64
51
|
flex: 1;
|
|
65
52
|
}
|
|
66
|
-
|
|
67
|
-
&.--is-esignature {
|
|
68
|
-
flex-direction: column;
|
|
69
|
-
|
|
70
|
-
@media ${device.desktop} {
|
|
71
|
-
padding: 3rem 0 3rem 0;
|
|
72
|
-
}
|
|
73
|
-
@media ${device['desktop-xl']} {
|
|
74
|
-
flex-direction: row;
|
|
75
|
-
justify-content: center;
|
|
76
|
-
align-items: center;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.--is-esignature {
|
|
83
|
-
.steps-ratafia-section {
|
|
84
|
-
&__wrapper {
|
|
85
|
-
&__content {
|
|
86
|
-
width: 100%;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.step-ratafia-card-list {
|
|
92
|
-
flex-direction: column;
|
|
93
|
-
@media ${device['laptop']} {
|
|
94
|
-
flex-direction: row;
|
|
95
|
-
}
|
|
96
|
-
@media ${device['desktop-xl']} {
|
|
97
|
-
flex-direction: column;
|
|
98
|
-
justify-content: center;
|
|
99
|
-
align-items: center;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.step-ratafia-card {
|
|
104
|
-
width: 100%;
|
|
105
|
-
@media ${device['laptop']} {
|
|
106
|
-
width: 33%;
|
|
107
|
-
}
|
|
108
|
-
@media ${device['desktop-xl']} {
|
|
109
|
-
width: 100%;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.steps-esignature-section {
|
|
114
|
-
&__wrapper {
|
|
115
|
-
&__content {
|
|
116
|
-
width: 100%;
|
|
117
|
-
&.step-ratafia-card {
|
|
118
|
-
@media ${device['laptop']} {
|
|
119
|
-
width: 100%;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
53
|
}
|
|
125
54
|
}
|
|
126
55
|
`;
|
|
@@ -19,8 +19,10 @@ export const StepsRatafiaSectionStyled = styled.section`
|
|
|
19
19
|
justify-content: center;
|
|
20
20
|
align-items: center;
|
|
21
21
|
align-self: stretch;
|
|
22
|
+
|
|
22
23
|
gap: 3rem;
|
|
23
24
|
padding: 2rem 1.5rem 3rem 1.5rem;
|
|
25
|
+
|
|
24
26
|
max-width: 1200px;
|
|
25
27
|
|
|
26
28
|
@media ${device.desktop} {
|
|
@@ -32,21 +34,6 @@ export const StepsRatafiaSectionStyled = styled.section`
|
|
|
32
34
|
align-items: center;
|
|
33
35
|
}
|
|
34
36
|
|
|
35
|
-
&__image {
|
|
36
|
-
display: flex;
|
|
37
|
-
justify-content: center;
|
|
38
|
-
align-items: center;
|
|
39
|
-
max-width: 1024px;
|
|
40
|
-
@media ${device['desktop-xl']} {
|
|
41
|
-
max-width: 720px;
|
|
42
|
-
}
|
|
43
|
-
img {
|
|
44
|
-
border-radius: 8px;
|
|
45
|
-
box-shadow: 0 0.125rem 0.375rem 0 rgba(2, 55, 74, 0.25);
|
|
46
|
-
width: 100%;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
37
|
&__video {
|
|
51
38
|
display: flex;
|
|
52
39
|
justify-content: center;
|
|
@@ -64,64 +51,6 @@ export const StepsRatafiaSectionStyled = styled.section`
|
|
|
64
51
|
&__content {
|
|
65
52
|
flex: 1;
|
|
66
53
|
}
|
|
67
|
-
|
|
68
|
-
&.--is-esignature {
|
|
69
|
-
flex-direction: column;
|
|
70
|
-
|
|
71
|
-
@media ${device.desktop} {
|
|
72
|
-
padding: 3rem 0 3rem 0;
|
|
73
|
-
}
|
|
74
|
-
@media ${device['desktop-xl']} {
|
|
75
|
-
flex-direction: row;
|
|
76
|
-
justify-content: center;
|
|
77
|
-
align-items: center;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.--is-esignature {
|
|
84
|
-
.steps-ratafia-section {
|
|
85
|
-
&__wrapper {
|
|
86
|
-
&__content {
|
|
87
|
-
width: 100%;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.step-ratafia-card-list {
|
|
93
|
-
flex-direction: column;
|
|
94
|
-
@media ${device['laptop']} {
|
|
95
|
-
flex-direction: row;
|
|
96
|
-
}
|
|
97
|
-
@media ${device['desktop-xl']} {
|
|
98
|
-
flex-direction: column;
|
|
99
|
-
justify-content: center;
|
|
100
|
-
align-items: center;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.step-ratafia-card {
|
|
105
|
-
width: 100%;
|
|
106
|
-
@media ${device['laptop']} {
|
|
107
|
-
width: 33%;
|
|
108
|
-
}
|
|
109
|
-
@media ${device['desktop-xl']} {
|
|
110
|
-
width: 100%;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.steps-esignature-section {
|
|
115
|
-
&__wrapper {
|
|
116
|
-
&__content {
|
|
117
|
-
width: 100%;
|
|
118
|
-
&.step-ratafia-card {
|
|
119
|
-
@media ${device['laptop']} {
|
|
120
|
-
width: 100%;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
54
|
}
|
|
126
55
|
}
|
|
127
56
|
`
|
|
@@ -4,26 +4,16 @@ import { StepsRatafiaContent } from '../../organisms'
|
|
|
4
4
|
import { type StepsRatafiaSectionProps } from './StepsRatafiaSectionProps.types'
|
|
5
5
|
import { StepsRatafiaSectionStyled } from './StepsRatafiaSection.styled'
|
|
6
6
|
import { Video } from '../../atoms'
|
|
7
|
-
import classNames from 'classnames'
|
|
8
|
-
|
|
9
|
-
const StepsRatafiaSection: FC<StepsRatafiaSectionProps> = ({ title, steps, videoUrl, mainImage, description }) => {
|
|
10
|
-
const isEsignatureLanding = !videoUrl
|
|
11
|
-
const classnames = classNames({
|
|
12
|
-
'--is-esignature': isEsignatureLanding
|
|
13
|
-
})
|
|
14
7
|
|
|
8
|
+
const StepsRatafiaSection: FC<StepsRatafiaSectionProps> = ({ title, steps, videoUrl }) => {
|
|
15
9
|
return (
|
|
16
10
|
<StepsRatafiaSectionStyled className='steps-ratafia-section'>
|
|
17
|
-
<div className=
|
|
18
|
-
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
</div>
|
|
22
|
-
) : (
|
|
23
|
-
<div className='steps-ratafia-section__wrapper__image'>{mainImage}</div>
|
|
24
|
-
)}
|
|
11
|
+
<div className='steps-ratafia-section__wrapper'>
|
|
12
|
+
<div className='steps-ratafia-section__wrapper__video'>
|
|
13
|
+
<Video videoSrcURL={videoUrl} autoPlay loop />
|
|
14
|
+
</div>
|
|
25
15
|
<div className='steps-ratafia-section__wrapper__content'>
|
|
26
|
-
<StepsRatafiaContent title={title} steps={steps}
|
|
16
|
+
<StepsRatafiaContent title={title} steps={steps} />
|
|
27
17
|
</div>
|
|
28
18
|
</div>
|
|
29
19
|
</StepsRatafiaSectionStyled>
|
package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { StepRatafiaCardProps } from '../../atoms';
|
|
3
2
|
export interface StepsRatafiaSectionProps {
|
|
4
3
|
title: string;
|
|
5
4
|
steps: StepRatafiaCardProps[];
|
|
6
5
|
videoUrl: string;
|
|
7
|
-
mainImage?: React.ReactNode;
|
|
8
|
-
description?: React.ReactNode;
|
|
9
6
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
1
|
import type { StepRatafiaCardProps } from '../../atoms'
|
|
3
2
|
|
|
4
3
|
export interface StepsRatafiaSectionProps {
|
|
5
4
|
title: string
|
|
6
5
|
steps: StepRatafiaCardProps[]
|
|
7
6
|
videoUrl: string
|
|
8
|
-
mainImage?: React.ReactNode
|
|
9
|
-
description?: React.ReactNode
|
|
10
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-lib-components",
|
|
3
|
-
"version": "5.43.
|
|
3
|
+
"version": "5.43.1",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
"./LegalPage": "./dist/src/components/pages/LegalPage/index.js",
|
|
265
265
|
"./LimitReachedRatafiaPage": "./dist/src/components/pages/LimitReachedRatafiaPage/index.js",
|
|
266
266
|
"./LoginRatafiaPage": "./dist/src/components/pages/LoginRatafiaPage/index.js",
|
|
267
|
-
"./
|
|
267
|
+
"./RatafiaPricingPage": "./dist/src/components/pages/RatafiaPricingPage/index.js",
|
|
268
268
|
"./RatafiaLandingPage": "./dist/src/components/pages/RatafiaLandingPage/index.js",
|
|
269
269
|
"./EsignatureLandingPage": "./dist/src/components/pages/EsignatureLandingPage/index.js",
|
|
270
270
|
"./UnsubscribePage": "./dist/src/components/pages/UnsubscribePage/index.js",
|