@npm_leadtech/legal-lib-components 5.42.3 → 5.42.4
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/pages/EsignatureLandingPage/EsignatureLandingPage.js +2 -2
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPage.tsx +6 -6
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPageProps.types.d.ts +2 -2
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPageProps.types.ts +2 -2
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { FaqSection, JumbotronRatafiaSection, StepsRatafiaSection } from '../../sections';
|
|
3
|
-
export const EsignatureLandingPage = ({
|
|
4
|
-
return (_jsxs(_Fragment, { children: [_jsx(JumbotronRatafiaSection, { content:
|
|
3
|
+
export const EsignatureLandingPage = ({ jumbotronSectionProps, stepsSectionProps, trustPilotBox, faqGroupProps }) => {
|
|
4
|
+
return (_jsxs(_Fragment, { children: [_jsx(JumbotronRatafiaSection, { content: jumbotronSectionProps.content, alternativeStyles: jumbotronSectionProps.alternativeStyles, children: jumbotronSectionProps.children }), _jsx(StepsRatafiaSection, { ...stepsSectionProps }), trustPilotBox ?? trustPilotBox, _jsx(FaqSection, { groups: faqGroupProps, givenClass: 'faq-ratafia-section' })] }));
|
|
5
5
|
};
|
|
@@ -4,20 +4,20 @@ import { FaqSection, JumbotronRatafiaSection, StepsRatafiaSection } from '../../
|
|
|
4
4
|
import { type EsignatureLandingPageProps } from './EsignatureLandingPageProps.types'
|
|
5
5
|
|
|
6
6
|
export const EsignatureLandingPage: React.FC<EsignatureLandingPageProps> = ({
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
jumbotronSectionProps,
|
|
8
|
+
stepsSectionProps,
|
|
9
9
|
trustPilotBox,
|
|
10
10
|
faqGroupProps
|
|
11
11
|
}) => {
|
|
12
12
|
return (
|
|
13
13
|
<>
|
|
14
14
|
<JumbotronRatafiaSection
|
|
15
|
-
content={
|
|
16
|
-
alternativeStyles={
|
|
15
|
+
content={jumbotronSectionProps.content}
|
|
16
|
+
alternativeStyles={jumbotronSectionProps.alternativeStyles}
|
|
17
17
|
>
|
|
18
|
-
{
|
|
18
|
+
{jumbotronSectionProps.children}
|
|
19
19
|
</JumbotronRatafiaSection>
|
|
20
|
-
<StepsRatafiaSection {...
|
|
20
|
+
<StepsRatafiaSection {...stepsSectionProps} />
|
|
21
21
|
{trustPilotBox ?? trustPilotBox}
|
|
22
22
|
<FaqSection groups={faqGroupProps} givenClass='faq-ratafia-section' />
|
|
23
23
|
</>
|
package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPageProps.types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JumbotronRatafiaSectionProps, StepsRatafiaSectionProps } from '../../sections';
|
|
2
2
|
import type { FaqGroupProps } from '../../organisms';
|
|
3
3
|
export interface EsignatureLandingPageProps {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
jumbotronSectionProps: JumbotronRatafiaSectionProps;
|
|
5
|
+
stepsSectionProps: StepsRatafiaSectionProps;
|
|
6
6
|
faqGroupProps: FaqGroupProps[];
|
|
7
7
|
trustPilotBox?: React.ReactNode;
|
|
8
8
|
}
|
|
@@ -2,8 +2,8 @@ import { JumbotronRatafiaSectionProps, StepsRatafiaSectionProps } from '../../se
|
|
|
2
2
|
import type { FaqGroupProps } from '../../organisms'
|
|
3
3
|
|
|
4
4
|
export interface EsignatureLandingPageProps {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
jumbotronSectionProps: JumbotronRatafiaSectionProps
|
|
6
|
+
stepsSectionProps: StepsRatafiaSectionProps
|
|
7
7
|
faqGroupProps: FaqGroupProps[]
|
|
8
8
|
trustPilotBox?: React.ReactNode
|
|
9
9
|
}
|
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.4",
|
|
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": "^19.0.12",
|
|
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",
|