@npm_leadtech/legal-contracts-ui 0.150.5 → 0.151.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/components/AboutUsTemplate.d.ts +8 -5
- package/dist/components/CtaSection.d.ts +5 -2
- package/dist/components/GuidelinesSection.d.ts +5 -2
- package/dist/components/HowItWorksLawGeniusSection.d.ts +16 -0
- package/dist/components/HowItWorksLawGeniusSection.js +41 -0
- package/dist/components/IntroSection.d.ts +5 -2
- package/dist/components/LegalSection.d.ts +9 -0
- package/dist/components/LegalSection.js +5 -0
- package/dist/components/LegalesTemplate.d.ts +20 -0
- package/dist/components/LegalesTemplate.js +10 -0
- package/dist/components/LinkWrapper.d.ts +3 -3
- package/dist/components/LinkWrapper.js +1 -8
- package/dist/components/PricingHeroSection.d.ts +13 -0
- package/dist/components/PricingHeroSection.js +21 -0
- package/dist/components/PricingPlanCard.js +3 -3
- package/dist/components/PricingPlansSection.js +16 -9
- package/dist/components/PricingTemplate.d.ts +14 -2
- package/dist/components/WeHelpSection.d.ts +5 -2
- package/package.json +17 -1
- package/dist/components/index.d.ts +0 -1335
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
3
|
import { ReactNode } from 'react';
|
|
3
4
|
|
|
4
5
|
export declare const AboutUsTemplate: FC<AboutUsTemplateProps>;
|
|
@@ -37,7 +38,7 @@ export interface ContactUsSectionProps {
|
|
|
37
38
|
export interface CtaSectionProps {
|
|
38
39
|
title: string;
|
|
39
40
|
paragraph?: ReactNode;
|
|
40
|
-
cta:
|
|
41
|
+
cta: LinkWrapper;
|
|
41
42
|
children?: ReactNode;
|
|
42
43
|
className?: string;
|
|
43
44
|
contentClassName?: string;
|
|
@@ -64,7 +65,7 @@ export interface GuidelinesSectionProps {
|
|
|
64
65
|
title: string;
|
|
65
66
|
image: ReactNode;
|
|
66
67
|
content: string;
|
|
67
|
-
cta:
|
|
68
|
+
cta: LinkWrapper;
|
|
68
69
|
};
|
|
69
70
|
}
|
|
70
71
|
|
|
@@ -73,7 +74,7 @@ export type IconPosition = 'left' | 'right' | 'top';
|
|
|
73
74
|
export interface IntroSectionProps {
|
|
74
75
|
image: ReactNode;
|
|
75
76
|
children: ReactNode;
|
|
76
|
-
cta?:
|
|
77
|
+
cta?: LinkWrapper;
|
|
77
78
|
className?: string;
|
|
78
79
|
containerClassName?: string;
|
|
79
80
|
firstColumnClassName?: string;
|
|
@@ -88,7 +89,7 @@ export interface Jumbotron2Props {
|
|
|
88
89
|
variant?: 'default' | 'contact';
|
|
89
90
|
}
|
|
90
91
|
|
|
91
|
-
export interface
|
|
92
|
+
export interface LinkWrapper {
|
|
92
93
|
children: ReactNode;
|
|
93
94
|
size?: ButtonSize;
|
|
94
95
|
variant?: ResponsiveButtonVariant;
|
|
@@ -97,6 +98,8 @@ export interface LinkWrapperProps {
|
|
|
97
98
|
className?: string;
|
|
98
99
|
}
|
|
99
100
|
|
|
101
|
+
declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
|
|
102
|
+
|
|
100
103
|
export interface MissionSectionProps {
|
|
101
104
|
title: string;
|
|
102
105
|
body: string;
|
|
@@ -154,7 +157,7 @@ export interface ValuesSectionProps {
|
|
|
154
157
|
export interface WeHelpSectionProps {
|
|
155
158
|
title: string;
|
|
156
159
|
image: ReactNode;
|
|
157
|
-
cta:
|
|
160
|
+
cta: LinkWrapper;
|
|
158
161
|
body: string;
|
|
159
162
|
}
|
|
160
163
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
3
|
import { ReactNode } from 'react';
|
|
3
4
|
|
|
4
5
|
export type ButtonSize = 'small' | 'default' | 'large';
|
|
@@ -26,7 +27,7 @@ export declare const CtaSection: FC<CtaSectionProps>;
|
|
|
26
27
|
export declare interface CtaSectionProps {
|
|
27
28
|
title: string;
|
|
28
29
|
paragraph?: ReactNode;
|
|
29
|
-
cta:
|
|
30
|
+
cta: LinkWrapper;
|
|
30
31
|
children?: ReactNode;
|
|
31
32
|
className?: string;
|
|
32
33
|
contentClassName?: string;
|
|
@@ -37,7 +38,7 @@ export declare const CtaSummarizedTag: FC<CtaFeatureTagProps>;
|
|
|
37
38
|
|
|
38
39
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
39
40
|
|
|
40
|
-
export interface
|
|
41
|
+
export interface LinkWrapper {
|
|
41
42
|
children: ReactNode;
|
|
42
43
|
size?: ButtonSize;
|
|
43
44
|
variant?: ResponsiveButtonVariant;
|
|
@@ -46,6 +47,8 @@ export interface LinkWrapperProps {
|
|
|
46
47
|
className?: string;
|
|
47
48
|
}
|
|
48
49
|
|
|
50
|
+
declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
|
|
51
|
+
|
|
49
52
|
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
50
53
|
initial?: ButtonVariant;
|
|
51
54
|
sm?: ButtonVariant;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
3
|
import { ReactNode } from 'react';
|
|
3
4
|
|
|
4
5
|
export type ButtonSize = 'small' | 'default' | 'large';
|
|
@@ -18,13 +19,13 @@ export declare interface GuidelinesSectionProps {
|
|
|
18
19
|
title: string;
|
|
19
20
|
image: ReactNode;
|
|
20
21
|
content: string;
|
|
21
|
-
cta:
|
|
22
|
+
cta: LinkWrapper;
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
26
27
|
|
|
27
|
-
export interface
|
|
28
|
+
export interface LinkWrapper {
|
|
28
29
|
children: ReactNode;
|
|
29
30
|
size?: ButtonSize;
|
|
30
31
|
variant?: ResponsiveButtonVariant;
|
|
@@ -33,6 +34,8 @@ export interface LinkWrapperProps {
|
|
|
33
34
|
className?: string;
|
|
34
35
|
}
|
|
35
36
|
|
|
37
|
+
declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
|
|
38
|
+
|
|
36
39
|
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
37
40
|
initial?: ButtonVariant;
|
|
38
41
|
sm?: ButtonVariant;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const HowItWorksLawGeniusSection: FC<HowItWorksLawGeniusSectionProps>;
|
|
5
|
+
|
|
6
|
+
export declare interface HowItWorksLawGeniusSectionProps {
|
|
7
|
+
sectionTitle: string;
|
|
8
|
+
contentMarkdown: string;
|
|
9
|
+
descriptionMarkdown: string;
|
|
10
|
+
steps: ReactNode;
|
|
11
|
+
belowStepsMarkdown: string;
|
|
12
|
+
cta: ReactNode;
|
|
13
|
+
imageUrl: string | null;
|
|
14
|
+
imageAlt: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { howItWorksLawGeniusBelowStepsMarkdownClassName as h } from "./HowItWorksTemplateTokens.js";
|
|
3
|
+
import { LawGeniusImageShell as p } from "./LawGeniusImageShell.js";
|
|
4
|
+
import { Markdown as t } from "./Markdown.js";
|
|
5
|
+
const v = ({
|
|
6
|
+
sectionTitle: s,
|
|
7
|
+
contentMarkdown: r,
|
|
8
|
+
descriptionMarkdown: a,
|
|
9
|
+
steps: m,
|
|
10
|
+
belowStepsMarkdown: i,
|
|
11
|
+
cta: n,
|
|
12
|
+
imageUrl: c,
|
|
13
|
+
imageAlt: x
|
|
14
|
+
}) => {
|
|
15
|
+
const d = a.trim().length > 0, o = i.trim().length > 0;
|
|
16
|
+
return /* @__PURE__ */ e("section", { className: "bg-neutral-25 lg:px-ds-10xl px-6 pt-16 pb-12 sm:px-10", children: /* @__PURE__ */ e("div", { className: "bg-ratafia mx-auto w-full max-w-6xl rounded-3xl px-8 pt-16 pb-8 text-white shadow-[0_25px_80px_rgba(3,42,56,0.35)] sm:px-10 sm:pt-16 sm:pb-10", children: /* @__PURE__ */ l("div", { className: "flex w-full flex-col gap-8 lg:gap-10", children: [
|
|
17
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-4 text-center text-white", children: [
|
|
18
|
+
/* @__PURE__ */ e("h2", { className: "lg:text-super-large text-3xl font-bold lg:leading-tight", children: s }),
|
|
19
|
+
/* @__PURE__ */ e("div", { className: "[&_p]:text-medium [&_p]:text-white/80 [&_p:last-child]:mb-0", children: /* @__PURE__ */ e(t, { variant: "ratafia", content: r }) }),
|
|
20
|
+
d && /* @__PURE__ */ e("div", { className: "[&_p]:text-medium [&_p]:text-white/80 [&_p:last-child]:mb-0", children: /* @__PURE__ */ e(t, { variant: "ratafia", content: a }) })
|
|
21
|
+
] }),
|
|
22
|
+
/* @__PURE__ */ l("div", { className: "flex w-full flex-col gap-8 lg:grid lg:grid-cols-[minmax(0,1fr)_minmax(0,1.05fr)] lg:items-stretch lg:gap-10", children: [
|
|
23
|
+
/* @__PURE__ */ l("div", { className: "flex min-h-0 flex-col gap-6", children: [
|
|
24
|
+
m,
|
|
25
|
+
o && /* @__PURE__ */ e(
|
|
26
|
+
t,
|
|
27
|
+
{
|
|
28
|
+
variant: "ratafia",
|
|
29
|
+
content: i,
|
|
30
|
+
className: h
|
|
31
|
+
}
|
|
32
|
+
),
|
|
33
|
+
/* @__PURE__ */ e("div", { className: "w-full lg:w-fit", children: n })
|
|
34
|
+
] }),
|
|
35
|
+
/* @__PURE__ */ e("div", { className: "relative z-10 mx-auto flex min-h-0 w-full max-w-77 shrink-0 items-center justify-center overflow-hidden rounded-lg md:mx-0 md:max-w-none", children: /* @__PURE__ */ e(p, { src: c, alt: x }) })
|
|
36
|
+
] })
|
|
37
|
+
] }) }) });
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
v as HowItWorksLawGeniusSection
|
|
41
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
3
|
import { ReactNode } from 'react';
|
|
3
4
|
|
|
4
5
|
export type ButtonSize = 'small' | 'default' | 'large';
|
|
@@ -12,14 +13,14 @@ export declare const IntroSection: FC<IntroSectionProps>;
|
|
|
12
13
|
export declare interface IntroSectionProps {
|
|
13
14
|
image: ReactNode;
|
|
14
15
|
children: ReactNode;
|
|
15
|
-
cta?:
|
|
16
|
+
cta?: LinkWrapper;
|
|
16
17
|
className?: string;
|
|
17
18
|
containerClassName?: string;
|
|
18
19
|
firstColumnClassName?: string;
|
|
19
20
|
secondColumnClassName?: string;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
export interface
|
|
23
|
+
export interface LinkWrapper {
|
|
23
24
|
children: ReactNode;
|
|
24
25
|
size?: ButtonSize;
|
|
25
26
|
variant?: ResponsiveButtonVariant;
|
|
@@ -28,6 +29,8 @@ export interface LinkWrapperProps {
|
|
|
28
29
|
className?: string;
|
|
29
30
|
}
|
|
30
31
|
|
|
32
|
+
declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
|
|
33
|
+
|
|
31
34
|
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
32
35
|
initial?: ButtonVariant;
|
|
33
36
|
sm?: ButtonVariant;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
const o = ({ children: e }) => /* @__PURE__ */ l("section", { className: "px-4 py-10 sm:py-12 lg:py-16", children: /* @__PURE__ */ l("div", { className: "mx-auto flex w-full max-w-5xl flex-col gap-8", children: e }) });
|
|
3
|
+
export {
|
|
4
|
+
o as LegalSection
|
|
5
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export interface Jumbotron3Props {
|
|
5
|
+
title: string;
|
|
6
|
+
domain: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare const LegalesTemplate: FC<LegalesTemplateProps>;
|
|
11
|
+
|
|
12
|
+
export declare interface LegalesTemplateProps {
|
|
13
|
+
jumbotron: Jumbotron3Props;
|
|
14
|
+
legalSection: LegalSectionProps;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface LegalSectionProps {
|
|
18
|
+
children: ReactNode;
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { LegalSection as t } from "./LegalSection.js";
|
|
3
|
+
import { Jumbotron3 as m } from "./Jumbotron3.js";
|
|
4
|
+
const s = ({ jumbotron: o, legalSection: r }) => /* @__PURE__ */ l("main", { className: "bg-neutral-white flex w-full flex-col", children: [
|
|
5
|
+
/* @__PURE__ */ e(m, { ...o }),
|
|
6
|
+
/* @__PURE__ */ e(t, { ...r })
|
|
7
|
+
] });
|
|
8
|
+
export {
|
|
9
|
+
s as LegalesTemplate
|
|
10
|
+
};
|
|
@@ -7,9 +7,7 @@ export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yel
|
|
|
7
7
|
|
|
8
8
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
9
9
|
|
|
10
|
-
export declare
|
|
11
|
-
|
|
12
|
-
export declare interface LinkWrapperProps {
|
|
10
|
+
export declare interface LinkWrapper {
|
|
13
11
|
children: ReactNode;
|
|
14
12
|
size?: ButtonSize;
|
|
15
13
|
variant?: ResponsiveButtonVariant;
|
|
@@ -18,6 +16,8 @@ export declare interface LinkWrapperProps {
|
|
|
18
16
|
className?: string;
|
|
19
17
|
}
|
|
20
18
|
|
|
19
|
+
export declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
|
|
20
|
+
|
|
21
21
|
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
22
22
|
initial?: ButtonVariant;
|
|
23
23
|
sm?: ButtonVariant;
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { getButtonClasses as l } from "./Button.utils.js";
|
|
3
3
|
import { clsx as m } from "clsx";
|
|
4
|
-
const b = ({
|
|
5
|
-
size: e,
|
|
6
|
-
variant: s,
|
|
7
|
-
iconPosition: o,
|
|
8
|
-
disabled: r = !1,
|
|
9
|
-
className: t,
|
|
10
|
-
children: a
|
|
11
|
-
}) => {
|
|
4
|
+
const b = ({ size: e, variant: s, iconPosition: o, disabled: r = !1, className: t, children: a }) => {
|
|
12
5
|
const n = l(e, s, o, r, t);
|
|
13
6
|
return /* @__PURE__ */ f("span", { className: m(n, 'relative [&_a]:before:absolute [&_a]:before:inset-0 [&_a]:before:content-[""]'), children: a });
|
|
14
7
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const PricingHeroSection: FC<PricingHeroSectionProps>;
|
|
5
|
+
|
|
6
|
+
export declare interface PricingHeroSectionProps {
|
|
7
|
+
eyebrow: string;
|
|
8
|
+
title: string;
|
|
9
|
+
titleClassName?: string;
|
|
10
|
+
image: ReactNode;
|
|
11
|
+
paragraphs: ReactNode[];
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
const m = ({
|
|
3
|
+
eyebrow: a,
|
|
4
|
+
title: t,
|
|
5
|
+
titleClassName: r = "font-lora text-hero text-neutral-800",
|
|
6
|
+
image: c,
|
|
7
|
+
paragraphs: s
|
|
8
|
+
}) => /* @__PURE__ */ e("section", { className: "bg-primary-50 px-6 py-12 md:px-12 lg:px-24 lg:py-16", children: /* @__PURE__ */ l("div", { className: "mx-auto flex max-w-6xl flex-col gap-10", children: [
|
|
9
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-3 text-center", children: [
|
|
10
|
+
/* @__PURE__ */ e("span", { className: "text-small font-bold tracking-[0.2em] text-neutral-600", children: a }),
|
|
11
|
+
/* @__PURE__ */ e("div", { className: "h-px w-24 bg-neutral-200" }),
|
|
12
|
+
/* @__PURE__ */ e("h1", { className: r, children: t })
|
|
13
|
+
] }),
|
|
14
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-8 lg:flex-row", children: [
|
|
15
|
+
/* @__PURE__ */ e("div", { className: "lg:w-1/2", children: c }),
|
|
16
|
+
/* @__PURE__ */ e("div", { className: "text-medium space-y-4 text-neutral-800 lg:w-1/2", children: s.map((i, n) => /* @__PURE__ */ e("p", { children: i }, `hero-paragraph-${n.toString()}`)) })
|
|
17
|
+
] })
|
|
18
|
+
] }) });
|
|
19
|
+
export {
|
|
20
|
+
m as PricingHeroSection
|
|
21
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { Markdown as d } from "./Markdown.js";
|
|
3
|
-
import { LinkWrapper as
|
|
3
|
+
import { LinkWrapper as p } from "./LinkWrapper.js";
|
|
4
4
|
const x = ({ variant: r, title: i, subtitle: s, items: o, cta: n }) => {
|
|
5
5
|
const a = {
|
|
6
6
|
Primary: {
|
|
@@ -30,11 +30,11 @@ const x = ({ variant: r, title: i, subtitle: s, items: o, cta: n }) => {
|
|
|
30
30
|
l.id
|
|
31
31
|
)) }),
|
|
32
32
|
n != null && /* @__PURE__ */ e(
|
|
33
|
-
|
|
33
|
+
p,
|
|
34
34
|
{
|
|
35
35
|
size: "large",
|
|
36
36
|
variant: a[r].button,
|
|
37
|
-
className: "text-medium w-
|
|
37
|
+
className: "text-medium w-fit justify-center font-bold",
|
|
38
38
|
children: n
|
|
39
39
|
}
|
|
40
40
|
)
|
|
@@ -1,12 +1,19 @@
|
|
|
1
|
-
import { jsx as l, jsxs as
|
|
2
|
-
import { PricingPlanCard as
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsx as l, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { PricingPlanCard as i } from "./PricingPlanCard.js";
|
|
3
|
+
const o = ({
|
|
4
|
+
children: e,
|
|
5
|
+
footnote: a,
|
|
6
|
+
className: s
|
|
7
|
+
}) => /* @__PURE__ */ n("div", { className: `flex h-fit flex-1 flex-col gap-3 ${s || ""}`, children: [
|
|
8
|
+
e,
|
|
9
|
+
a ? /* @__PURE__ */ l("p", { className: "text-extra-small px-1 text-neutral-600", children: a }) : null
|
|
10
|
+
] }), g = ({ heading: e, columns: a }) => /* @__PURE__ */ l("section", { className: "bg-white px-6 py-12", children: /* @__PURE__ */ n("div", { className: "mx-auto flex max-w-6xl flex-col gap-12", children: [
|
|
11
|
+
/* @__PURE__ */ l("h2", { className: "text-super-large text-center font-bold text-neutral-800", children: e }),
|
|
12
|
+
/* @__PURE__ */ l("div", { className: "grid gap-6 lg:grid-cols-3", children: a.map(({ plan: s, footnote: r }, t) => {
|
|
13
|
+
const c = t === a.length - 1 ? 3 - t % 3 : 1;
|
|
14
|
+
return /* @__PURE__ */ l(o, { footnote: r, className: c === 2 ? "lg:col-span-2" : c === 3 ? "lg:col-span-3" : "", children: /* @__PURE__ */ l(i, { ...s }) }, s.title);
|
|
15
|
+
}) })
|
|
9
16
|
] }) });
|
|
10
17
|
export {
|
|
11
|
-
|
|
18
|
+
g as PricingPlansSection
|
|
12
19
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
3
|
import { ReactNode } from 'react';
|
|
3
4
|
|
|
4
5
|
export type ButtonSize = 'small' | 'default' | 'large';
|
|
@@ -33,7 +34,7 @@ export type IconPosition = 'left' | 'right' | 'top';
|
|
|
33
34
|
export interface IntroSectionProps {
|
|
34
35
|
image: ReactNode;
|
|
35
36
|
children: ReactNode;
|
|
36
|
-
cta?:
|
|
37
|
+
cta?: LinkWrapper;
|
|
37
38
|
className?: string;
|
|
38
39
|
containerClassName?: string;
|
|
39
40
|
firstColumnClassName?: string;
|
|
@@ -48,7 +49,7 @@ export interface Jumbotron2Props {
|
|
|
48
49
|
variant?: 'default' | 'contact';
|
|
49
50
|
}
|
|
50
51
|
|
|
51
|
-
export interface
|
|
52
|
+
export interface LinkWrapper {
|
|
52
53
|
children: ReactNode;
|
|
53
54
|
size?: ButtonSize;
|
|
54
55
|
variant?: ResponsiveButtonVariant;
|
|
@@ -57,6 +58,16 @@ export interface LinkWrapperProps {
|
|
|
57
58
|
className?: string;
|
|
58
59
|
}
|
|
59
60
|
|
|
61
|
+
declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
|
|
62
|
+
|
|
63
|
+
export interface PricingHeroSectionProps {
|
|
64
|
+
eyebrow: string;
|
|
65
|
+
title: string;
|
|
66
|
+
titleClassName?: string;
|
|
67
|
+
image: ReactNode;
|
|
68
|
+
paragraphs: ReactNode[];
|
|
69
|
+
}
|
|
70
|
+
|
|
60
71
|
export interface PricingOfferingItem {
|
|
61
72
|
id: string;
|
|
62
73
|
icon: ReactNode;
|
|
@@ -118,6 +129,7 @@ export declare const PricingTemplate: FC<PricingTemplateProps>;
|
|
|
118
129
|
export declare interface PricingTemplateProps {
|
|
119
130
|
jumbotron: Jumbotron2Props;
|
|
120
131
|
intro: IntroSectionProps;
|
|
132
|
+
hero: PricingHeroSectionProps;
|
|
121
133
|
plans: PricingPlansSectionProps;
|
|
122
134
|
resources: PricingResourcesSectionProps;
|
|
123
135
|
support: PricingSupportTeaserSectionProps;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
3
|
import { ReactNode } from 'react';
|
|
3
4
|
|
|
4
5
|
export type ButtonSize = 'small' | 'default' | 'large';
|
|
@@ -7,7 +8,7 @@ export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yel
|
|
|
7
8
|
|
|
8
9
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
9
10
|
|
|
10
|
-
export interface
|
|
11
|
+
export interface LinkWrapper {
|
|
11
12
|
children: ReactNode;
|
|
12
13
|
size?: ButtonSize;
|
|
13
14
|
variant?: ResponsiveButtonVariant;
|
|
@@ -16,6 +17,8 @@ export interface LinkWrapperProps {
|
|
|
16
17
|
className?: string;
|
|
17
18
|
}
|
|
18
19
|
|
|
20
|
+
declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
|
|
21
|
+
|
|
19
22
|
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
20
23
|
initial?: ButtonVariant;
|
|
21
24
|
sm?: ButtonVariant;
|
|
@@ -29,7 +32,7 @@ export declare const WeHelpSection: FC<WeHelpSectionProps>;
|
|
|
29
32
|
export declare interface WeHelpSectionProps {
|
|
30
33
|
title: string;
|
|
31
34
|
image: ReactNode;
|
|
32
|
-
cta:
|
|
35
|
+
cta: LinkWrapper;
|
|
33
36
|
body: string;
|
|
34
37
|
}
|
|
35
38
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-contracts-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.151.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -506,6 +506,10 @@
|
|
|
506
506
|
"import": "./dist/components/HeroSection.js",
|
|
507
507
|
"types": "./dist/components/HeroSection.d.ts"
|
|
508
508
|
},
|
|
509
|
+
"./components/HowItWorksLawGeniusSection": {
|
|
510
|
+
"import": "./dist/components/HowItWorksLawGeniusSection.js",
|
|
511
|
+
"types": "./dist/components/HowItWorksLawGeniusSection.d.ts"
|
|
512
|
+
},
|
|
509
513
|
"./components/HowItWorksSection": {
|
|
510
514
|
"import": "./dist/components/HowItWorksSection.js",
|
|
511
515
|
"types": "./dist/components/HowItWorksSection.d.ts"
|
|
@@ -534,6 +538,10 @@
|
|
|
534
538
|
"import": "./dist/components/Jumbotron3.js",
|
|
535
539
|
"types": "./dist/components/Jumbotron3.d.ts"
|
|
536
540
|
},
|
|
541
|
+
"./components/LegalSection": {
|
|
542
|
+
"import": "./dist/components/LegalSection.js",
|
|
543
|
+
"types": "./dist/components/LegalSection.d.ts"
|
|
544
|
+
},
|
|
537
545
|
"./components/MissionSection": {
|
|
538
546
|
"import": "./dist/components/MissionSection.js",
|
|
539
547
|
"types": "./dist/components/MissionSection.d.ts"
|
|
@@ -562,6 +570,10 @@
|
|
|
562
570
|
"import": "./dist/components/PreviewSection.js",
|
|
563
571
|
"types": "./dist/components/PreviewSection.d.ts"
|
|
564
572
|
},
|
|
573
|
+
"./components/PricingHeroSection": {
|
|
574
|
+
"import": "./dist/components/PricingHeroSection.js",
|
|
575
|
+
"types": "./dist/components/PricingHeroSection.d.ts"
|
|
576
|
+
},
|
|
565
577
|
"./components/PricingOfferingsSection": {
|
|
566
578
|
"import": "./dist/components/PricingOfferingsSection.js",
|
|
567
579
|
"types": "./dist/components/PricingOfferingsSection.d.ts"
|
|
@@ -662,6 +674,10 @@
|
|
|
662
674
|
"import": "./dist/components/LegalTemplate.js",
|
|
663
675
|
"types": "./dist/components/LegalTemplate.d.ts"
|
|
664
676
|
},
|
|
677
|
+
"./components/LegalesTemplate": {
|
|
678
|
+
"import": "./dist/components/LegalesTemplate.js",
|
|
679
|
+
"types": "./dist/components/LegalesTemplate.d.ts"
|
|
680
|
+
},
|
|
665
681
|
"./components/NotFoundTemplate": {
|
|
666
682
|
"import": "./dist/components/NotFoundTemplate.js",
|
|
667
683
|
"types": "./dist/components/NotFoundTemplate.d.ts"
|