@npm_leadtech/legal-lib-components 5.42.7 → 5.42.9
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 +104 -229
- 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 +106 -143
- package/dist/src/components/atoms/Radio/Radio.tsx +1 -1
- package/dist/src/components/atoms/Radio/RadioProps.types.d.ts +2 -2
- package/dist/src/components/atoms/Radio/RadioProps.types.js +2 -2
- package/dist/src/components/atoms/Radio/RadioProps.types.ts +2 -2
- 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
package/dist/css/styles.css
CHANGED
|
@@ -1770,8 +1770,8 @@ h2.react-datepicker__current-month {
|
|
|
1770
1770
|
}
|
|
1771
1771
|
.e-radio .label {
|
|
1772
1772
|
color: var(--neutral-neutral-1);
|
|
1773
|
-
margin-bottom: 1rem;
|
|
1774
1773
|
display: block;
|
|
1774
|
+
margin-bottom: 1rem;
|
|
1775
1775
|
}
|
|
1776
1776
|
.e-radio.default .e-radio__inner {
|
|
1777
1777
|
display: flex;
|
|
@@ -1779,26 +1779,23 @@ h2.react-datepicker__current-month {
|
|
|
1779
1779
|
gap: 1rem;
|
|
1780
1780
|
}
|
|
1781
1781
|
.e-radio.default .e-radio__inner .radio-item-container .e-radio-label {
|
|
1782
|
-
display: flex;
|
|
1783
1782
|
align-items: center;
|
|
1783
|
+
display: flex;
|
|
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
|
-
width: 16px;
|
|
1791
|
-
height: 16px;
|
|
1792
|
-
border-radius: 16px;
|
|
1793
|
-
top: -4px;
|
|
1794
|
-
left: -2px;
|
|
1795
|
-
position: relative;
|
|
1796
1787
|
background-color: var(--others-white);
|
|
1788
|
+
border: 1px solid var(--neutral-neutral-1);
|
|
1789
|
+
border-radius: 16px;
|
|
1797
1790
|
content: "";
|
|
1791
|
+
cursor: pointer;
|
|
1798
1792
|
display: inline-block;
|
|
1793
|
+
height: 16px;
|
|
1794
|
+
left: -2px;
|
|
1795
|
+
position: relative;
|
|
1796
|
+
top: -4px;
|
|
1799
1797
|
visibility: visible;
|
|
1800
|
-
|
|
1801
|
-
cursor: pointer;
|
|
1798
|
+
width: 16px;
|
|
1802
1799
|
}
|
|
1803
1800
|
.e-radio.default .e-radio__inner .radio-item-container .e-radio-label .e-radio-label__label {
|
|
1804
1801
|
cursor: pointer;
|
|
@@ -1817,246 +1814,124 @@ 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
|
+
display: flex;
|
|
1819
|
+
flex-wrap: wrap;
|
|
1820
|
+
gap: 0.5rem;
|
|
1821
|
+
width: 100%;
|
|
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
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
border-radius: var(--global-border-radius);
|
|
1836
|
-
transition: all 0.3s ease;
|
|
1837
|
-
}
|
|
1838
|
-
.e-radio.--tabs .e-radio__inner .e-radio-label {
|
|
1839
|
-
width: 100%;
|
|
1840
|
-
display: flex;
|
|
1841
|
-
border-right: 1px solid var(--neutral-neutral-3);
|
|
1842
|
-
border-top-left-radius: var(--global-border-radius);
|
|
1843
|
-
border-bottom-left-radius: var(--global-border-radius);
|
|
1844
|
-
}
|
|
1845
|
-
.e-radio.--tabs .e-radio__inner .e-radio-label:last-child {
|
|
1846
|
-
border-right: none;
|
|
1847
|
-
}
|
|
1848
|
-
.e-radio.--tabs input {
|
|
1849
|
-
position: absolute;
|
|
1850
|
-
left: -9999px;
|
|
1851
|
-
}
|
|
1852
|
-
.e-radio.--tabs input + label {
|
|
1853
|
-
cursor: pointer;
|
|
1854
|
-
font-size: 14px;
|
|
1855
|
-
transition: all 0.3s ease;
|
|
1856
|
-
}
|
|
1857
|
-
.e-radio.--tabs input + label:hover {
|
|
1858
|
-
background: var(--neutral-neutral-4);
|
|
1859
|
-
}
|
|
1860
|
-
.e-radio.--tabs input:checked + label {
|
|
1861
|
-
font-weight: bold;
|
|
1862
|
-
color: var(--others-white);
|
|
1863
|
-
width: 100%;
|
|
1864
|
-
cursor: pointer;
|
|
1865
|
-
transition: all 0.3s ease;
|
|
1866
|
-
background-color: var(--primary-main);
|
|
1867
|
-
text-align: center;
|
|
1868
|
-
padding: 10px;
|
|
1869
|
-
}
|
|
1870
|
-
.e-radio.--tabs input:checked + label:hover {
|
|
1871
|
-
background-color: var(--primary-main);
|
|
1872
|
-
}
|
|
1873
|
-
.e-radio.--tabs input:not(:checked) + label {
|
|
1874
|
-
text-align: center;
|
|
1875
|
-
width: 100%;
|
|
1876
|
-
color: var(--neutral-neutral-1);
|
|
1877
|
-
font-weight: bold;
|
|
1878
|
-
padding: 10px;
|
|
1879
|
-
}
|
|
1880
|
-
.e-radio.--tabs input:hover:not(:checked) + label {
|
|
1881
|
-
width: 100%;
|
|
1882
|
-
}
|
|
1826
|
+
.e-radio.icons .e-radio__inner .radio-item-container .e-radio-label {
|
|
1827
|
+
align-items: center;
|
|
1828
|
+
background: var(--others-white);
|
|
1829
|
+
border: 1px solid var(--neutral-neutral-4);
|
|
1830
|
+
border-radius: 4px;
|
|
1831
|
+
cursor: pointer;
|
|
1832
|
+
display: flex;
|
|
1833
|
+
gap: 16px;
|
|
1834
|
+
padding: 8px 15px;
|
|
1883
1835
|
}
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
display: flex;
|
|
1887
|
-
flex-flow: row nowrap;
|
|
1888
|
-
margin-bottom: 2rem;
|
|
1889
|
-
width: 10rem;
|
|
1890
|
-
margin-top: 1rem;
|
|
1891
|
-
border: 1px solid var(--neutral-neutral-3);
|
|
1892
|
-
background: var(--neutral-neutral-6);
|
|
1893
|
-
border-radius: var(--global-border-radius);
|
|
1894
|
-
transition: all 0.3s ease;
|
|
1895
|
-
}
|
|
1896
|
-
.e-radio.--tabs:not(.--icons) .e-radio__inner .e-radio-label {
|
|
1897
|
-
width: 100%;
|
|
1898
|
-
display: flex;
|
|
1899
|
-
border-right: 1px solid var(--neutral-neutral-3);
|
|
1900
|
-
border-top-left-radius: var(--global-border-radius);
|
|
1901
|
-
border-bottom-left-radius: var(--global-border-radius);
|
|
1902
|
-
}
|
|
1903
|
-
.e-radio.--tabs:not(.--icons) .e-radio__inner .e-radio-label:last-child {
|
|
1904
|
-
border-right: none;
|
|
1905
|
-
}
|
|
1906
|
-
.e-radio.--tabs:not(.--icons) input {
|
|
1907
|
-
position: absolute;
|
|
1908
|
-
left: -9999px;
|
|
1909
|
-
}
|
|
1910
|
-
.e-radio.--tabs:not(.--icons) input + label {
|
|
1911
|
-
cursor: pointer;
|
|
1912
|
-
font-size: 14px;
|
|
1913
|
-
transition: all 0.3s ease;
|
|
1914
|
-
}
|
|
1915
|
-
.e-radio.--tabs:not(.--icons) input + label:hover {
|
|
1916
|
-
background: var(--neutral-neutral-4);
|
|
1917
|
-
}
|
|
1918
|
-
.e-radio.--tabs:not(.--icons) input:checked + label {
|
|
1919
|
-
font-weight: bold;
|
|
1920
|
-
color: var(--others-white);
|
|
1921
|
-
width: 100%;
|
|
1922
|
-
cursor: pointer;
|
|
1923
|
-
transition: all 0.3s ease;
|
|
1924
|
-
background-color: var(--primary-main);
|
|
1925
|
-
text-align: center;
|
|
1926
|
-
padding: 10px;
|
|
1927
|
-
}
|
|
1928
|
-
.e-radio.--tabs:not(.--icons) input:checked + label:hover {
|
|
1929
|
-
background-color: var(--primary-main);
|
|
1930
|
-
}
|
|
1931
|
-
.e-radio.--tabs:not(.--icons) input:not(:checked) + label {
|
|
1932
|
-
text-align: center;
|
|
1933
|
-
width: 100%;
|
|
1934
|
-
color: var(--neutral-neutral-1);
|
|
1935
|
-
font-weight: bold;
|
|
1936
|
-
padding: 10px;
|
|
1937
|
-
}
|
|
1938
|
-
.e-radio.--tabs:not(.--icons) input:hover:not(:checked) + label {
|
|
1939
|
-
width: 100%;
|
|
1940
|
-
}
|
|
1836
|
+
.e-radio.icons .e-radio__inner .radio-item-container .e-radio-label:hover {
|
|
1837
|
+
background: var(--neutral-neutral-5);
|
|
1941
1838
|
}
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
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
|
-
}
|
|
1839
|
+
.e-radio.icons .e-radio__inner .radio-item-container .e-radio-label .radio-icon {
|
|
1840
|
+
height: 24px;
|
|
1841
|
+
padding: 1px;
|
|
1842
|
+
width: 24px;
|
|
1982
1843
|
}
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
}
|
|
1844
|
+
.e-radio.icons .e-radio__inner .radio-item-container .e-radio-label .radio-item-input {
|
|
1845
|
+
position: absolute;
|
|
1846
|
+
visibility: hidden;
|
|
1987
1847
|
}
|
|
1988
|
-
.e-radio
|
|
1989
|
-
|
|
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
|
+
background: var(--neutral-neutral-5);
|
|
1853
|
+
border: 2px solid var(--primary-main-dark-2);
|
|
1854
|
+
}
|
|
1855
|
+
.e-radio.icons .e-radio__inner .radio-item-container.active .e-radio-label .e-radio-label__label {
|
|
1856
|
+
font-weight: bold;
|
|
1990
1857
|
}
|
|
1991
1858
|
@media (min-width: 575px) {
|
|
1992
|
-
.e-radio
|
|
1993
|
-
|
|
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;
|
|
1859
|
+
.e-radio.icons .e-radio__inner .radio-item-container {
|
|
1860
|
+
max-width: 960px;
|
|
2010
1861
|
}
|
|
2011
|
-
.e-radio
|
|
2012
|
-
|
|
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;
|
|
1862
|
+
.e-radio.icons .e-radio__inner .radio-item-container .e-radio-label {
|
|
1863
|
+
padding: 16px 15px;
|
|
2032
1864
|
}
|
|
2033
1865
|
}
|
|
2034
|
-
.e-radio
|
|
1866
|
+
.e-radio.tabs .e-radio__inner {
|
|
1867
|
+
display: flex;
|
|
1868
|
+
}
|
|
1869
|
+
.e-radio.tabs .e-radio__inner .radio-item-container {
|
|
1870
|
+
align-items: center;
|
|
1871
|
+
background: var(--neutral-neutral-6);
|
|
1872
|
+
border: 1px solid var(--neutral-neutral-3);
|
|
1873
|
+
border-left-width: 0;
|
|
1874
|
+
border-right-width: 0;
|
|
1875
|
+
cursor: pointer;
|
|
1876
|
+
display: flex;
|
|
1877
|
+
height: 42px;
|
|
1878
|
+
justify-content: center;
|
|
1879
|
+
width: 80px;
|
|
1880
|
+
}
|
|
1881
|
+
.e-radio.tabs .e-radio__inner .radio-item-container:hover {
|
|
1882
|
+
background: var(--neutral-neutral-4);
|
|
1883
|
+
}
|
|
1884
|
+
.e-radio.tabs .e-radio__inner .radio-item-container.active {
|
|
1885
|
+
background: var(--primary-main);
|
|
1886
|
+
color: var(--others-white);
|
|
1887
|
+
}
|
|
1888
|
+
.e-radio.tabs .e-radio__inner .radio-item-container.active .e-radio-label .e-radio-label__label {
|
|
1889
|
+
font-weight: bold;
|
|
1890
|
+
}
|
|
1891
|
+
.e-radio.tabs .e-radio__inner .radio-item-container .e-radio-label .radio-item-input {
|
|
1892
|
+
position: absolute;
|
|
1893
|
+
visibility: hidden;
|
|
1894
|
+
}
|
|
1895
|
+
.e-radio.tabs .e-radio__inner .radio-item-container .e-radio-label .e-radio-label__label {
|
|
1896
|
+
cursor: pointer;
|
|
1897
|
+
display: inline-block;
|
|
1898
|
+
font-size: 14px;
|
|
1899
|
+
min-width: 80px;
|
|
1900
|
+
padding: 10px;
|
|
1901
|
+
text-align: center;
|
|
1902
|
+
}
|
|
1903
|
+
.e-radio.tabs .e-radio__inner :first-child {
|
|
1904
|
+
border-radius: 4px 0 0 4px;
|
|
1905
|
+
border-left-width: 1px;
|
|
1906
|
+
}
|
|
1907
|
+
.e-radio.tabs .e-radio__inner :last-child {
|
|
1908
|
+
border-radius: 0 4px 4px 0;
|
|
1909
|
+
border-right-width: 1px;
|
|
1910
|
+
}
|
|
1911
|
+
.e-radio.tabs .e-radio__inner :not(:first-child) {
|
|
1912
|
+
border-left-width: 1px;
|
|
1913
|
+
}
|
|
1914
|
+
.e-radio label:first-child:not(.e-radio-label) {
|
|
1915
|
+
font-weight: bold;
|
|
1916
|
+
}
|
|
1917
|
+
.e-radio.--is-invalid.tabs .e-radio__inner,
|
|
2035
1918
|
.e-radio.--is-invalid.--group-invalid .e-radio__inner,
|
|
2036
|
-
.e-radio.--group-invalid
|
|
1919
|
+
.e-radio.--group-invalid.tabs .e-radio__inner,
|
|
2037
1920
|
.e-radio.--group-invalid.--group-invalid .e-radio__inner {
|
|
2038
1921
|
border: 1px solid var(--error-main);
|
|
2039
1922
|
}
|
|
2040
|
-
.e-radio.--is-invalid
|
|
1923
|
+
.e-radio.--is-invalid.tabs .e-radio__inner label label,
|
|
2041
1924
|
.e-radio.--is-invalid.--group-invalid .e-radio__inner label label,
|
|
2042
|
-
.e-radio.--group-invalid
|
|
1925
|
+
.e-radio.--group-invalid.tabs .e-radio__inner label label,
|
|
2043
1926
|
.e-radio.--group-invalid.--group-invalid .e-radio__inner label label {
|
|
2044
1927
|
border-right: 1px solid var(--error-main);
|
|
2045
1928
|
}
|
|
2046
|
-
.e-radio.--is-invalid
|
|
1929
|
+
.e-radio.--is-invalid.tabs .e-radio__inner label:last-child label,
|
|
2047
1930
|
.e-radio.--is-invalid.--group-invalid .e-radio__inner label:last-child label,
|
|
2048
|
-
.e-radio.--group-invalid
|
|
1931
|
+
.e-radio.--group-invalid.tabs .e-radio__inner label:last-child label,
|
|
2049
1932
|
.e-radio.--group-invalid.--group-invalid .e-radio__inner label:last-child label {
|
|
2050
1933
|
border-right: none;
|
|
2051
1934
|
}
|
|
2052
|
-
.e-radio.radio--small.--tabs input + label {
|
|
2053
|
-
font-size: 0.875rem;
|
|
2054
|
-
padding: 0.75rem;
|
|
2055
|
-
}
|
|
2056
|
-
.e-radio.radio--small.--tabs .e-radio__inner {
|
|
2057
|
-
margin-top: 0;
|
|
2058
|
-
margin-bottom: 0;
|
|
2059
|
-
}
|
|
2060
1935
|
.tippy-box {
|
|
2061
1936
|
background-color: var(--others-white);
|
|
2062
1937
|
border-radius: var(--global-border-radius);
|
|
@@ -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
|
|
@@ -8,27 +8,23 @@
|
|
|
8
8
|
gap: 1rem;
|
|
9
9
|
.radio-item-container {
|
|
10
10
|
.e-radio-label {
|
|
11
|
-
display: flex;
|
|
12
11
|
align-items: center;
|
|
12
|
+
display: flex;
|
|
13
13
|
gap: 0.5rem;
|
|
14
14
|
|
|
15
|
-
.radio-item-input {
|
|
16
|
-
visibility: hidden;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
15
|
input[type='radio']:after {
|
|
20
|
-
width: 16px;
|
|
21
|
-
height: 16px;
|
|
22
|
-
border-radius: 16px;
|
|
23
|
-
top: -4px;
|
|
24
|
-
left: -2px;
|
|
25
|
-
position: relative;
|
|
26
16
|
background-color: var(--others-white);
|
|
17
|
+
border: 1px solid var(--neutral-neutral-1);
|
|
18
|
+
border-radius: 16px;
|
|
27
19
|
content: '';
|
|
20
|
+
cursor: pointer;
|
|
28
21
|
display: inline-block;
|
|
22
|
+
height: 16px;
|
|
23
|
+
left: -2px;
|
|
24
|
+
position: relative;
|
|
25
|
+
top: -4px;
|
|
29
26
|
visibility: visible;
|
|
30
|
-
|
|
31
|
-
cursor: pointer;
|
|
27
|
+
width: 16px;
|
|
32
28
|
}
|
|
33
29
|
|
|
34
30
|
.e-radio-label__label {
|
|
@@ -65,67 +61,57 @@
|
|
|
65
61
|
@mixin tabsStyles {
|
|
66
62
|
.e-radio__inner {
|
|
67
63
|
display: flex;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
border-radius: var(--global-border-radius);
|
|
75
|
-
transition: all 0.3s ease;
|
|
76
|
-
|
|
77
|
-
.e-radio-label {
|
|
78
|
-
width: 100%;
|
|
79
|
-
display: flex;
|
|
80
|
-
border-right: 1px solid var(--neutral-neutral-3);
|
|
81
|
-
border-top-left-radius: var(--global-border-radius);
|
|
82
|
-
border-bottom-left-radius: var(--global-border-radius);
|
|
83
|
-
|
|
84
|
-
&:last-child {
|
|
85
|
-
border-right: none;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
input {
|
|
91
|
-
position: absolute;
|
|
92
|
-
left: -9999px;
|
|
93
|
-
|
|
94
|
-
+ label {
|
|
64
|
+
.radio-item-container {
|
|
65
|
+
align-items: center;
|
|
66
|
+
background: var(--neutral-neutral-6);
|
|
67
|
+
border: 1px solid var(--neutral-neutral-3);
|
|
68
|
+
border-left-width: 0;
|
|
69
|
+
border-right-width: 0;
|
|
95
70
|
cursor: pointer;
|
|
96
|
-
|
|
97
|
-
|
|
71
|
+
display: flex;
|
|
72
|
+
height: 42px;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
width: 80px;
|
|
98
75
|
|
|
99
76
|
&:hover {
|
|
100
77
|
background: var(--neutral-neutral-4);
|
|
101
78
|
}
|
|
102
|
-
}
|
|
103
79
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
80
|
+
&.active {
|
|
81
|
+
background: var(--primary-main);
|
|
82
|
+
color: var(--others-white);
|
|
83
|
+
.e-radio-label {
|
|
84
|
+
.e-radio-label__label {
|
|
85
|
+
font-weight: bold;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
113
89
|
|
|
114
|
-
|
|
115
|
-
|
|
90
|
+
.e-radio-label {
|
|
91
|
+
.radio-item-input {
|
|
92
|
+
position: absolute;
|
|
93
|
+
visibility: hidden;
|
|
94
|
+
}
|
|
95
|
+
.e-radio-label__label {
|
|
96
|
+
cursor: pointer;
|
|
97
|
+
display: inline-block;
|
|
98
|
+
font-size: 14px;
|
|
99
|
+
min-width: 80px;
|
|
100
|
+
padding: 10px;
|
|
101
|
+
text-align: center;
|
|
102
|
+
}
|
|
116
103
|
}
|
|
117
104
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
width: 100%;
|
|
122
|
-
color: var(--neutral-neutral-1);
|
|
123
|
-
font-weight: bold;
|
|
124
|
-
padding: 10px;
|
|
105
|
+
:first-child {
|
|
106
|
+
border-radius: 4px 0 0 4px;
|
|
107
|
+
border-left-width: 1px;
|
|
125
108
|
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
width:
|
|
109
|
+
:last-child {
|
|
110
|
+
border-radius: 0 4px 4px 0;
|
|
111
|
+
border-right-width: 1px;
|
|
112
|
+
}
|
|
113
|
+
:not(:first-child) {
|
|
114
|
+
border-left-width: 1px;
|
|
129
115
|
}
|
|
130
116
|
}
|
|
131
117
|
}
|
|
@@ -133,101 +119,90 @@
|
|
|
133
119
|
@mixin iconStyles {
|
|
134
120
|
.e-radio__inner {
|
|
135
121
|
display: flex;
|
|
136
|
-
flex-
|
|
137
|
-
|
|
138
|
-
|
|
122
|
+
flex-wrap: wrap;
|
|
123
|
+
gap: 0.5rem;
|
|
124
|
+
width: 100%;
|
|
125
|
+
.radio-item-container {
|
|
126
|
+
width: 100%;
|
|
127
|
+
.e-radio-label {
|
|
128
|
+
align-items: center;
|
|
129
|
+
background: var(--others-white);
|
|
130
|
+
border: 1px solid var(--neutral-neutral-4);
|
|
131
|
+
border-radius: 4px;
|
|
132
|
+
cursor: pointer;
|
|
133
|
+
display: flex;
|
|
134
|
+
gap: 16px;
|
|
135
|
+
padding: 8px 15px;
|
|
139
136
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
border: 1px solid black;
|
|
144
|
-
min-width: 80px;
|
|
145
|
-
min-height: 3.5rem;
|
|
146
|
-
margin-bottom: 0.5rem;
|
|
147
|
-
border-radius: var(--global-border-radius);
|
|
148
|
-
border-color: var(--neutral-neutral-4);
|
|
149
|
-
cursor: pointer;
|
|
150
|
-
}
|
|
137
|
+
&:hover {
|
|
138
|
+
background: var(--neutral-neutral-5);
|
|
139
|
+
}
|
|
151
140
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
141
|
+
.radio-icon {
|
|
142
|
+
height: 24px;
|
|
143
|
+
padding: 1px;
|
|
144
|
+
width: 24px;
|
|
145
|
+
}
|
|
155
146
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
147
|
+
.radio-item-input {
|
|
148
|
+
position: absolute;
|
|
149
|
+
visibility: hidden;
|
|
150
|
+
}
|
|
160
151
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
152
|
+
.e-radio-label__label {
|
|
153
|
+
font-size: 14px;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
165
156
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
157
|
+
&.active {
|
|
158
|
+
.e-radio-label {
|
|
159
|
+
background: var(--neutral-neutral-5);
|
|
160
|
+
border: 2px solid var(--primary-main-dark-2);
|
|
170
161
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
162
|
+
.e-radio-label__label {
|
|
163
|
+
font-weight: bold;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
177
168
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
169
|
+
@include portrait-tablets {
|
|
170
|
+
.radio-item-container {
|
|
171
|
+
max-width: $md;
|
|
172
|
+
.e-radio-label {
|
|
173
|
+
padding: 16px 15px;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
181
177
|
}
|
|
182
178
|
}
|
|
183
179
|
|
|
184
180
|
.e-radio {
|
|
185
181
|
.label {
|
|
186
182
|
color: var(--neutral-neutral-1);
|
|
187
|
-
margin-bottom: 1rem;
|
|
188
183
|
display: block;
|
|
184
|
+
margin-bottom: 1rem;
|
|
189
185
|
}
|
|
190
186
|
|
|
191
187
|
&.default {
|
|
192
188
|
@include defaultStyles;
|
|
193
189
|
}
|
|
194
190
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
label:first-child:not(.e-radio-label) {
|
|
198
|
-
font-weight: bold;
|
|
191
|
+
&.icons {
|
|
192
|
+
@include iconStyles;
|
|
199
193
|
}
|
|
200
194
|
|
|
201
|
-
|
|
202
|
-
|
|
195
|
+
&.tabs {
|
|
196
|
+
@include tabsStyles;
|
|
203
197
|
}
|
|
204
198
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
@include tabsStyles;
|
|
208
|
-
}
|
|
209
|
-
&:not(.--icons) {
|
|
210
|
-
@media (min-width: #{$xs}) {
|
|
211
|
-
@include tabsStyles;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
&.--icons {
|
|
217
|
-
@include mobile {
|
|
218
|
-
@include defaultStyles();
|
|
219
|
-
}
|
|
220
|
-
.radio-icon {
|
|
221
|
-
display: none;
|
|
222
|
-
}
|
|
223
|
-
@include portrait-tablets {
|
|
224
|
-
@include iconStyles;
|
|
225
|
-
}
|
|
199
|
+
label:first-child:not(.e-radio-label) {
|
|
200
|
+
font-weight: bold;
|
|
226
201
|
}
|
|
227
202
|
|
|
228
203
|
&.--is-invalid,
|
|
229
204
|
&.--group-invalid {
|
|
230
|
-
|
|
205
|
+
&.tabs,
|
|
231
206
|
&.--group-invalid {
|
|
232
207
|
.e-radio__inner {
|
|
233
208
|
border: 1px solid var(--error-main);
|
|
@@ -247,15 +222,3 @@
|
|
|
247
222
|
}
|
|
248
223
|
}
|
|
249
224
|
}
|
|
250
|
-
|
|
251
|
-
.e-radio.radio--small.--tabs {
|
|
252
|
-
input + label {
|
|
253
|
-
font-size: 0.875rem;
|
|
254
|
-
padding: 0.75rem;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
.e-radio__inner {
|
|
258
|
-
margin-top: 0;
|
|
259
|
-
margin-bottom: 0;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
export var RadioFormat;
|
|
2
2
|
(function (RadioFormat) {
|
|
3
3
|
RadioFormat["Default"] = "default";
|
|
4
|
-
RadioFormat["Tabs"] = "
|
|
5
|
-
RadioFormat["Icons"] = "
|
|
4
|
+
RadioFormat["Tabs"] = "tabs";
|
|
5
|
+
RadioFormat["Icons"] = "icons";
|
|
6
6
|
})(RadioFormat || (RadioFormat = {}));
|
|
@@ -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.42.
|
|
3
|
+
"version": "5.42.9",
|
|
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",
|