@npm_leadtech/legal-contracts-ui 0.116.2 → 0.116.3

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.
@@ -140,7 +140,7 @@ export interface StorylineProps {
140
140
  }
141
141
 
142
142
  export interface TrustPilotSectionProps {
143
- trustPilot: React.ReactNode;
143
+ trustPilot?: React.ReactNode;
144
144
  content: string;
145
145
  title: string;
146
146
  }
@@ -9,7 +9,7 @@ export declare type AiLegalDocumentReviewerTemplateProps = {
9
9
  fastAndSimple: Omit<FastAndSimpleSectionProps, 'variant'>;
10
10
  conversion: ConversionSectionProps;
11
11
  insights: FeaturesSectionProps;
12
- trustPilot: ReactNode;
12
+ trustPilot?: ReactNode;
13
13
  askQuestions: Omit<BannerTagSectionProps, 'variant'>;
14
14
  faq: Omit<FaqSectionProps, 'className'>;
15
15
  toast?: ToastProps;
@@ -1,33 +1,33 @@
1
1
  import { jsxs as c, jsx as a } from "react/jsx-runtime";
2
- import { ConversionSection as s } from "./ConversionSection.js";
3
- import { Hero2Section as f } from "./Hero2Section.js";
2
+ import { ConversionSection as f } from "./ConversionSection.js";
3
+ import { Hero2Section as s } from "./Hero2Section.js";
4
4
  import { HowItWorksSection as x } from "./HowItWorksSection.js";
5
5
  import { FastAndSimpleSection as g } from "./FastAndSimpleSection.js";
6
- import { FeaturesSection as u } from "./FeaturesSection.js";
7
- import { BannerTagSection as S } from "./BannerTagSection.js";
6
+ import { FeaturesSection as S } from "./FeaturesSection.js";
7
+ import { BannerTagSection as u } from "./BannerTagSection.js";
8
8
  import { FaqSection as v } from "./FaqSection.js";
9
9
  import { Toast as w } from "./Toast.js";
10
- const H = ({
11
- hero: o,
12
- howItWorks: t,
13
- fastAndSimple: i,
14
- conversion: e,
15
- insights: m,
16
- trustPilot: n,
10
+ const B = ({
11
+ hero: e,
12
+ howItWorks: i,
13
+ fastAndSimple: t,
14
+ conversion: m,
15
+ insights: n,
16
+ trustPilot: r,
17
17
  askQuestions: l,
18
18
  faq: p,
19
- toast: r
19
+ toast: o
20
20
  }) => /* @__PURE__ */ c("main", { className: "bg-neutral-25 w-full flex-1", children: [
21
- /* @__PURE__ */ a(f, { ...o, variant: "ratafia" }),
22
- /* @__PURE__ */ a(x, { ...t, variant: "ratafia" }),
23
- /* @__PURE__ */ a(g, { ...i, variant: "ratafia" }),
24
- /* @__PURE__ */ a(u, { ...m }),
25
- /* @__PURE__ */ a(s, { ...e }),
26
- /* @__PURE__ */ a("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ a("div", { className: "mx-auto w-full max-w-254 md:h-34", children: n }) }),
27
- /* @__PURE__ */ a(S, { ...l, variant: "ratafia" }),
21
+ /* @__PURE__ */ a(s, { ...e, variant: "ratafia" }),
22
+ /* @__PURE__ */ a(x, { ...i, variant: "ratafia" }),
23
+ /* @__PURE__ */ a(g, { ...t, variant: "ratafia" }),
24
+ /* @__PURE__ */ a(S, { ...n }),
25
+ /* @__PURE__ */ a(f, { ...m }),
26
+ !!r && /* @__PURE__ */ a("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ a("div", { className: "mx-auto w-full max-w-254 md:h-34", children: r }) }),
27
+ /* @__PURE__ */ a(u, { ...l, variant: "ratafia" }),
28
28
  /* @__PURE__ */ a(v, { ...p, className: "mx-auto max-w-250 px-6 py-12 lg:px-8 lg:pb-20 xl:px-0" }),
29
- r && /* @__PURE__ */ a(w, { ...r })
29
+ o && /* @__PURE__ */ a(w, { ...o })
30
30
  ] });
31
31
  export {
32
- H as AiLegalDocumentReviewerTemplate
32
+ B as AiLegalDocumentReviewerTemplate
33
33
  };
@@ -21,7 +21,7 @@ export declare interface ElectronicSignatureTemplateProps {
21
21
  howItWorks: Omit<HowItWorksSectionProps, 'variant'>;
22
22
  fastAndSimple: Omit<FastAndSimpleSectionProps, 'variant'>;
23
23
  benefits: FeaturesSectionProps;
24
- trustPilot: ReactNode;
24
+ trustPilot?: ReactNode;
25
25
  signAndSend: Omit<BannerTagSectionProps, 'variant'>;
26
26
  faq: Omit<FaqSectionProps, 'className'>;
27
27
  toast?: ToastProps;
@@ -1,29 +1,29 @@
1
- import { jsxs as p, jsx as i } from "react/jsx-runtime";
1
+ import { jsxs as p, jsx as e } from "react/jsx-runtime";
2
2
  import { Hero2Section as s } from "./Hero2Section.js";
3
3
  import { HowItWorksSection as c } from "./HowItWorksSection.js";
4
4
  import { FastAndSimpleSection as x } from "./FastAndSimpleSection.js";
5
5
  import { FeaturesSection as g } from "./FeaturesSection.js";
6
6
  import { BannerTagSection as f } from "./BannerTagSection.js";
7
7
  import { Toast as S } from "./Toast.js";
8
- import { FaqSection as u } from "./FaqSection.js";
8
+ import { FaqSection as d } from "./FaqSection.js";
9
9
  const T = ({
10
- hero: o,
10
+ hero: a,
11
11
  howItWorks: r,
12
- fastAndSimple: t,
13
- benefits: a,
14
- trustPilot: m,
15
- signAndSend: n,
12
+ fastAndSimple: m,
13
+ benefits: n,
14
+ trustPilot: o,
15
+ signAndSend: t,
16
16
  faq: l,
17
- toast: e
17
+ toast: i
18
18
  }) => /* @__PURE__ */ p("main", { className: "bg-neutral-25 w-full flex-1", children: [
19
- /* @__PURE__ */ i(s, { ...o, variant: "esign" }),
20
- /* @__PURE__ */ i(c, { ...r, variant: "esign" }),
21
- /* @__PURE__ */ i(x, { ...t, variant: "esign" }),
22
- /* @__PURE__ */ i(g, { ...a }),
23
- /* @__PURE__ */ i("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ i("div", { className: "mx-auto w-full max-w-254 md:h-34", children: m }) }),
24
- /* @__PURE__ */ i(f, { ...n, variant: "esign" }),
25
- /* @__PURE__ */ i(u, { ...l, className: "mx-auto max-w-250 px-6 py-12 lg:px-8 lg:pb-20 xl:px-0" }),
26
- e && /* @__PURE__ */ i(S, { ...e })
19
+ /* @__PURE__ */ e(s, { ...a, variant: "esign" }),
20
+ /* @__PURE__ */ e(c, { ...r, variant: "esign" }),
21
+ /* @__PURE__ */ e(x, { ...m, variant: "esign" }),
22
+ /* @__PURE__ */ e(g, { ...n }),
23
+ !!o && /* @__PURE__ */ e("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ e("div", { className: "mx-auto w-full max-w-254 md:h-34", children: o }) }),
24
+ /* @__PURE__ */ e(f, { ...t, variant: "esign" }),
25
+ /* @__PURE__ */ e(d, { ...l, className: "mx-auto max-w-250 px-6 py-12 lg:px-8 lg:pb-20 xl:px-0" }),
26
+ i && /* @__PURE__ */ e(S, { ...i })
27
27
  ] });
28
28
  export {
29
29
  T as ElectronicSignatureTemplate
@@ -26,7 +26,7 @@ export declare interface FooterProps {
26
26
  legalLinks?: ReactNode[];
27
27
  disclaimerText?: string;
28
28
  copyrightText?: string;
29
- trustPilotWidget?: ReactNode;
29
+ trustPilot?: ReactNode;
30
30
  languageSelector?: ReactNode;
31
31
  }
32
32
 
@@ -1,8 +1,8 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import { PhoneButton as o } from "./PhoneButton.js";
4
- import { FooterNav as h } from "./FooterNav.js";
5
- const v = ({
4
+ import { FooterNav as p } from "./FooterNav.js";
5
+ const g = ({
6
6
  nav: r,
7
7
  contactInfo: t,
8
8
  logoGray: i,
@@ -10,11 +10,11 @@ const v = ({
10
10
  legalLinks: c,
11
11
  disclaimerText: x,
12
12
  copyrightText: n,
13
- trustPilotWidget: s,
13
+ trustPilot: s,
14
14
  languageSelector: m
15
15
  }) => /* @__PURE__ */ l("footer", { className: "text-neutral-25", children: [
16
16
  /* @__PURE__ */ e("div", { className: "bg-primary-900", children: /* @__PURE__ */ l("div", { className: "mx-auto flex w-full max-w-300 flex-col items-start gap-8 px-6 py-10 md:grid md:grid-cols-3 lg:flex lg:flex-row lg:justify-between", children: [
17
- r.map((a) => /* @__PURE__ */ e(h, { ...a }, a.title)),
17
+ r.map((a) => /* @__PURE__ */ e(p, { ...a }, a.title)),
18
18
  /* @__PURE__ */ l("div", { className: "flex flex-col gap-6 max-sm:w-full md:contents lg:flex", children: [
19
19
  /* @__PURE__ */ l("div", { className: "", children: [
20
20
  /* @__PURE__ */ e("div", { className: "mb-8 xl:hidden", children: !!m && /* @__PURE__ */ e("div", { className: "language-selector-mobile-container", children: m }) }),
@@ -28,7 +28,7 @@ const v = ({
28
28
  ] })
29
29
  ] })
30
30
  ] }),
31
- /* @__PURE__ */ e("div", { className: "flex flex-col gap-2", children: !!s && /* @__PURE__ */ e("div", { children: s }) })
31
+ !!s && /* @__PURE__ */ e("div", { className: "flex flex-col gap-2", children: s })
32
32
  ] })
33
33
  ] }) }),
34
34
  /* @__PURE__ */ e("div", { className: "bg-neutral-900 px-6 py-8 text-neutral-400", children: /* @__PURE__ */ l("div", { className: "mx-auto flex w-full max-w-300 flex-col gap-6", children: [
@@ -43,5 +43,5 @@ const v = ({
43
43
  ] }) })
44
44
  ] });
45
45
  export {
46
- v as Footer
46
+ g as Footer
47
47
  };
@@ -116,6 +116,6 @@ export interface TrustSectionProps {
116
116
  header: SectionHeadingProps;
117
117
  trustReasons: string[];
118
118
  cta: ReactNode;
119
- trustPilot: ReactNode;
119
+ trustPilot?: ReactNode;
120
120
  }
121
121
 
@@ -3,7 +3,7 @@ import { JSX } from 'react/jsx-runtime';
3
3
  export declare const TrustPilotSection: ({ trustPilot, content, title }: TrustPilotSectionProps) => JSX.Element;
4
4
 
5
5
  export declare interface TrustPilotSectionProps {
6
- trustPilot: React.ReactNode;
6
+ trustPilot?: React.ReactNode;
7
7
  content: string;
8
8
  title: string;
9
9
  }
@@ -1,12 +1,12 @@
1
- import { jsxs as e, jsx as t } from "react/jsx-runtime";
2
- import { Markdown as r } from "./Markdown.js";
3
- const o = ({ trustPilot: l, content: a, title: s }) => /* @__PURE__ */ e("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: [
4
- /* @__PURE__ */ e("div", { className: "mx-auto w-fit", children: [
5
- /* @__PURE__ */ t("h2", { className: "text-super-large mb-8 text-center font-bold text-neutral-800", children: s }),
6
- /* @__PURE__ */ t(r, { content: a, variant: "about-us", className: "mx-auto" })
1
+ import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
+ import { Markdown as x } from "./Markdown.js";
3
+ const c = ({ trustPilot: l, content: a, title: s }) => /* @__PURE__ */ t("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: [
4
+ /* @__PURE__ */ t("div", { className: "mx-auto w-fit", children: [
5
+ /* @__PURE__ */ e("h2", { className: "text-super-large mb-8 text-center font-bold text-neutral-800", children: s }),
6
+ /* @__PURE__ */ e(x, { content: a, variant: "about-us", className: "mx-auto" })
7
7
  ] }),
8
- /* @__PURE__ */ t("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ t("div", { className: "mx-auto w-full max-w-6xl md:h-34", children: l }) })
8
+ !!l && /* @__PURE__ */ e("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ e("div", { className: "mx-auto w-full max-w-6xl md:h-34", children: l }) })
9
9
  ] });
10
10
  export {
11
- o as TrustPilotSection
11
+ c as TrustPilotSection
12
12
  };
@@ -16,6 +16,6 @@ export declare interface TrustSectionProps {
16
16
  header: SectionHeadingProps;
17
17
  trustReasons: string[];
18
18
  cta: ReactNode;
19
- trustPilot: ReactNode;
19
+ trustPilot?: ReactNode;
20
20
  }
21
21
 
@@ -3,16 +3,16 @@ import "react";
3
3
  import { SectionHeading as s } from "./SectionHeading.js";
4
4
  import { DoneCircleIcon as t } from "./DoneCircleIcon.js";
5
5
  import { LinkWrapper as d } from "./LinkWrapper.js";
6
- const h = ({ header: r, trustReasons: c, cta: m, trustPilot: a }) => /* @__PURE__ */ l("section", { className: "mx-auto flex flex-col items-center gap-14 px-6 py-10 lg:px-8 lg:py-12 xl:max-w-300 xl:px-0", children: [
6
+ const h = ({ header: a, trustReasons: c, cta: m, trustPilot: i }) => /* @__PURE__ */ l("section", { className: "mx-auto flex flex-col items-center gap-14 px-6 py-10 lg:px-8 lg:py-12 xl:max-w-300 xl:px-0", children: [
7
7
  /* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-10", children: [
8
- /* @__PURE__ */ e(s, { ...r }),
9
- /* @__PURE__ */ e("div", { className: "flex flex-col gap-6 md:grid md:grid-cols-3", children: c.map((i) => /* @__PURE__ */ l("div", { className: "flex items-start gap-2", children: [
8
+ /* @__PURE__ */ e(s, { ...a }),
9
+ /* @__PURE__ */ e("div", { className: "flex flex-col gap-6 md:grid md:grid-cols-3", children: c.map((r) => /* @__PURE__ */ l("div", { className: "flex items-start gap-2", children: [
10
10
  /* @__PURE__ */ e("div", { className: "shrink-0", children: /* @__PURE__ */ e(t, { width: 32, height: 32 }) }),
11
- /* @__PURE__ */ e("p", { className: "text-neutral-600", children: i })
12
- ] }, i)) }),
11
+ /* @__PURE__ */ e("p", { className: "text-neutral-600", children: r })
12
+ ] }, r)) }),
13
13
  /* @__PURE__ */ e(d, { className: "w-full md:w-fit", children: m })
14
14
  ] }),
15
- /* @__PURE__ */ e("div", { className: "w-full max-w-254 md:h-34", children: a })
15
+ !!i && /* @__PURE__ */ e("div", { className: "w-full max-w-254 md:h-34", children: i })
16
16
  ] });
17
17
  export {
18
18
  h as TrustSection
@@ -470,7 +470,7 @@ export declare interface FooterProps {
470
470
  legalLinks?: ReactNode[];
471
471
  disclaimerText?: string;
472
472
  copyrightText?: string;
473
- trustPilotWidget?: ReactNode;
473
+ trustPilot?: ReactNode;
474
474
  languageSelector?: ReactNode;
475
475
  }
476
476
 
@@ -1200,7 +1200,7 @@ export declare const TrustedIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
1200
1200
  export declare const TrustPilotSection: ({ trustPilot, content, title }: TrustPilotSectionProps) => JSX.Element;
1201
1201
 
1202
1202
  export declare interface TrustPilotSectionProps {
1203
- trustPilot: React.ReactNode;
1203
+ trustPilot?: React.ReactNode;
1204
1204
  content: string;
1205
1205
  title: string;
1206
1206
  }
@@ -1211,7 +1211,7 @@ export declare interface TrustSectionProps {
1211
1211
  header: SectionHeadingProps;
1212
1212
  trustReasons: string[];
1213
1213
  cta: ReactNode;
1214
- trustPilot: ReactNode;
1214
+ trustPilot?: ReactNode;
1215
1215
  }
1216
1216
 
1217
1217
  export declare const TryNowSection: FC<TryNowSectionProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-contracts-ui",
3
- "version": "0.116.2",
3
+ "version": "0.116.3",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",