@npm_leadtech/legal-lib-components 5.39.12 → 5.40.0
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 +203 -95
- package/dist/images/svg/back-element-sign-01.svg +9 -0
- package/dist/images/svg/back-element-sign-02.svg +9 -0
- package/dist/images/svg/back-element-sign-03.svg +9 -0
- package/dist/src/components/atoms/Radio/Radio.d.ts +2 -2
- package/dist/src/components/atoms/Radio/Radio.js +15 -16
- package/dist/src/components/atoms/Radio/Radio.scss +183 -105
- package/dist/src/components/atoms/Radio/Radio.tsx +34 -38
- package/dist/src/components/atoms/Radio/RadioProps.types.d.ts +3 -9
- package/dist/src/components/atoms/Radio/RadioProps.types.js +1 -6
- package/dist/src/components/atoms/Radio/RadioProps.types.ts +3 -10
- package/dist/src/components/atoms/Radio/index.d.ts +1 -1
- package/dist/src/components/atoms/Radio/index.js +0 -1
- package/dist/src/components/atoms/Radio/index.ts +1 -1
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.js +7 -2
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.js +15 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.ts +15 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.tsx +11 -4
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItemProps.types.d.ts +1 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItemProps.types.ts +1 -0
- package/dist/src/components/molecules/Feedback/Feedback.js +1 -1
- package/dist/src/components/molecules/Feedback/Feedback.tsx +2 -2
- package/dist/src/components/molecules/Feedback/FeedbackProps.types.d.ts +2 -2
- package/dist/src/components/molecules/Feedback/FeedbackProps.types.ts +2 -2
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +2 -2
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +4 -6
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.d.ts +1 -3
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.ts +1 -3
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.js +2 -2
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.tsx +2 -2
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaListProps.types.d.ts +1 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaListProps.types.ts +1 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.d.ts +4 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.js +7 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.styled.js +28 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.styled.ts +29 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.tsx +19 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContentProps.types.d.ts +7 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContentProps.types.js +1 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContentProps.types.ts +8 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/index.d.ts +2 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/index.js +1 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/index.ts +2 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.js +2 -2
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.tsx +2 -2
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContentProps.types.d.ts +2 -1
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContentProps.types.ts +2 -1
- package/dist/src/components/organisms/index.d.ts +1 -0
- package/dist/src/components/organisms/index.js +1 -0
- package/dist/src/components/organisms/index.ts +1 -0
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPage.d.ts +3 -0
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPage.js +5 -0
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPage.tsx +15 -0
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPageProps.types.d.ts +7 -0
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPageProps.types.js +1 -0
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPageProps.types.ts +8 -0
- package/dist/src/components/pages/EsignatureLandingPage/index.d.ts +2 -0
- package/dist/src/components/pages/EsignatureLandingPage/index.js +2 -0
- package/dist/src/components/pages/EsignatureLandingPage/index.ts +2 -0
- package/dist/src/components/pages/index.d.ts +1 -0
- package/dist/src/components/pages/index.js +1 -0
- package/dist/src/components/pages/index.ts +1 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.js +20 -2
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js +19 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts +19 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +43 -6
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSectionProps.types.d.ts +3 -2
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSectionProps.types.ts +3 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -1
|
@@ -2,11 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Button, IconSvgURLWithThemeColor, RichTextStrapi } from '../../atoms';
|
|
3
3
|
import { RatafiaSubscriptionCardStyled } from './RatafiaSubscriptionCard.styled';
|
|
4
4
|
import { stringSlugify } from '../../../utils/stringSlugify';
|
|
5
|
-
const RatafiaSubscriptionCard = ({ cardStyle
|
|
5
|
+
const RatafiaSubscriptionCard = ({ cardStyle, iconTitle, title, priceText, mainFeatures, AIFeatures, buttonText, linkText }) => {
|
|
6
6
|
if (!title)
|
|
7
7
|
return null;
|
|
8
8
|
const buttonStyle = cardStyle === 'Secondary' ? 'primary3' : 'primary';
|
|
9
9
|
const renderFeatures = (features, className) => features.map((feature) => (_jsxs("div", { className: `ratafia-card__feature ${className ?? ''}`, children: [feature.image?.url && _jsx(IconSvgURLWithThemeColor, { url: feature.image.url, height: '16', width: '16' }), _jsx(RichTextStrapi, { html: feature.title })] }, feature.title)));
|
|
10
|
-
return (_jsxs(RatafiaSubscriptionCardStyled, { className: `ratafia-card ${cardStyle ? stringSlugify(cardStyle) : 'primary'}`, children: [_jsxs("div", { className: 'ratafia-card__header', children: [title && (_jsxs("div", { className: 'ratafia-card__title', children: [iconTitle?.url && _jsx(IconSvgURLWithThemeColor, { url: iconTitle.url, height: '26', width: '26' }), _jsx(RichTextStrapi, { html: title })] })), priceText && _jsx("div", { className: 'ratafia-card__price-text', children: priceText })] }), _jsx("hr", {}), _jsxs("div", { className: 'ratafia-card__body', children: [mainFeatures && renderFeatures(mainFeatures, 'main-feature'), AIFeatures && renderFeatures(AIFeatures, 'ratafia-feature')] }), buttonText && (_jsx("div", { className: 'ratafia-card__footer', children: _jsx(Button, { dataQa:
|
|
10
|
+
return (_jsxs(RatafiaSubscriptionCardStyled, { className: `ratafia-card ${cardStyle ? stringSlugify(cardStyle) : 'primary'}`, children: [_jsxs("div", { className: 'ratafia-card__header', children: [title && (_jsxs("div", { className: 'ratafia-card__title', children: [iconTitle?.url && _jsx(IconSvgURLWithThemeColor, { url: iconTitle.url, height: '26', width: '26' }), _jsx(RichTextStrapi, { html: title })] })), priceText && _jsx("div", { className: 'ratafia-card__price-text', children: priceText })] }), _jsx("hr", {}), _jsxs("div", { className: 'ratafia-card__body', children: [mainFeatures && renderFeatures(mainFeatures, 'main-feature'), AIFeatures && renderFeatures(AIFeatures, 'ratafia-feature')] }), buttonText && (_jsx("div", { className: 'ratafia-card__footer', children: _jsx(Button, { dataQa: 'ratafia-card-button', givenClass: 'ratafia-card__button', color: buttonStyle, label: buttonText, link: linkText ?? '#' }) }))] }));
|
|
11
11
|
};
|
|
12
12
|
export default RatafiaSubscriptionCard;
|
|
@@ -6,15 +6,14 @@ import { RatafiaSubscriptionCardStyled } from './RatafiaSubscriptionCard.styled'
|
|
|
6
6
|
import { stringSlugify } from '../../../utils/stringSlugify'
|
|
7
7
|
|
|
8
8
|
const RatafiaSubscriptionCard: FC<RatafiaSubscriptionCardProps> = ({
|
|
9
|
-
cardStyle
|
|
9
|
+
cardStyle,
|
|
10
10
|
iconTitle,
|
|
11
11
|
title,
|
|
12
12
|
priceText,
|
|
13
13
|
mainFeatures,
|
|
14
14
|
AIFeatures,
|
|
15
15
|
buttonText,
|
|
16
|
-
|
|
17
|
-
handleClick
|
|
16
|
+
linkText
|
|
18
17
|
}) => {
|
|
19
18
|
if (!title) return null
|
|
20
19
|
const buttonStyle = cardStyle === 'Secondary' ? 'primary3' : 'primary'
|
|
@@ -45,12 +44,11 @@ const RatafiaSubscriptionCard: FC<RatafiaSubscriptionCardProps> = ({
|
|
|
45
44
|
{buttonText && (
|
|
46
45
|
<div className='ratafia-card__footer'>
|
|
47
46
|
<Button
|
|
48
|
-
dataQa=
|
|
47
|
+
dataQa='ratafia-card-button'
|
|
49
48
|
givenClass='ratafia-card__button'
|
|
50
49
|
color={buttonStyle}
|
|
51
50
|
label={buttonText}
|
|
52
|
-
|
|
53
|
-
onClick={handleClick}
|
|
51
|
+
link={linkText ?? '#'}
|
|
54
52
|
/>
|
|
55
53
|
</div>
|
|
56
54
|
)}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export interface RatafiaSubscriptionCardProps {
|
|
2
|
-
subscriptionTypeName?: string;
|
|
3
2
|
cardStyle?: CardStyleType;
|
|
4
3
|
iconTitle?: IconTitleProps;
|
|
5
4
|
title?: string;
|
|
@@ -7,8 +6,7 @@ export interface RatafiaSubscriptionCardProps {
|
|
|
7
6
|
mainFeatures?: BenefitProps[];
|
|
8
7
|
AIFeatures?: BenefitProps[];
|
|
9
8
|
buttonText?: string;
|
|
10
|
-
|
|
11
|
-
handleClick?: () => void;
|
|
9
|
+
linkText?: string;
|
|
12
10
|
}
|
|
13
11
|
interface IconTitleProps {
|
|
14
12
|
name?: string;
|
package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export interface RatafiaSubscriptionCardProps {
|
|
2
|
-
subscriptionTypeName?: string
|
|
3
2
|
cardStyle?: CardStyleType
|
|
4
3
|
iconTitle?: IconTitleProps
|
|
5
4
|
title?: string
|
|
@@ -7,8 +6,7 @@ export interface RatafiaSubscriptionCardProps {
|
|
|
7
6
|
mainFeatures?: BenefitProps[]
|
|
8
7
|
AIFeatures?: BenefitProps[]
|
|
9
8
|
buttonText?: string
|
|
10
|
-
|
|
11
|
-
handleClick?: () => void
|
|
9
|
+
linkText?: string
|
|
12
10
|
}
|
|
13
11
|
|
|
14
12
|
interface IconTitleProps {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { TagRatafiaItem } from '../../atoms';
|
|
3
3
|
import { TagsRatafiaListStyled } from './TagsRatafiaList.styled';
|
|
4
|
-
const TagsRatafiaList = ({ tags = [] }) => {
|
|
4
|
+
const TagsRatafiaList = ({ tags = [], type }) => {
|
|
5
5
|
if (tags.length === 0)
|
|
6
6
|
return null;
|
|
7
|
-
return (_jsx(TagsRatafiaListStyled, { className: 'tag-ratafia-list', children: tags.map((tag) => (_jsx(TagRatafiaItem, { ...tag }, tag.id))) }));
|
|
7
|
+
return (_jsx(TagsRatafiaListStyled, { className: 'tag-ratafia-list', children: tags.map((tag) => (_jsx(TagRatafiaItem, { ...tag, type: type }, tag.id))) }));
|
|
8
8
|
};
|
|
9
9
|
export default TagsRatafiaList;
|
|
@@ -4,13 +4,13 @@ import { TagRatafiaItem } from '../../atoms'
|
|
|
4
4
|
import { type TagsRatafiaListProps } from './TagsRatafiaListProps.types'
|
|
5
5
|
import { TagsRatafiaListStyled } from './TagsRatafiaList.styled'
|
|
6
6
|
|
|
7
|
-
const TagsRatafiaList: FC<TagsRatafiaListProps> = ({ tags = [] }) => {
|
|
7
|
+
const TagsRatafiaList: FC<TagsRatafiaListProps> = ({ tags = [], type }) => {
|
|
8
8
|
if (tags.length === 0) return null
|
|
9
9
|
|
|
10
10
|
return (
|
|
11
11
|
<TagsRatafiaListStyled className='tag-ratafia-list'>
|
|
12
12
|
{tags.map((tag) => (
|
|
13
|
-
<TagRatafiaItem key={tag.id} {...tag} />
|
|
13
|
+
<TagRatafiaItem key={tag.id} {...tag} type={type} />
|
|
14
14
|
))}
|
|
15
15
|
</TagsRatafiaListStyled>
|
|
16
16
|
)
|
package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { JumbotronEsignatureStyled } from './JumbotronEsignatureContent.styled';
|
|
3
|
+
import { TagsRatafiaList } from '../../molecules';
|
|
4
|
+
const JumbotronEsignatureContent = ({ title, body, tags, type }) => {
|
|
5
|
+
return (_jsxs(JumbotronEsignatureStyled, { children: [_jsx("div", { className: 'jumbotron-esignature-content__title', children: title }), _jsx("span", { className: 'sans-serif --medium jumbotron-esignature-content__description', itemProp: 'text', children: body }), _jsx(TagsRatafiaList, { tags: tags, type: type })] }));
|
|
6
|
+
};
|
|
7
|
+
export default JumbotronEsignatureContent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const JumbotronEsignatureStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const JumbotronEsignatureStyled = styled.div `
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
align-items: flex-start;
|
|
6
|
+
gap: 1rem;
|
|
7
|
+
|
|
8
|
+
.jumbotron-esignature-content__title {
|
|
9
|
+
&__text {
|
|
10
|
+
line-height: 2.25rem;
|
|
11
|
+
font-size: 2rem;
|
|
12
|
+
font-family: 'Inter', sans-serif;
|
|
13
|
+
color: var(--primary-main-dark-2);
|
|
14
|
+
font-weight: 700;
|
|
15
|
+
letter-spacing: 0.3rem;
|
|
16
|
+
|
|
17
|
+
&__icon {
|
|
18
|
+
padding: 0 0.6rem;
|
|
19
|
+
border-radius: 4px;
|
|
20
|
+
color: var(--primary-main-dark-2);
|
|
21
|
+
background: var(--secondary-main-light-2);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.jumbotron-esignature-content__description {
|
|
26
|
+
color: var(--neutral-neutral-1);
|
|
27
|
+
}
|
|
28
|
+
`;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const JumbotronEsignatureStyled = styled.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
align-items: flex-start;
|
|
7
|
+
gap: 1rem;
|
|
8
|
+
|
|
9
|
+
.jumbotron-esignature-content__title {
|
|
10
|
+
&__text {
|
|
11
|
+
line-height: 2.25rem;
|
|
12
|
+
font-size: 2rem;
|
|
13
|
+
font-family: 'Inter', sans-serif;
|
|
14
|
+
color: var(--primary-main-dark-2);
|
|
15
|
+
font-weight: 700;
|
|
16
|
+
letter-spacing: 0.3rem;
|
|
17
|
+
|
|
18
|
+
&__icon {
|
|
19
|
+
padding: 0 0.6rem;
|
|
20
|
+
border-radius: 4px;
|
|
21
|
+
color: var(--primary-main-dark-2);
|
|
22
|
+
background: var(--secondary-main-light-2);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
.jumbotron-esignature-content__description {
|
|
27
|
+
color: var(--neutral-neutral-1);
|
|
28
|
+
}
|
|
29
|
+
`
|
package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.tsx
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
import { type JumbotronEsignatureContentProps } from './JumbotronEsignatureContentProps.types'
|
|
4
|
+
import { JumbotronEsignatureStyled } from './JumbotronEsignatureContent.styled'
|
|
5
|
+
import { TagsRatafiaList } from '../../molecules'
|
|
6
|
+
|
|
7
|
+
const JumbotronEsignatureContent: FC<JumbotronEsignatureContentProps> = ({ title, body, tags, type }) => {
|
|
8
|
+
return (
|
|
9
|
+
<JumbotronEsignatureStyled>
|
|
10
|
+
<div className='jumbotron-esignature-content__title'>{title}</div>
|
|
11
|
+
<span className='sans-serif --medium jumbotron-esignature-content__description' itemProp='text'>
|
|
12
|
+
{body}
|
|
13
|
+
</span>
|
|
14
|
+
<TagsRatafiaList tags={tags} type={type} />
|
|
15
|
+
</JumbotronEsignatureStyled>
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export default JumbotronEsignatureContent
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as JumbotronEsignatureContent } from './JumbotronEsignatureContent';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { JumbotronRatafiaStyled } from './JumbotronRatafiaContent.styled';
|
|
3
3
|
import { TagsRatafiaList } from '../../molecules';
|
|
4
|
-
const JumbotronRatafiaContent = ({ title, body, tags }) => {
|
|
5
|
-
return (_jsxs(JumbotronRatafiaStyled, { children: [_jsx("div", { className: 'jumbotron-ratafia-content__title', children: title }), _jsx("span", { className: 'sans-serif --medium jumbotron-ratafia-content__description', itemProp: 'text', children: body }), _jsx(TagsRatafiaList, { tags: tags })] }));
|
|
4
|
+
const JumbotronRatafiaContent = ({ title, body, tags, type }) => {
|
|
5
|
+
return (_jsxs(JumbotronRatafiaStyled, { children: [_jsx("div", { className: 'jumbotron-ratafia-content__title', children: title }), _jsx("span", { className: 'sans-serif --medium jumbotron-ratafia-content__description', itemProp: 'text', children: body }), _jsx(TagsRatafiaList, { tags: tags, type: type })] }));
|
|
6
6
|
};
|
|
7
7
|
export default JumbotronRatafiaContent;
|
|
@@ -4,14 +4,14 @@ import { type JumbotronRatafiaContentProps } from './JumbotronRatafiaContentProp
|
|
|
4
4
|
import { JumbotronRatafiaStyled } from './JumbotronRatafiaContent.styled'
|
|
5
5
|
import { TagsRatafiaList } from '../../molecules'
|
|
6
6
|
|
|
7
|
-
const JumbotronRatafiaContent: FC<JumbotronRatafiaContentProps> = ({ title, body, tags }) => {
|
|
7
|
+
const JumbotronRatafiaContent: FC<JumbotronRatafiaContentProps> = ({ title, body, tags, type }) => {
|
|
8
8
|
return (
|
|
9
9
|
<JumbotronRatafiaStyled>
|
|
10
10
|
<div className='jumbotron-ratafia-content__title'>{title}</div>
|
|
11
11
|
<span className='sans-serif --medium jumbotron-ratafia-content__description' itemProp='text'>
|
|
12
12
|
{body}
|
|
13
13
|
</span>
|
|
14
|
-
<TagsRatafiaList tags={tags} />
|
|
14
|
+
<TagsRatafiaList tags={tags} type={type} />
|
|
15
15
|
</JumbotronRatafiaStyled>
|
|
16
16
|
)
|
|
17
17
|
}
|
|
@@ -11,6 +11,7 @@ export * from './FaqGroup';
|
|
|
11
11
|
export * from './FeaturesRatafiaContent';
|
|
12
12
|
export * from './GuidelinesContent';
|
|
13
13
|
export * from './JumbotronRatafiaContent';
|
|
14
|
+
export * from './JumbotronEsignatureContent';
|
|
14
15
|
export * from './KeyFactsLoadingContentRatafia';
|
|
15
16
|
export * from './KeyFactsResultContentRatafia';
|
|
16
17
|
export * from './LanguageSelector';
|
|
@@ -11,6 +11,7 @@ export * from './FaqGroup';
|
|
|
11
11
|
export * from './FeaturesRatafiaContent';
|
|
12
12
|
export * from './GuidelinesContent';
|
|
13
13
|
export * from './JumbotronRatafiaContent';
|
|
14
|
+
export * from './JumbotronEsignatureContent';
|
|
14
15
|
export * from './KeyFactsLoadingContentRatafia';
|
|
15
16
|
export * from './KeyFactsResultContentRatafia';
|
|
16
17
|
export * from './LanguageSelector';
|
|
@@ -11,6 +11,7 @@ export * from './FaqGroup'
|
|
|
11
11
|
export * from './FeaturesRatafiaContent'
|
|
12
12
|
export * from './GuidelinesContent'
|
|
13
13
|
export * from './JumbotronRatafiaContent'
|
|
14
|
+
export * from './JumbotronEsignatureContent'
|
|
14
15
|
export * from './KeyFactsLoadingContentRatafia'
|
|
15
16
|
export * from './KeyFactsResultContentRatafia'
|
|
16
17
|
export * from './LanguageSelector'
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { JumbotronRatafiaSection } from '../../sections';
|
|
3
|
+
export const EsignatureLandingPage = ({ jumbotronEsignatureSectionProps }) => {
|
|
4
|
+
return (_jsx(JumbotronRatafiaSection, { content: jumbotronEsignatureSectionProps.content, alternativeStyles: jumbotronEsignatureSectionProps.alternativeStyles, children: jumbotronEsignatureSectionProps.children }));
|
|
5
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import { type EsignatureLandingPageProps } from './EsignatureLandingPageProps.types'
|
|
4
|
+
import { JumbotronRatafiaSection } from '../../sections'
|
|
5
|
+
|
|
6
|
+
export const EsignatureLandingPage: React.FC<EsignatureLandingPageProps> = ({ jumbotronEsignatureSectionProps }) => {
|
|
7
|
+
return (
|
|
8
|
+
<JumbotronRatafiaSection
|
|
9
|
+
content={jumbotronEsignatureSectionProps.content}
|
|
10
|
+
alternativeStyles={jumbotronEsignatureSectionProps.alternativeStyles}
|
|
11
|
+
>
|
|
12
|
+
{jumbotronEsignatureSectionProps.children}
|
|
13
|
+
</JumbotronRatafiaSection>
|
|
14
|
+
)
|
|
15
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { JumbotronEsignatureContentProps } from '../../organisms';
|
|
2
|
+
import { JumbotronRatafiaSectionProps } from '../../sections';
|
|
3
|
+
export interface EsignatureLandingPageProps {
|
|
4
|
+
jumbotronEsignatureSectionProps: Omit<JumbotronRatafiaSectionProps, 'content'> & {
|
|
5
|
+
content: JumbotronEsignatureContentProps;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { JumbotronEsignatureContentProps } from '../../organisms'
|
|
2
|
+
import { JumbotronRatafiaSectionProps } from '../../sections'
|
|
3
|
+
|
|
4
|
+
export interface EsignatureLandingPageProps {
|
|
5
|
+
jumbotronEsignatureSectionProps: Omit<JumbotronRatafiaSectionProps, 'content'> & {
|
|
6
|
+
content: JumbotronEsignatureContentProps
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -1,7 +1,25 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { JumbotronEsignatureContent } from '../../organisms/JumbotronEsignatureContent';
|
|
2
3
|
import { JumbotronRatafiaContent } from '../../organisms/JumbotronRatafiaContent';
|
|
3
4
|
import { JumbotronRatafiaSectionStyled } from './JumbotronRatafiaSection.styled';
|
|
4
|
-
const
|
|
5
|
-
|
|
5
|
+
const styleConfigMap = {
|
|
6
|
+
ratafia: {
|
|
7
|
+
backgroundClass: 'background-ratafia-animation',
|
|
8
|
+
id: 'ratafia-jumbotron',
|
|
9
|
+
type: 'ratafia',
|
|
10
|
+
ContentComponent: JumbotronRatafiaContent
|
|
11
|
+
},
|
|
12
|
+
esignature: {
|
|
13
|
+
backgroundClass: 'background-esignature',
|
|
14
|
+
id: 'esignature-jumbotron',
|
|
15
|
+
type: 'esignature',
|
|
16
|
+
ContentComponent: JumbotronEsignatureContent
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
const JumbotronRatafiaSection = ({ content, children, alternativeStyles }) => {
|
|
20
|
+
const styleConfig = styleConfigMap[alternativeStyles ?? 'ratafia'];
|
|
21
|
+
const sectionClassName = `jumbotron-ratafia-section ${styleConfig.backgroundClass}`;
|
|
22
|
+
const sectionId = styleConfig.id;
|
|
23
|
+
return (_jsx(JumbotronRatafiaSectionStyled, { className: sectionClassName, id: sectionId, children: _jsxs("div", { className: 'jumbotron-ratafia-section__wrapper', children: [_jsx(styleConfig.ContentComponent, { title: content.title, tags: content.tags, body: content.body, type: styleConfig.type }), _jsx("span", { className: 'jumbotron-ratafia-section__wrapper__children', children: children })] }) }));
|
|
6
24
|
};
|
|
7
25
|
export default JumbotronRatafiaSection;
|
package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js
CHANGED
|
@@ -14,6 +14,25 @@ export const JumbotronRatafiaSectionStyled = styled.section `
|
|
|
14
14
|
padding: 5rem 7.5rem 6.5rem 7.5rem;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
&.background-esignature {
|
|
18
|
+
background-color: #f3f7fa;
|
|
19
|
+
background-image: url('../../../../images/svg/back-element-sign-01.svg');
|
|
20
|
+
background-size: cover;
|
|
21
|
+
background-position: center;
|
|
22
|
+
background-repeat: no-repeat;
|
|
23
|
+
|
|
24
|
+
@media ${device['landscape-tablets']} {
|
|
25
|
+
background-image: url('../../../../images/svg/back-element-sign-02.svg');
|
|
26
|
+
background-size: cover, cover;
|
|
27
|
+
background-position: center, center;
|
|
28
|
+
background-repeat: no-repeat, no-repeat;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media ${device['desktop-xl']} {
|
|
32
|
+
background-image: url('../../../../images/svg/back-element-sign-03.svg');
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
17
36
|
.jumbotron-ratafia-section {
|
|
18
37
|
&__wrapper {
|
|
19
38
|
display: flex;
|
package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts
CHANGED
|
@@ -15,6 +15,25 @@ export const JumbotronRatafiaSectionStyled = styled.section`
|
|
|
15
15
|
padding: 5rem 7.5rem 6.5rem 7.5rem;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
&.background-esignature {
|
|
19
|
+
background-color: #f3f7fa;
|
|
20
|
+
background-image: url('../../../../images/svg/back-element-sign-01.svg');
|
|
21
|
+
background-size: cover;
|
|
22
|
+
background-position: center;
|
|
23
|
+
background-repeat: no-repeat;
|
|
24
|
+
|
|
25
|
+
@media ${device['landscape-tablets']} {
|
|
26
|
+
background-image: url('../../../../images/svg/back-element-sign-02.svg');
|
|
27
|
+
background-size: cover, cover;
|
|
28
|
+
background-position: center, center;
|
|
29
|
+
background-repeat: no-repeat, no-repeat;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@media ${device['desktop-xl']} {
|
|
33
|
+
background-image: url('../../../../images/svg/back-element-sign-03.svg');
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
18
37
|
.jumbotron-ratafia-section {
|
|
19
38
|
&__wrapper {
|
|
20
39
|
display: flex;
|
|
@@ -1,17 +1,54 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
|
+
import { JumbotronEsignatureContent } from '../../organisms/JumbotronEsignatureContent'
|
|
3
4
|
import { JumbotronRatafiaContent } from '../../organisms/JumbotronRatafiaContent'
|
|
4
5
|
import { type JumbotronRatafiaSectionProps } from './JumbotronRatafiaSectionProps.types'
|
|
5
6
|
import { JumbotronRatafiaSectionStyled } from './JumbotronRatafiaSection.styled'
|
|
7
|
+
import { type TagRatafiaItemProps } from '../../atoms'
|
|
8
|
+
|
|
9
|
+
interface JumbotronContent {
|
|
10
|
+
title: React.ReactNode | string
|
|
11
|
+
body: React.ReactNode
|
|
12
|
+
tags: TagRatafiaItemProps[]
|
|
13
|
+
type: string
|
|
14
|
+
}
|
|
15
|
+
interface StyleConfig {
|
|
16
|
+
backgroundClass: string
|
|
17
|
+
id: string
|
|
18
|
+
type: string
|
|
19
|
+
ContentComponent: React.ComponentType<JumbotronContent>
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const styleConfigMap: Record<string, StyleConfig> = {
|
|
23
|
+
ratafia: {
|
|
24
|
+
backgroundClass: 'background-ratafia-animation',
|
|
25
|
+
id: 'ratafia-jumbotron',
|
|
26
|
+
type: 'ratafia',
|
|
27
|
+
ContentComponent: JumbotronRatafiaContent
|
|
28
|
+
},
|
|
29
|
+
esignature: {
|
|
30
|
+
backgroundClass: 'background-esignature',
|
|
31
|
+
id: 'esignature-jumbotron',
|
|
32
|
+
type: 'esignature',
|
|
33
|
+
ContentComponent: JumbotronEsignatureContent
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const JumbotronRatafiaSection: FC<JumbotronRatafiaSectionProps> = ({ content, children, alternativeStyles }) => {
|
|
38
|
+
const styleConfig: StyleConfig = styleConfigMap[alternativeStyles ?? 'ratafia']
|
|
39
|
+
|
|
40
|
+
const sectionClassName = `jumbotron-ratafia-section ${styleConfig.backgroundClass}`
|
|
41
|
+
const sectionId = styleConfig.id
|
|
6
42
|
|
|
7
|
-
const JumbotronRatafiaSection: FC<JumbotronRatafiaSectionProps> = ({ content, children }) => {
|
|
8
43
|
return (
|
|
9
|
-
<JumbotronRatafiaSectionStyled
|
|
10
|
-
className='jumbotron-ratafia-section background-ratafia-animation'
|
|
11
|
-
id='ratafia-jumbotron'
|
|
12
|
-
>
|
|
44
|
+
<JumbotronRatafiaSectionStyled className={sectionClassName} id={sectionId}>
|
|
13
45
|
<div className='jumbotron-ratafia-section__wrapper'>
|
|
14
|
-
<
|
|
46
|
+
<styleConfig.ContentComponent
|
|
47
|
+
title={content.title}
|
|
48
|
+
tags={content.tags}
|
|
49
|
+
body={content.body}
|
|
50
|
+
type={styleConfig.type}
|
|
51
|
+
/>
|
|
15
52
|
<span className='jumbotron-ratafia-section__wrapper__children'>{children}</span>
|
|
16
53
|
</div>
|
|
17
54
|
</JumbotronRatafiaSectionStyled>
|
package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSectionProps.types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { type JumbotronRatafiaContentProps } from '../../organisms';
|
|
1
|
+
import { type JumbotronEsignatureContentProps, type JumbotronRatafiaContentProps } from '../../organisms';
|
|
2
2
|
export interface JumbotronRatafiaSectionProps {
|
|
3
|
-
content: JumbotronRatafiaContentProps;
|
|
3
|
+
content: JumbotronRatafiaContentProps | JumbotronEsignatureContentProps;
|
|
4
4
|
children?: React.ReactNode;
|
|
5
|
+
alternativeStyles?: string;
|
|
5
6
|
}
|
package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSectionProps.types.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { type JumbotronRatafiaContentProps } from '../../organisms'
|
|
1
|
+
import { type JumbotronEsignatureContentProps, type JumbotronRatafiaContentProps } from '../../organisms'
|
|
2
2
|
|
|
3
3
|
export interface JumbotronRatafiaSectionProps {
|
|
4
|
-
content: JumbotronRatafiaContentProps
|
|
4
|
+
content: JumbotronRatafiaContentProps | JumbotronEsignatureContentProps
|
|
5
5
|
children?: React.ReactNode
|
|
6
|
+
alternativeStyles?: string
|
|
6
7
|
}
|