@npm_leadtech/legal-lib-components 5.18.7 → 5.20.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/README.md +0 -16
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +2 -2
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +2 -5
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.d.ts +0 -2
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.ts +0 -2
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +1 -1
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +1 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +5 -20
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +5 -20
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.js +1 -2
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.ts +1 -2
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.js +14 -17
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.ts +14 -17
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js +1 -1
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +1 -3
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.d.ts +0 -2
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.ts +0 -2
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.js +13 -9
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.ts +13 -9
- package/dist/src/components/organisms/index.d.ts +0 -1
- package/dist/src/components/organisms/index.js +0 -1
- package/dist/src/components/organisms/index.ts +0 -1
- package/dist/src/components/pages/index.d.ts +0 -2
- package/dist/src/components/pages/index.js +0 -2
- package/dist/src/components/pages/index.ts +0 -2
- package/dist/src/components/sections/FaqSection/FaqSection.styled.js +1 -4
- package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +1 -4
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +1 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +1 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +2 -1
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +3 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -7
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafia.d.ts +0 -3
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafia.js +0 -5
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafia.styled.d.ts +0 -1
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafia.styled.js +0 -41
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafia.styled.ts +0 -42
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafia.tsx +0 -16
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafiaProps.types.d.ts +0 -5
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafiaProps.types.js +0 -1
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafiaProps.types.ts +0 -5
- package/dist/src/components/organisms/LimitReachedContentRatafia/index.d.ts +0 -2
- package/dist/src/components/organisms/LimitReachedContentRatafia/index.js +0 -1
- package/dist/src/components/organisms/LimitReachedContentRatafia/index.ts +0 -2
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPage.d.ts +0 -3
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPage.js +0 -13
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPage.styled.d.ts +0 -1
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPage.styled.js +0 -22
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPage.styled.ts +0 -23
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPage.tsx +0 -56
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPageProps.types.d.ts +0 -15
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPageProps.types.js +0 -1
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPageProps.types.ts +0 -16
- package/dist/src/components/pages/LimitReachedRatafiaPage/index.d.ts +0 -2
- package/dist/src/components/pages/LimitReachedRatafiaPage/index.js +0 -1
- package/dist/src/components/pages/LimitReachedRatafiaPage/index.ts +0 -2
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPage.d.ts +0 -3
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPage.js +0 -12
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPage.styled.d.ts +0 -1
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPage.styled.js +0 -28
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPage.styled.ts +0 -29
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPage.tsx +0 -38
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPageProps.d.ts +0 -33
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPageProps.js +0 -1
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPageProps.ts +0 -38
- package/dist/src/components/pages/PricingRatafiaPage/index.d.ts +0 -2
- package/dist/src/components/pages/PricingRatafiaPage/index.js +0 -2
- package/dist/src/components/pages/PricingRatafiaPage/index.ts +0 -2
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +0 -0
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import { Button } from '../../atoms'
|
|
4
|
-
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia'
|
|
5
|
-
import { LayoutRatafia } from '../../organisms/LayoutRatafia'
|
|
6
|
-
import { LimitReachedContentRatafia } from '../../organisms'
|
|
7
|
-
import { LimitReachedRatafiaPageProps } from './LimitReachedRatafiaPageProps.types'
|
|
8
|
-
import { LimitReachedRatafiaPageStyled } from './LimitReachedRatafiaPage.styled'
|
|
9
|
-
|
|
10
|
-
export const LimitReachedRatafiaPage: React.FC<LimitReachedRatafiaPageProps> = ({
|
|
11
|
-
header,
|
|
12
|
-
limitReachedContent,
|
|
13
|
-
disclaimer,
|
|
14
|
-
goToDashboardCta
|
|
15
|
-
}) => {
|
|
16
|
-
const ctaButton = (
|
|
17
|
-
<Button
|
|
18
|
-
givenClass='limit-reached-ratafia-page__cta'
|
|
19
|
-
dataQa={goToDashboardCta.dataQa}
|
|
20
|
-
color='primary'
|
|
21
|
-
label={goToDashboardCta.label}
|
|
22
|
-
link={goToDashboardCta.link}
|
|
23
|
-
/>
|
|
24
|
-
)
|
|
25
|
-
|
|
26
|
-
const content = <LimitReachedContentRatafia {...limitReachedContent} />
|
|
27
|
-
|
|
28
|
-
const footerDesktop = (
|
|
29
|
-
<DisclaimerRatafia
|
|
30
|
-
icon={disclaimer.icon}
|
|
31
|
-
text={disclaimer.text}
|
|
32
|
-
copyrightText={disclaimer.copyrightText}
|
|
33
|
-
ctaTextShowDisclaimer={disclaimer.ctaTextShowDisclaimer}
|
|
34
|
-
ctaTextCloseDisclaimer={disclaimer.ctaTextCloseDisclaimer}
|
|
35
|
-
/>
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
const footerMobile = (
|
|
39
|
-
<>
|
|
40
|
-
{footerDesktop}
|
|
41
|
-
{ctaButton}
|
|
42
|
-
</>
|
|
43
|
-
)
|
|
44
|
-
|
|
45
|
-
return (
|
|
46
|
-
<LimitReachedRatafiaPageStyled className='limit-reached-ratafia-page'>
|
|
47
|
-
<LayoutRatafia
|
|
48
|
-
header={header}
|
|
49
|
-
content={content}
|
|
50
|
-
cta={ctaButton}
|
|
51
|
-
footerDesktop={footerDesktop}
|
|
52
|
-
footerMobile={footerMobile}
|
|
53
|
-
/>
|
|
54
|
-
</LimitReachedRatafiaPageStyled>
|
|
55
|
-
)
|
|
56
|
-
}
|
package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPageProps.types.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { DisclaimerRatafiaProps } from '../../atoms';
|
|
2
|
-
import { type HeaderRatafiaProps } from '../../molecules';
|
|
3
|
-
import { LimitReachedContentRatafiaProps } from '../../organisms';
|
|
4
|
-
export interface LimitReachedRatafiaPageProps {
|
|
5
|
-
header: HeaderRatafiaProps;
|
|
6
|
-
limitReachedContent: LimitReachedContentRatafiaProps;
|
|
7
|
-
disclaimer: DisclaimerRatafiaProps;
|
|
8
|
-
goToDashboardCta: cta;
|
|
9
|
-
}
|
|
10
|
-
interface cta {
|
|
11
|
-
label: string;
|
|
12
|
-
link?: string;
|
|
13
|
-
dataQa: string;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPageProps.types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPageProps.types.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { DisclaimerRatafiaProps } from '../../atoms'
|
|
2
|
-
import { type HeaderRatafiaProps } from '../../molecules'
|
|
3
|
-
import { LimitReachedContentRatafiaProps } from '../../organisms'
|
|
4
|
-
|
|
5
|
-
export interface LimitReachedRatafiaPageProps {
|
|
6
|
-
header: HeaderRatafiaProps
|
|
7
|
-
limitReachedContent: LimitReachedContentRatafiaProps
|
|
8
|
-
disclaimer: DisclaimerRatafiaProps
|
|
9
|
-
goToDashboardCta: cta
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
interface cta {
|
|
13
|
-
label: string
|
|
14
|
-
link?: string
|
|
15
|
-
dataQa: string
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { LimitReachedRatafiaPage } from './LimitReachedRatafiaPage';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia';
|
|
3
|
-
import { LayoutRatafia } from '../../organisms';
|
|
4
|
-
import { RatafiaSubscriptionCard } from '../../molecules';
|
|
5
|
-
import { PricingRatafiaPageStyled } from './PricingRatafiaPage.styled';
|
|
6
|
-
export const PricingRatafiaPage = ({ header, disclaimer, pricingPage }) => {
|
|
7
|
-
const footerDesktop = (_jsx(DisclaimerRatafia, { icon: disclaimer.icon, text: disclaimer.text, copyrightText: disclaimer.copyrightText, ctaTextShowDisclaimer: disclaimer.ctaTextShowDisclaimer, ctaTextCloseDisclaimer: disclaimer.ctaTextCloseDisclaimer }));
|
|
8
|
-
const footerMobile = _jsx(_Fragment, { children: footerDesktop });
|
|
9
|
-
const content = (_jsxs("div", { className: 'pricing-ratafia-page__content', children: [_jsx("div", { className: 'pricing-ratafia-page__content__title', children: pricingPage.title }), _jsx("div", { className: 'pricing-ratafia-page__content__cards', children: pricingPage.cardSubscription?.length > 0 &&
|
|
10
|
-
pricingPage.cardSubscription.map((card) => _jsx(RatafiaSubscriptionCard, { ...card }, card.id)) })] }));
|
|
11
|
-
return (_jsx(PricingRatafiaPageStyled, { className: 'pricing-ratafia-page', children: _jsx(LayoutRatafia, { header: header, content: content, footerDesktop: footerDesktop, footerMobile: footerMobile }) }));
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const PricingRatafiaPageStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
-
import styled from 'styled-components';
|
|
3
|
-
export const PricingRatafiaPageStyled = styled.div `
|
|
4
|
-
background-color: var(--neutral-neutral-6);
|
|
5
|
-
|
|
6
|
-
.pricing-ratafia-page__content {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-flow: column nowrap;
|
|
9
|
-
gap: 2rem;
|
|
10
|
-
width: 100%;
|
|
11
|
-
|
|
12
|
-
&__title {
|
|
13
|
-
font-size: 18px;
|
|
14
|
-
font-weight: bold;
|
|
15
|
-
color: var(--neutral-neutral-2);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&__cards {
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: row;
|
|
21
|
-
gap: 1rem;
|
|
22
|
-
|
|
23
|
-
@media ${device.mobile} {
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
`;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
-
import styled from 'styled-components'
|
|
3
|
-
|
|
4
|
-
export const PricingRatafiaPageStyled = styled.div`
|
|
5
|
-
background-color: var(--neutral-neutral-6);
|
|
6
|
-
|
|
7
|
-
.pricing-ratafia-page__content {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-flow: column nowrap;
|
|
10
|
-
gap: 2rem;
|
|
11
|
-
width: 100%;
|
|
12
|
-
|
|
13
|
-
&__title {
|
|
14
|
-
font-size: 18px;
|
|
15
|
-
font-weight: bold;
|
|
16
|
-
color: var(--neutral-neutral-2);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&__cards {
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: row;
|
|
22
|
-
gap: 1rem;
|
|
23
|
-
|
|
24
|
-
@media ${device.mobile} {
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
`
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia'
|
|
4
|
-
import { LayoutRatafia } from '../../organisms'
|
|
5
|
-
import { type PricingRatafiaPageProps } from './PricingRatafiaPageProps'
|
|
6
|
-
import { RatafiaSubscriptionCard } from '../../molecules'
|
|
7
|
-
|
|
8
|
-
import { PricingRatafiaPageStyled } from './PricingRatafiaPage.styled'
|
|
9
|
-
|
|
10
|
-
export const PricingRatafiaPage: React.FC<PricingRatafiaPageProps> = ({ header, disclaimer, pricingPage }) => {
|
|
11
|
-
const footerDesktop = (
|
|
12
|
-
<DisclaimerRatafia
|
|
13
|
-
icon={disclaimer.icon}
|
|
14
|
-
text={disclaimer.text}
|
|
15
|
-
copyrightText={disclaimer.copyrightText}
|
|
16
|
-
ctaTextShowDisclaimer={disclaimer.ctaTextShowDisclaimer}
|
|
17
|
-
ctaTextCloseDisclaimer={disclaimer.ctaTextCloseDisclaimer}
|
|
18
|
-
/>
|
|
19
|
-
)
|
|
20
|
-
|
|
21
|
-
const footerMobile = <>{footerDesktop}</>
|
|
22
|
-
|
|
23
|
-
const content = (
|
|
24
|
-
<div className='pricing-ratafia-page__content'>
|
|
25
|
-
<div className='pricing-ratafia-page__content__title'>{pricingPage.title}</div>
|
|
26
|
-
<div className='pricing-ratafia-page__content__cards'>
|
|
27
|
-
{pricingPage.cardSubscription?.length > 0 &&
|
|
28
|
-
pricingPage.cardSubscription.map((card) => <RatafiaSubscriptionCard key={card.id} {...card} />)}
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
)
|
|
32
|
-
|
|
33
|
-
return (
|
|
34
|
-
<PricingRatafiaPageStyled className='pricing-ratafia-page'>
|
|
35
|
-
<LayoutRatafia header={header} content={content} footerDesktop={footerDesktop} footerMobile={footerMobile} />
|
|
36
|
-
</PricingRatafiaPageStyled>
|
|
37
|
-
)
|
|
38
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { type DisclaimerRatafiaProps } from '../../atoms';
|
|
2
|
-
import { type HeaderRatafiaProps } from '../../molecules';
|
|
3
|
-
export interface PricingRatafiaPageProps {
|
|
4
|
-
header: HeaderRatafiaProps;
|
|
5
|
-
disclaimer: DisclaimerRatafiaProps;
|
|
6
|
-
pricingPage: PricingPageProps;
|
|
7
|
-
}
|
|
8
|
-
export interface PricingPageProps {
|
|
9
|
-
title: string;
|
|
10
|
-
cardSubscription: SubscriptionCardProps[] | [];
|
|
11
|
-
}
|
|
12
|
-
export interface SubscriptionCardProps {
|
|
13
|
-
id: string;
|
|
14
|
-
cardStyle: CardStyleType;
|
|
15
|
-
iconTitle: FeatureImageProps;
|
|
16
|
-
title: string;
|
|
17
|
-
priceText: string;
|
|
18
|
-
mainFeatures: FeatureProps[] | [];
|
|
19
|
-
AIFeatures: FeatureProps[] | [];
|
|
20
|
-
buttonText: string;
|
|
21
|
-
linkText: string;
|
|
22
|
-
}
|
|
23
|
-
export type CardStyleType = 'Primary' | 'Secondary';
|
|
24
|
-
interface FeatureProps {
|
|
25
|
-
description: string;
|
|
26
|
-
image: FeatureImageProps;
|
|
27
|
-
title: string;
|
|
28
|
-
}
|
|
29
|
-
interface FeatureImageProps {
|
|
30
|
-
name: string;
|
|
31
|
-
url: string;
|
|
32
|
-
}
|
|
33
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { type DisclaimerRatafiaProps } from '../../atoms'
|
|
2
|
-
import { type HeaderRatafiaProps } from '../../molecules'
|
|
3
|
-
|
|
4
|
-
export interface PricingRatafiaPageProps {
|
|
5
|
-
header: HeaderRatafiaProps
|
|
6
|
-
disclaimer: DisclaimerRatafiaProps
|
|
7
|
-
pricingPage: PricingPageProps
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface PricingPageProps {
|
|
11
|
-
title: string
|
|
12
|
-
cardSubscription: SubscriptionCardProps[] | []
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface SubscriptionCardProps {
|
|
16
|
-
id: string
|
|
17
|
-
cardStyle: CardStyleType
|
|
18
|
-
iconTitle: FeatureImageProps
|
|
19
|
-
title: string
|
|
20
|
-
priceText: string
|
|
21
|
-
mainFeatures: FeatureProps[] | []
|
|
22
|
-
AIFeatures: FeatureProps[] | []
|
|
23
|
-
buttonText: string
|
|
24
|
-
linkText: string
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export type CardStyleType = 'Primary' | 'Secondary'
|
|
28
|
-
|
|
29
|
-
interface FeatureProps {
|
|
30
|
-
description: string
|
|
31
|
-
image: FeatureImageProps
|
|
32
|
-
title: string
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
interface FeatureImageProps {
|
|
36
|
-
name: string
|
|
37
|
-
url: string
|
|
38
|
-
}
|
|
File without changes
|