@npm_leadtech/legal-contracts-ui 0.87.2 → 0.89.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.
@@ -13,7 +13,7 @@ export declare interface AboutUsTemplateProps {
13
13
  howWeHelp: WeHelpSectionProps;
14
14
  guidelines: GuidelinesSectionProps;
15
15
  experts: ExpertsSectionProps;
16
- trustpilot: TrustpilotSectionProps;
16
+ trustPilot: ReactNode;
17
17
  partners: PartnersSectionProps;
18
18
  cta: CtaSectionProps;
19
19
  contactUs: ContactUsSectionProps;
@@ -128,11 +128,6 @@ export interface StorylineProps {
128
128
  }[];
129
129
  }
130
130
 
131
- export interface TrustpilotSectionProps {
132
- header: SectionHeadingProps;
133
- children: ReactNode;
134
- }
135
-
136
131
  export interface ValuesSectionProps {
137
132
  title: string;
138
133
  children: ReactNode;
@@ -1,43 +1,42 @@
1
- import { jsxs as S, jsx as o } from "react/jsx-runtime";
2
- import { MissionSection as u } from "./MissionSection.js";
3
- import { ValuesSection as x } from "./ValuesSection.js";
4
- import { Storyline as b } from "./Storyline.js";
5
- import { WeHelpSection as d } from "./WeHelpSection.js";
6
- import { GuidelinesSection as j } from "./GuidelinesSection.js";
7
- import { ExpertsSection as y } from "./ExpertsSection.js";
8
- import { PartnersSection as C } from "./PartnersSection.js";
9
- import { CtaSection as N } from "./CtaSection.js";
10
- import { ContactUsSection as T } from "./ContactUsSection.js";
11
- import { Jumbotron2 as U } from "./Jumbotron2.js";
12
- import { IntroSection as g } from "./IntroSection.js";
13
- import { TrustpilotSection as h } from "./TrustpilotSection.js";
14
- const v = ({
15
- jumbotron: t,
16
- intro: r,
1
+ import { jsxs as x, jsx as o } from "react/jsx-runtime";
2
+ import { MissionSection as S } from "./MissionSection.js";
3
+ import { ValuesSection as u } from "./ValuesSection.js";
4
+ import { Storyline as d } from "./Storyline.js";
5
+ import { WeHelpSection as b } from "./WeHelpSection.js";
6
+ import { GuidelinesSection as h } from "./GuidelinesSection.js";
7
+ import { ExpertsSection as w } from "./ExpertsSection.js";
8
+ import { PartnersSection as N } from "./PartnersSection.js";
9
+ import { CtaSection as j } from "./CtaSection.js";
10
+ import { ContactUsSection as y } from "./ContactUsSection.js";
11
+ import { Jumbotron2 as C } from "./Jumbotron2.js";
12
+ import { IntroSection as U } from "./IntroSection.js";
13
+ const W = ({
14
+ jumbotron: r,
15
+ intro: t,
17
16
  mission: m,
18
- coreValues: i,
19
- storyline: e,
17
+ coreValues: e,
18
+ storyline: i,
20
19
  howWeHelp: n,
21
- guidelines: p,
22
- experts: f,
23
- trustpilot: s,
24
- partners: c,
25
- cta: l,
20
+ guidelines: l,
21
+ experts: s,
22
+ trustPilot: c,
23
+ partners: f,
24
+ cta: p,
26
25
  contactUs: a
27
- }) => /* @__PURE__ */ S("main", { className: "mx-auto flex w-full flex-1 flex-col text-neutral-800", children: [
28
- /* @__PURE__ */ o(U, { ...t }),
29
- /* @__PURE__ */ o(g, { ...r, className: "bg-primary-50" }),
30
- /* @__PURE__ */ o(u, { ...m }),
31
- /* @__PURE__ */ o(x, { ...i }),
32
- /* @__PURE__ */ o(b, { ...e }),
33
- /* @__PURE__ */ o(d, { ...n }),
26
+ }) => /* @__PURE__ */ x("main", { className: "mx-auto flex w-full flex-1 flex-col text-neutral-800", children: [
27
+ /* @__PURE__ */ o(C, { ...r }),
28
+ /* @__PURE__ */ o(U, { ...t, className: "bg-primary-50" }),
29
+ /* @__PURE__ */ o(S, { ...m }),
30
+ /* @__PURE__ */ o(u, { ...e }),
31
+ /* @__PURE__ */ o(d, { ...i }),
32
+ /* @__PURE__ */ o(b, { ...n }),
33
+ /* @__PURE__ */ o(h, { ...l }),
34
+ /* @__PURE__ */ o(w, { ...s }),
35
+ /* @__PURE__ */ o("div", { className: "w-full max-w-254 md:h-34", children: c }),
36
+ /* @__PURE__ */ o(N, { ...f }),
34
37
  /* @__PURE__ */ o(j, { ...p }),
35
- /* @__PURE__ */ o(y, { ...f }),
36
- /* @__PURE__ */ o(h, { ...s }),
37
- /* @__PURE__ */ o(C, { ...c }),
38
- /* @__PURE__ */ o(N, { ...l }),
39
- /* @__PURE__ */ o(T, { ...a })
38
+ /* @__PURE__ */ o(y, { ...a })
40
39
  ] });
41
40
  export {
42
- v as AboutUsTemplate
41
+ W as AboutUsTemplate
43
42
  };
@@ -1,46 +1,18 @@
1
1
  import { FC } from 'react';
2
2
  import { ReactNode } from 'react';
3
3
 
4
- export interface AiLegalDocumentInsightCard {
5
- id: string;
6
- title: string;
7
- description: string;
8
- state?: 'soon' | 'default';
9
- }
10
-
11
- export interface AiLegalDocumentInsightsSectionProps {
12
- heading: {
13
- title: string;
14
- description: string;
15
- };
16
- insightCards: AiLegalDocumentInsightCard[];
17
- tabs: AiLegalDocumentInsightsTab[];
18
- defaultTabId?: string;
19
- /** Optional screenshot behind / beside the mock */
20
- mockImageSrc?: string;
21
- mockImageAlt?: string;
22
- className?: string;
23
- }
24
-
25
- export interface AiLegalDocumentInsightsTab {
26
- id: string;
27
- label: string;
28
- content: ReactNode;
29
- }
30
-
31
4
  export declare const AiLegalDocumentReviewerTemplate: FC<AiLegalDocumentReviewerTemplateProps>;
32
5
 
33
6
  export declare type AiLegalDocumentReviewerTemplateProps = {
34
- hero: Hero2SectionProps;
7
+ hero: Omit<Hero2SectionProps, 'variant'>;
35
8
  howItWorks: HowItWorksSectionProps;
36
- /** Same shape as e-sign `fastAndSimple`; template forces `variant="lawgeniusDark"`. */
37
9
  fastAndSimple: Omit<FastAndSimpleSectionProps, 'variant'>;
38
- insights: AiLegalDocumentInsightsSectionProps;
10
+ insights: FeaturesSectionProps;
39
11
  signAndSend: Omit<SignAndSendSectionProps, 'rightColumn' | 'variant' | 'leadingIcon'> & {
40
12
  leadingIcon: ReactNode;
41
13
  upload: DocumentReviewUploadCardProps;
42
14
  };
43
- trustpilot: TrustpilotSectionProps;
15
+ trustPilot: ReactNode;
44
16
  askQuestions: Omit<LawgeniusAskQuestionsSectionProps, 'illustration'> & {
45
17
  illustration: LawgeniusFloatingTagsIllustrationProps;
46
18
  };
@@ -84,6 +56,22 @@ export interface FastAndSimpleSectionProps {
84
56
  variant: 'esign' | 'ratafia';
85
57
  }
86
58
 
59
+ export interface Features {
60
+ id: string;
61
+ title: string;
62
+ icon: ReactNode | null;
63
+ description: string;
64
+ upcoming: boolean;
65
+ upcomingText?: string;
66
+ }
67
+
68
+ export interface FeaturesSectionProps {
69
+ title: string;
70
+ description: string;
71
+ features: Features[];
72
+ rightImage: ReactNode | null;
73
+ }
74
+
87
75
  export type Hero2Highlight = {
88
76
  id: string;
89
77
  label: string;
@@ -144,14 +132,6 @@ export interface QuickBenefit {
144
132
  icon: ReactNode;
145
133
  }
146
134
 
147
- export interface SectionHeadingProps {
148
- title: string;
149
- description?: string;
150
- align?: 'start' | 'center';
151
- titleClass?: string;
152
- className?: string;
153
- }
154
-
155
135
  export interface SignAndSendSectionProps {
156
136
  title: string;
157
137
  description: string;
@@ -166,11 +146,6 @@ export interface SignAndSendSectionProps {
166
146
  variant?: 'default' | 'lawgeniusDark';
167
147
  }
168
148
 
169
- export interface TrustpilotSectionProps {
170
- header: SectionHeadingProps;
171
- children: ReactNode;
172
- }
173
-
174
149
  export interface UploadZoneProps {
175
150
  uploadPromptText: string;
176
151
  addDocumentLabel: string;
@@ -1,50 +1,49 @@
1
- import { jsxs as d, jsx as o } from "react/jsx-runtime";
2
- import { AiLegalDocumentInsightsSection as x } from "./AiLegalDocumentInsightsSection.js";
3
- import { DocumentReviewUploadCard as S } from "./DocumentReviewUploadCard.js";
4
- import { FaqSection as w } from "./FaqSection.js";
5
- import { FastAndSimpleSection as h } from "./FastAndSimpleSection.js";
6
- import { Hero2Section as k } from "./Hero2Section.js";
7
- import { HowItWorksSection as v } from "./HowItWorksSection.js";
8
- import { LawgeniusAskQuestionsSection as A } from "./LawgeniusAskQuestionsSection.js";
9
- import { LawgeniusFloatingTagsIllustration as D } from "./LawgeniusFloatingTagsIllustration.js";
10
- import { SignAndSendSection as R } from "./SignAndSendSection.js";
11
- import { TrustpilotSection as I } from "./TrustpilotSection.js";
12
- const O = ({
1
+ import { jsxs as g, jsx as o } from "react/jsx-runtime";
2
+ import { DocumentReviewUploadCard as x } from "./DocumentReviewUploadCard.js";
3
+ import { LawgeniusAskQuestionsSection as w } from "./LawgeniusAskQuestionsSection.js";
4
+ import { LawgeniusFloatingTagsIllustration as S } from "./LawgeniusFloatingTagsIllustration.js";
5
+ import { SignAndSendSection as v } from "./SignAndSendSection.js";
6
+ import { Hero2Section as h } from "./Hero2Section.js";
7
+ import { HowItWorksSection as k } from "./HowItWorksSection.js";
8
+ import { FastAndSimpleSection as R } from "./FastAndSimpleSection.js";
9
+ import { FeaturesSection as A } from "./FeaturesSection.js";
10
+ import { FaqSection as D } from "./FaqSection.js";
11
+ const U = ({
13
12
  hero: t,
14
- howItWorks: i,
15
- fastAndSimple: e,
16
- insights: r,
17
- signAndSend: n,
18
- trustpilot: a,
13
+ howItWorks: a,
14
+ fastAndSimple: i,
15
+ insights: e,
16
+ signAndSend: r,
17
+ trustPilot: n,
19
18
  askQuestions: s,
20
19
  faq: m
21
20
  }) => {
22
- const { ...l } = t, { upload: c, leadingIcon: p, ...u } = n, { illustration: f, ...g } = s;
23
- return /* @__PURE__ */ d("main", { className: "flex w-full flex-col", children: [
24
- /* @__PURE__ */ o(k, { ...l }),
25
- /* @__PURE__ */ o(v, { ...i }),
26
- /* @__PURE__ */ o(h, { ...e, variant: "ratafia" }),
27
- /* @__PURE__ */ o(x, { ...r }),
21
+ const { ...l } = t, { upload: c, leadingIcon: p, ...u } = r, { illustration: d, ...f } = s;
22
+ return /* @__PURE__ */ g("main", { className: "flex w-full flex-col", children: [
23
+ /* @__PURE__ */ o(h, { ...l, variant: "ratafia" }),
24
+ /* @__PURE__ */ o(k, { ...a }),
25
+ /* @__PURE__ */ o(R, { ...i, variant: "ratafia" }),
26
+ /* @__PURE__ */ o(A, { ...e }),
28
27
  /* @__PURE__ */ o(
29
- R,
28
+ v,
30
29
  {
31
30
  ...u,
32
31
  variant: "lawgeniusDark",
33
32
  leadingIcon: p,
34
- rightColumn: /* @__PURE__ */ o(S, { ...c, variant: "embeddedOnDark" })
33
+ rightColumn: /* @__PURE__ */ o(x, { ...c, variant: "embeddedOnDark" })
35
34
  }
36
35
  ),
37
- /* @__PURE__ */ o(I, { ...a }),
36
+ /* @__PURE__ */ o("div", { className: "w-full max-w-254 md:h-34", children: n }),
38
37
  /* @__PURE__ */ o(
39
- A,
38
+ w,
40
39
  {
41
- ...g,
42
- illustration: /* @__PURE__ */ o(D, { ...f })
40
+ ...f,
41
+ illustration: /* @__PURE__ */ o(S, { ...d })
43
42
  }
44
43
  ),
45
- /* @__PURE__ */ o("section", { className: "bg-neutral-25 px-6 py-16 sm:px-10 lg:px-32", children: /* @__PURE__ */ o(w, { ...m, className: "mx-auto max-w-6xl space-y-6" }) })
44
+ /* @__PURE__ */ o("section", { className: "bg-neutral-25 px-6 py-16 sm:px-10 lg:px-32", children: /* @__PURE__ */ o(D, { ...m, className: "mx-auto max-w-6xl space-y-6" }) })
46
45
  ] });
47
46
  };
48
47
  export {
49
- O as AiLegalDocumentReviewerTemplate
48
+ U as AiLegalDocumentReviewerTemplate
50
49
  };
@@ -1,28 +1,14 @@
1
1
  import { FC } from 'react';
2
2
  import { ReactNode } from 'react';
3
3
 
4
- export interface BenefitsOfSigningSectionProps {
5
- title: string;
6
- description: string;
7
- benefits: OnlineBenefit[];
8
- upcomingFeature: {
9
- title: string;
10
- description: string;
11
- };
12
- keyFactsIcon: string;
13
- requestIcon: string;
14
- overviewImageSrc: string;
15
- overviewImageAlt: string;
16
- }
17
-
18
4
  export declare const ElectronicSignatureTemplate: FC<ElectronicSignatureTemplateProps>;
19
5
 
20
6
  export declare interface ElectronicSignatureTemplateProps {
21
- hero: Hero2SectionProps;
7
+ hero: Omit<Hero2SectionProps, 'variant'>;
22
8
  howItWorks: HowItWorksSectionProps;
23
- fastAndSimple: FastAndSimpleSectionProps;
24
- benefitsOfSigning: BenefitsOfSigningSectionProps;
25
- trustpilot: TrustpilotSectionProps;
9
+ fastAndSimple: Omit<FastAndSimpleSectionProps, 'variant'>;
10
+ benefits: FeaturesSectionProps;
11
+ trustPilot: ReactNode;
26
12
  signAndSend: SignAndSendSectionProps;
27
13
  faq: FaqSectionProps;
28
14
  }
@@ -50,6 +36,22 @@ export interface FastAndSimpleSectionProps {
50
36
  variant: 'esign' | 'ratafia';
51
37
  }
52
38
 
39
+ export interface Features {
40
+ id: string;
41
+ title: string;
42
+ icon: ReactNode | null;
43
+ description: string;
44
+ upcoming: boolean;
45
+ upcomingText?: string;
46
+ }
47
+
48
+ export interface FeaturesSectionProps {
49
+ title: string;
50
+ description: string;
51
+ features: Features[];
52
+ rightImage: ReactNode | null;
53
+ }
54
+
53
55
  export type Hero2Highlight = {
54
56
  id: string;
55
57
  label: string;
@@ -80,11 +82,6 @@ export interface HowItWorksStep {
80
82
  icon: ReactNode;
81
83
  }
82
84
 
83
- export interface OnlineBenefit {
84
- title: string;
85
- description: string;
86
- }
87
-
88
85
  export interface QuickBenefit {
89
86
  id: string;
90
87
  title: string;
@@ -92,14 +89,6 @@ export interface QuickBenefit {
92
89
  icon: ReactNode;
93
90
  }
94
91
 
95
- export interface SectionHeadingProps {
96
- title: string;
97
- description?: string;
98
- align?: 'start' | 'center';
99
- titleClass?: string;
100
- className?: string;
101
- }
102
-
103
92
  export interface SignAndSendSectionProps {
104
93
  title: string;
105
94
  description: string;
@@ -114,11 +103,6 @@ export interface SignAndSendSectionProps {
114
103
  variant?: 'default' | 'lawgeniusDark';
115
104
  }
116
105
 
117
- export interface TrustpilotSectionProps {
118
- header: SectionHeadingProps;
119
- children: ReactNode;
120
- }
121
-
122
106
  export interface UploadZoneProps {
123
107
  uploadPromptText: string;
124
108
  addDocumentLabel: string;
@@ -1,28 +1,27 @@
1
- import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
- import { Hero2Section as a } from "./Hero2Section.js";
3
- import { HowItWorksSection as f } from "./HowItWorksSection.js";
4
- import { FastAndSimpleSection as l } from "./FastAndSimpleSection.js";
5
- import { BenefitsOfSigningSection as s } from "./BenefitsOfSigningSection.js";
6
- import { TrustpilotSection as S } from "./TrustpilotSection.js";
7
- import { SignAndSendSection as x } from "./SignAndSendSection.js";
8
- import { FaqSection as g } from "./FaqSection.js";
9
- const T = ({
10
- hero: t,
1
+ import { jsxs as l, jsx as o } from "react/jsx-runtime";
2
+ import { Hero2Section as s } from "./Hero2Section.js";
3
+ import { HowItWorksSection as c } from "./HowItWorksSection.js";
4
+ import { FastAndSimpleSection as p } from "./FastAndSimpleSection.js";
5
+ import { FeaturesSection as f } from "./FeaturesSection.js";
6
+ import { SignAndSendSection as S } from "./SignAndSendSection.js";
7
+ import { FaqSection as x } from "./FaqSection.js";
8
+ const N = ({
9
+ hero: e,
11
10
  howItWorks: i,
12
11
  fastAndSimple: r,
13
- benefitsOfSigning: m,
14
- trustpilot: e,
12
+ benefits: t,
13
+ trustPilot: m,
15
14
  signAndSend: n,
16
- faq: p
17
- }) => /* @__PURE__ */ c("main", { className: "w-full flex-1 bg-neutral-50", children: [
18
- /* @__PURE__ */ o(a, { ...t }),
19
- /* @__PURE__ */ o(f, { ...i }),
20
- /* @__PURE__ */ o(l, { ...r }),
21
- /* @__PURE__ */ o(s, { ...m }),
22
- /* @__PURE__ */ o(S, { ...e }),
23
- /* @__PURE__ */ o(x, { ...n }),
24
- /* @__PURE__ */ o(g, { ...p, className: "mx-auto max-w-4xl px-4 py-16" })
15
+ faq: a
16
+ }) => /* @__PURE__ */ l("main", { className: "w-full flex-1 bg-neutral-50", children: [
17
+ /* @__PURE__ */ o(s, { ...e, variant: "esign" }),
18
+ /* @__PURE__ */ o(c, { ...i }),
19
+ /* @__PURE__ */ o(p, { ...r, variant: "esign" }),
20
+ /* @__PURE__ */ o(f, { ...t }),
21
+ /* @__PURE__ */ o("div", { className: "w-full max-w-254 md:h-34", children: m }),
22
+ /* @__PURE__ */ o(S, { ...n }),
23
+ /* @__PURE__ */ o(x, { ...a, className: "mx-auto max-w-4xl px-4 py-16" })
25
24
  ] });
26
25
  export {
27
- T as ElectronicSignatureTemplate
26
+ N as ElectronicSignatureTemplate
28
27
  };
@@ -0,0 +1,21 @@
1
+ import { FC } from 'react';
2
+ import { ReactNode } from 'react';
3
+
4
+ export declare interface Features {
5
+ id: string;
6
+ title: string;
7
+ icon: ReactNode | null;
8
+ description: string;
9
+ upcoming: boolean;
10
+ upcomingText?: string;
11
+ }
12
+
13
+ export declare const FeaturesSection: FC<FeaturesSectionProps>;
14
+
15
+ export declare interface FeaturesSectionProps {
16
+ title: string;
17
+ description: string;
18
+ features: Features[];
19
+ rightImage: ReactNode | null;
20
+ }
21
+
@@ -0,0 +1,34 @@
1
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
+ import a from "clsx";
3
+ import { Markdown as o } from "./Markdown.js";
4
+ const N = ({ title: i, description: r, features: s, rightImage: c }) => /* @__PURE__ */ e("section", { className: "bg-white", children: /* @__PURE__ */ l("div", { className: "mx-auto grid grid-cols-1 px-6 py-8 lg:grid-cols-2 lg:items-center lg:gap-6 lg:px-8 lg:py-12 xl:max-w-300 xl:gap-20 xl:px-0", children: [
5
+ /* @__PURE__ */ l("div", { className: "flex flex-col gap-6", children: [
6
+ /* @__PURE__ */ l("div", { className: "flex flex-col gap-4 text-neutral-800", children: [
7
+ /* @__PURE__ */ e("h2", { className: "text-super-large font-bold", children: i }),
8
+ /* @__PURE__ */ e(o, { className: "text-medium [&_p:last-child]:mb-0", content: r })
9
+ ] }),
10
+ /* @__PURE__ */ e("div", { className: "flex flex-col gap-4", children: s.map(({ id: d, description: n, title: x, icon: m, upcoming: t, upcomingText: p }) => /* @__PURE__ */ l("article", { className: "bg-neutral-25 flex flex-col gap-4 rounded p-6", children: [
11
+ /* @__PURE__ */ l("div", { className: "flex flex-wrap items-center justify-between gap-2", children: [
12
+ /* @__PURE__ */ l(
13
+ "div",
14
+ {
15
+ className: a(
16
+ "text-big inline-flex w-fit items-start gap-2 rounded px-4 py-2 font-bold",
17
+ t ? "text-primary-800 bg-white opacity-50" : "bg-primary-800 text-neutral-25"
18
+ ),
19
+ children: [
20
+ m,
21
+ x
22
+ ]
23
+ }
24
+ ),
25
+ t && /* @__PURE__ */ e("span", { className: "text-primary-800 text-extra-small w-fit rounded bg-neutral-200 p-1 font-bold", children: p })
26
+ ] }),
27
+ /* @__PURE__ */ e("p", { className: a("text-medium text-neutral-800", t && "opacity-50"), children: n })
28
+ ] }, d)) })
29
+ ] }),
30
+ /* @__PURE__ */ e("div", { className: "hidden lg:block", children: c })
31
+ ] }) });
32
+ export {
33
+ N as FeaturesSection
34
+ };