@npm_leadtech/legal-lib-components 5.42.4 → 5.42.6
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 -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
|
@@ -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.6",
|
|
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",
|