@npm_leadtech/legal-lib-components 5.42.4 → 5.42.5
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 +49 -98
- package/dist/src/components/atoms/IconImage/IconImage.d.ts +2 -2
- package/dist/src/components/atoms/IconImage/IconImage.js +1 -5
- package/dist/src/components/atoms/IconImage/IconImage.tsx +10 -8
- package/dist/src/components/atoms/Radio/Radio.scss +53 -59
- package/dist/src/components/atoms/Radio/Radio.tsx +1 -1
- package/dist/src/components/atoms/Radio/RadioProps.types.d.ts +1 -1
- package/dist/src/components/atoms/Radio/RadioProps.types.js +1 -1
- package/dist/src/components/atoms/Radio/RadioProps.types.ts +1 -1
- 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 -2
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +3 -3
- 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
package/dist/css/styles.css
CHANGED
|
@@ -1783,9 +1783,6 @@ h2.react-datepicker__current-month {
|
|
|
1783
1783
|
align-items: center;
|
|
1784
1784
|
gap: 0.5rem;
|
|
1785
1785
|
}
|
|
1786
|
-
.e-radio.default .e-radio__inner .radio-item-container .e-radio-label .radio-item-input {
|
|
1787
|
-
visibility: hidden;
|
|
1788
|
-
}
|
|
1789
1786
|
.e-radio.default .e-radio__inner .radio-item-container .e-radio-label input[type=radio]:after {
|
|
1790
1787
|
width: 16px;
|
|
1791
1788
|
height: 16px;
|
|
@@ -1817,12 +1814,58 @@ h2.react-datepicker__current-month {
|
|
|
1817
1814
|
gap: 0.5rem;
|
|
1818
1815
|
}
|
|
1819
1816
|
}
|
|
1820
|
-
.e-radio
|
|
1821
|
-
|
|
1817
|
+
.e-radio.icons .e-radio__inner {
|
|
1818
|
+
width: 100%;
|
|
1819
|
+
display: flex;
|
|
1820
|
+
flex-wrap: wrap;
|
|
1821
|
+
gap: 0.5rem;
|
|
1822
1822
|
}
|
|
1823
|
-
.e-radio .radio-item-container {
|
|
1823
|
+
.e-radio.icons .e-radio__inner .radio-item-container {
|
|
1824
1824
|
width: 100%;
|
|
1825
1825
|
}
|
|
1826
|
+
.e-radio.icons .e-radio__inner .radio-item-container .e-radio-label {
|
|
1827
|
+
display: flex;
|
|
1828
|
+
padding: 8px 15px;
|
|
1829
|
+
align-items: center;
|
|
1830
|
+
gap: 16px;
|
|
1831
|
+
border-radius: 4px;
|
|
1832
|
+
border: 1px solid var(--neutral-neutral-4);
|
|
1833
|
+
background: var(--others-white);
|
|
1834
|
+
cursor: pointer;
|
|
1835
|
+
}
|
|
1836
|
+
.e-radio.icons .e-radio__inner .radio-item-container .e-radio-label:hover {
|
|
1837
|
+
background: var(--neutral-neutral-5);
|
|
1838
|
+
}
|
|
1839
|
+
.e-radio.icons .e-radio__inner .radio-item-container .e-radio-label .radio-icon {
|
|
1840
|
+
width: 24px;
|
|
1841
|
+
height: 24px;
|
|
1842
|
+
padding: 1px;
|
|
1843
|
+
}
|
|
1844
|
+
.e-radio.icons .e-radio__inner .radio-item-container .e-radio-label .radio-item-input {
|
|
1845
|
+
position: absolute;
|
|
1846
|
+
visibility: hidden;
|
|
1847
|
+
}
|
|
1848
|
+
.e-radio.icons .e-radio__inner .radio-item-container .e-radio-label .e-radio-label__label {
|
|
1849
|
+
font-size: 14px;
|
|
1850
|
+
}
|
|
1851
|
+
.e-radio.icons .e-radio__inner .radio-item-container.active .e-radio-label {
|
|
1852
|
+
border: 2px solid var(--primary-main-dark-2);
|
|
1853
|
+
background: var(--neutral-neutral-5);
|
|
1854
|
+
}
|
|
1855
|
+
.e-radio.icons .e-radio__inner .radio-item-container.active .e-radio-label .e-radio-label__label {
|
|
1856
|
+
font-weight: bold;
|
|
1857
|
+
}
|
|
1858
|
+
@media (min-width: 575px) {
|
|
1859
|
+
.e-radio.icons .e-radio__inner .radio-item-container {
|
|
1860
|
+
max-width: 960px;
|
|
1861
|
+
}
|
|
1862
|
+
.e-radio.icons .e-radio__inner .radio-item-container .e-radio-label {
|
|
1863
|
+
padding: 16px 15px;
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
.e-radio label:first-child:not(.e-radio-label) {
|
|
1867
|
+
font-weight: bold;
|
|
1868
|
+
}
|
|
1826
1869
|
@media (max-width: 575px) {
|
|
1827
1870
|
.e-radio.--tabs .e-radio__inner {
|
|
1828
1871
|
display: flex;
|
|
@@ -1939,98 +1982,6 @@ h2.react-datepicker__current-month {
|
|
|
1939
1982
|
width: 100%;
|
|
1940
1983
|
}
|
|
1941
1984
|
}
|
|
1942
|
-
@media (max-width: 575px) {
|
|
1943
|
-
.e-radio.--icons .e-radio__inner {
|
|
1944
|
-
display: flex;
|
|
1945
|
-
flex-direction: column;
|
|
1946
|
-
gap: 1rem;
|
|
1947
|
-
}
|
|
1948
|
-
.e-radio.--icons .e-radio__inner .radio-item-container .e-radio-label {
|
|
1949
|
-
display: flex;
|
|
1950
|
-
align-items: center;
|
|
1951
|
-
gap: 0.5rem;
|
|
1952
|
-
}
|
|
1953
|
-
.e-radio.--icons .e-radio__inner .radio-item-container .e-radio-label .radio-item-input {
|
|
1954
|
-
visibility: hidden;
|
|
1955
|
-
}
|
|
1956
|
-
.e-radio.--icons .e-radio__inner .radio-item-container .e-radio-label input[type=radio]:after {
|
|
1957
|
-
width: 16px;
|
|
1958
|
-
height: 16px;
|
|
1959
|
-
border-radius: 16px;
|
|
1960
|
-
top: -4px;
|
|
1961
|
-
left: -2px;
|
|
1962
|
-
position: relative;
|
|
1963
|
-
background-color: var(--others-white);
|
|
1964
|
-
content: "";
|
|
1965
|
-
display: inline-block;
|
|
1966
|
-
visibility: visible;
|
|
1967
|
-
border: 1px solid var(--neutral-neutral-1);
|
|
1968
|
-
cursor: pointer;
|
|
1969
|
-
}
|
|
1970
|
-
.e-radio.--icons .e-radio__inner .radio-item-container .e-radio-label .e-radio-label__label {
|
|
1971
|
-
cursor: pointer;
|
|
1972
|
-
}
|
|
1973
|
-
.e-radio.--icons .e-radio__inner .radio-item-container.active .e-radio-label input[type=radio]:after {
|
|
1974
|
-
border: 5px solid var(--primary-main);
|
|
1975
|
-
}
|
|
1976
|
-
.e-radio.--icons .e-radio__inner .radio-item-container.active .e-radio-label .e-radio-label__label {
|
|
1977
|
-
color: var(--primary-main);
|
|
1978
|
-
}
|
|
1979
|
-
.e-radio.--icons .e-radio__inner .radio-item-container:hover .e-radio-label input[type=radio]:after {
|
|
1980
|
-
background-color: var(--primary-main-light-5);
|
|
1981
|
-
}
|
|
1982
|
-
}
|
|
1983
|
-
@media (max-width: 575px) and (min-width: 575px) {
|
|
1984
|
-
.e-radio.--icons .e-radio__inner {
|
|
1985
|
-
gap: 0.5rem;
|
|
1986
|
-
}
|
|
1987
|
-
}
|
|
1988
|
-
.e-radio.--icons .radio-icon {
|
|
1989
|
-
display: none;
|
|
1990
|
-
}
|
|
1991
|
-
@media (min-width: 575px) {
|
|
1992
|
-
.e-radio.--icons .e-radio__inner {
|
|
1993
|
-
display: flex;
|
|
1994
|
-
flex-flow: row wrap;
|
|
1995
|
-
margin-top: 1.5rem;
|
|
1996
|
-
}
|
|
1997
|
-
.e-radio.--icons .radio-item-container {
|
|
1998
|
-
display: flex;
|
|
1999
|
-
width: 47%;
|
|
2000
|
-
border: 1px solid black;
|
|
2001
|
-
min-width: 80px;
|
|
2002
|
-
min-height: 3.5rem;
|
|
2003
|
-
margin-bottom: 0.5rem;
|
|
2004
|
-
border-radius: var(--global-border-radius);
|
|
2005
|
-
border-color: var(--neutral-neutral-4);
|
|
2006
|
-
cursor: pointer;
|
|
2007
|
-
}
|
|
2008
|
-
.e-radio.--icons .radio-item-container:not(:nth-child(2n+0)) {
|
|
2009
|
-
margin-right: 0.5rem;
|
|
2010
|
-
}
|
|
2011
|
-
.e-radio.--icons .radio-item-input {
|
|
2012
|
-
position: absolute;
|
|
2013
|
-
visibility: hidden;
|
|
2014
|
-
}
|
|
2015
|
-
.e-radio.--icons .radio-item-container.active {
|
|
2016
|
-
border: 2px solid var(--primary-main-dark-1);
|
|
2017
|
-
background-color: var(--neutral-neutral-5);
|
|
2018
|
-
}
|
|
2019
|
-
.e-radio.--icons .radio-item-container:hover {
|
|
2020
|
-
background-color: var(--neutral-neutral-5);
|
|
2021
|
-
font-weight: bold;
|
|
2022
|
-
}
|
|
2023
|
-
.e-radio.--icons .e-radio-label {
|
|
2024
|
-
display: flex;
|
|
2025
|
-
align-items: center;
|
|
2026
|
-
padding: 0.25rem 1rem;
|
|
2027
|
-
width: 100%;
|
|
2028
|
-
}
|
|
2029
|
-
.e-radio.--icons .radio-icon {
|
|
2030
|
-
display: block;
|
|
2031
|
-
margin-right: 1rem;
|
|
2032
|
-
}
|
|
2033
|
-
}
|
|
2034
1985
|
.e-radio.--is-invalid.--tabs .e-radio__inner,
|
|
2035
1986
|
.e-radio.--is-invalid.--group-invalid .e-radio__inner,
|
|
2036
1987
|
.e-radio.--group-invalid.--tabs .e-radio__inner,
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
const IconImage = ({ iconName, baseSrcUrl = undefined, givenClass, iconFormat = 'svg' }) => {
|
|
3
|
-
|
|
4
|
-
baseSrcUrl = `${process.env.ASSETS_URL}/`;
|
|
5
|
-
}
|
|
6
|
-
const iconUrl = `${baseSrcUrl}${iconName}.${iconFormat}`;
|
|
7
|
-
return _jsx("img", { className: givenClass, src: iconUrl, alt: '', role: 'img' });
|
|
3
|
+
return (_jsx("img", { className: givenClass, src: `${baseSrcUrl ?? process.env.ASSETS_URL + '/'}${iconName}.${iconFormat}`, alt: '', role: 'img' }));
|
|
8
4
|
};
|
|
9
5
|
export default IconImage;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import { type IconImageProps } from './IconImageProps.types'
|
|
4
4
|
|
|
5
|
-
const IconImage: FC<IconImageProps> = ({ iconName, baseSrcUrl = undefined, givenClass, iconFormat = 'svg' }) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
const IconImage: React.FC<IconImageProps> = ({ iconName, baseSrcUrl = undefined, givenClass, iconFormat = 'svg' }) => {
|
|
6
|
+
return (
|
|
7
|
+
<img
|
|
8
|
+
className={givenClass}
|
|
9
|
+
src={`${baseSrcUrl ?? process.env.ASSETS_URL + '/'}${iconName}.${iconFormat}`}
|
|
10
|
+
alt=''
|
|
11
|
+
role='img'
|
|
12
|
+
/>
|
|
13
|
+
)
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
export default IconImage
|
|
@@ -12,10 +12,6 @@
|
|
|
12
12
|
align-items: center;
|
|
13
13
|
gap: 0.5rem;
|
|
14
14
|
|
|
15
|
-
.radio-item-input {
|
|
16
|
-
visibility: hidden;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
15
|
input[type='radio']:after {
|
|
20
16
|
width: 16px;
|
|
21
17
|
height: 16px;
|
|
@@ -132,52 +128,62 @@
|
|
|
132
128
|
|
|
133
129
|
@mixin iconStyles {
|
|
134
130
|
.e-radio__inner {
|
|
131
|
+
width: 100%;
|
|
135
132
|
display: flex;
|
|
136
|
-
flex-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
133
|
+
flex-wrap: wrap;
|
|
134
|
+
gap: 0.5rem;
|
|
135
|
+
.radio-item-container {
|
|
136
|
+
width: 100%;
|
|
137
|
+
.e-radio-label {
|
|
138
|
+
display: flex;
|
|
139
|
+
padding: 8px 15px;
|
|
140
|
+
align-items: center;
|
|
141
|
+
gap: 16px;
|
|
142
|
+
border-radius: 4px;
|
|
143
|
+
border: 1px solid var(--neutral-neutral-4);
|
|
144
|
+
background: var(--others-white);
|
|
145
|
+
cursor: pointer;
|
|
146
|
+
|
|
147
|
+
&:hover {
|
|
148
|
+
background: var(--neutral-neutral-5);
|
|
149
|
+
}
|
|
151
150
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
151
|
+
.radio-icon {
|
|
152
|
+
width: 24px;
|
|
153
|
+
height: 24px;
|
|
154
|
+
padding: 1px;
|
|
155
|
+
}
|
|
155
156
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
.radio-item-input {
|
|
158
|
+
position: absolute;
|
|
159
|
+
visibility: hidden;
|
|
160
|
+
}
|
|
160
161
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
.e-radio-label__label {
|
|
163
|
+
font-size: 14px;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
165
166
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
&.active {
|
|
168
|
+
.e-radio-label {
|
|
169
|
+
border: 2px solid var(--primary-main-dark-2);
|
|
170
|
+
background: var(--neutral-neutral-5);
|
|
170
171
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
172
|
+
.e-radio-label__label {
|
|
173
|
+
font-weight: bold;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
177
178
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
@include portrait-tablets {
|
|
180
|
+
.radio-item-container {
|
|
181
|
+
max-width: $md;
|
|
182
|
+
.e-radio-label {
|
|
183
|
+
padding: 16px 15px;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
181
187
|
}
|
|
182
188
|
}
|
|
183
189
|
|
|
@@ -192,16 +198,16 @@
|
|
|
192
198
|
@include defaultStyles;
|
|
193
199
|
}
|
|
194
200
|
|
|
201
|
+
&.icons {
|
|
202
|
+
@include iconStyles;
|
|
203
|
+
}
|
|
204
|
+
|
|
195
205
|
// por aqui
|
|
196
206
|
|
|
197
207
|
label:first-child:not(.e-radio-label) {
|
|
198
208
|
font-weight: bold;
|
|
199
209
|
}
|
|
200
210
|
|
|
201
|
-
.radio-item-container {
|
|
202
|
-
width: 100%;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
211
|
&.--tabs {
|
|
206
212
|
@media (max-width: #{$xs}) {
|
|
207
213
|
@include tabsStyles;
|
|
@@ -213,18 +219,6 @@
|
|
|
213
219
|
}
|
|
214
220
|
}
|
|
215
221
|
|
|
216
|
-
&.--icons {
|
|
217
|
-
@include mobile {
|
|
218
|
-
@include defaultStyles();
|
|
219
|
-
}
|
|
220
|
-
.radio-icon {
|
|
221
|
-
display: none;
|
|
222
|
-
}
|
|
223
|
-
@include portrait-tablets {
|
|
224
|
-
@include iconStyles;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
222
|
&.--is-invalid,
|
|
229
223
|
&.--group-invalid {
|
|
230
224
|
&.--tabs,
|
|
@@ -30,7 +30,7 @@ const Radio: React.FC<RadioProps> = ({
|
|
|
30
30
|
<label htmlFor={name} className='sans-serif --medium --bold-weight label'>
|
|
31
31
|
{label}
|
|
32
32
|
</label>
|
|
33
|
-
<div className=
|
|
33
|
+
<div className='e-radio__inner'>
|
|
34
34
|
{items.map((radio) => {
|
|
35
35
|
return (
|
|
36
36
|
<div className={`radio-item-container ${radio.value === value ? 'active' : ''}`} key={radio.value}>
|
|
@@ -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,7 +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
|
-
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:
|
|
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 }) })] }) }));
|
|
7
7
|
};
|
|
8
8
|
export default StepsRatafiaSection;
|
|
@@ -5,15 +5,15 @@ import { type StepsRatafiaSectionProps } from './StepsRatafiaSectionProps.types'
|
|
|
5
5
|
import { StepsRatafiaSectionStyled } from './StepsRatafiaSection.styled'
|
|
6
6
|
import { Video } from '../../atoms'
|
|
7
7
|
|
|
8
|
-
const StepsRatafiaSection: FC<StepsRatafiaSectionProps> = ({ title, steps, videoUrl
|
|
8
|
+
const StepsRatafiaSection: FC<StepsRatafiaSectionProps> = ({ title, steps, videoUrl }) => {
|
|
9
9
|
return (
|
|
10
10
|
<StepsRatafiaSectionStyled className='steps-ratafia-section'>
|
|
11
11
|
<div className='steps-ratafia-section__wrapper'>
|
|
12
12
|
<div className='steps-ratafia-section__wrapper__video'>
|
|
13
|
-
|
|
13
|
+
<Video videoSrcURL={videoUrl} autoPlay loop />
|
|
14
14
|
</div>
|
|
15
15
|
<div className='steps-ratafia-section__wrapper__content'>
|
|
16
|
-
<StepsRatafiaContent title={title} steps={steps}
|
|
16
|
+
<StepsRatafiaContent title={title} steps={steps} />
|
|
17
17
|
</div>
|
|
18
18
|
</div>
|
|
19
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.42.
|
|
3
|
+
"version": "5.42.5",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@types/eslint__js": "^8.42.3",
|
|
57
57
|
"@types/jest": "^29.5.13",
|
|
58
58
|
"@types/node": "^22.7.5",
|
|
59
|
-
"@types/react": "
|
|
59
|
+
"@types/react": "18.3.11",
|
|
60
60
|
"@types/react-datepicker": "^7.0.0",
|
|
61
61
|
"@types/react-dom": "18.3.0",
|
|
62
62
|
"@types/react-router-dom": "5.3.3",
|