@npm_leadtech/legal-contracts-ui 0.90.1 → 0.90.2

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.
@@ -1,27 +1,27 @@
1
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 { BannerTagSection as x } from "./BannerTagSection.js";
2
+ import { Hero2Section as p } from "./Hero2Section.js";
3
+ import { HowItWorksSection as s } from "./HowItWorksSection.js";
4
+ import { FastAndSimpleSection as c } from "./FastAndSimpleSection.js";
5
+ import { FeaturesSection as x } from "./FeaturesSection.js";
6
+ import { BannerTagSection as f } from "./BannerTagSection.js";
7
7
  import { FaqSection as S } from "./FaqSection.js";
8
- const N = ({
9
- hero: r,
10
- howItWorks: e,
8
+ const F = ({
9
+ hero: m,
10
+ howItWorks: r,
11
11
  fastAndSimple: t,
12
- benefits: i,
13
- trustPilot: m,
12
+ benefits: e,
13
+ trustPilot: i,
14
14
  signAndSend: a,
15
15
  faq: n
16
- }) => /* @__PURE__ */ l("main", { className: "w-full flex-1 bg-neutral-50", children: [
17
- /* @__PURE__ */ o(s, { ...r, variant: "esign" }),
18
- /* @__PURE__ */ o(c, { ...e }),
19
- /* @__PURE__ */ o(p, { ...t, variant: "esign" }),
20
- /* @__PURE__ */ o(f, { ...i }),
21
- /* @__PURE__ */ o("div", { className: "w-full max-w-254 md:h-34", children: m }),
22
- /* @__PURE__ */ o(x, { ...a }),
16
+ }) => /* @__PURE__ */ l("main", { className: "w-full flex-1", children: [
17
+ /* @__PURE__ */ o(p, { ...m, variant: "esign" }),
18
+ /* @__PURE__ */ o(s, { ...r }),
19
+ /* @__PURE__ */ o(c, { ...t, variant: "esign" }),
20
+ /* @__PURE__ */ o(x, { ...e }),
21
+ /* @__PURE__ */ o("div", { className: "mx-auto w-full max-w-254 px-6 py-8 md:h-34 lg:px-8 lg:py-12 xl:px-0", children: i }),
22
+ /* @__PURE__ */ o(f, { ...a }),
23
23
  /* @__PURE__ */ o(S, { ...n, className: "mx-auto max-w-4xl px-4 py-16" })
24
24
  ] });
25
25
  export {
26
- N as ElectronicSignatureTemplate
26
+ F as ElectronicSignatureTemplate
27
27
  };
@@ -24,7 +24,10 @@ const g = ({
24
24
  /* @__PURE__ */ e(
25
25
  n,
26
26
  {
27
- className: t("text-medium [&_p:last-child]:mb-0", l ? "text-white" : "text-neutral-800"),
27
+ className: t(
28
+ "text-medium [&_a]:text-primary-700 [&_p:last-child]:mb-0",
29
+ l ? "text-white" : "text-neutral-800"
30
+ ),
28
31
  content: s
29
32
  }
30
33
  )
@@ -1,22 +1,24 @@
1
- import { jsx as l, jsxs as a } from "react/jsx-runtime";
2
- import { SectionHeading as s } from "./SectionHeading.js";
3
- import { Button as r } from "./Button.js";
4
- const c = ({ header: i, guidelineCards: n, footerCard: e }) => /* @__PURE__ */ l("section", { className: "bg-neutral-25 py-8", children: /* @__PURE__ */ a("div", { className: "mx-auto w-full max-w-6xl px-4 md:px-6", children: [
5
- /* @__PURE__ */ l(s, { ...i, align: "start" }),
6
- /* @__PURE__ */ l("div", { className: "my-8 flex flex-col gap-6 lg:mt-8 lg:mb-4 lg:flex-row", children: n.map((t) => /* @__PURE__ */ a("article", { className: "flex flex-1 flex-col rounded-2xl bg-white p-6 shadow-sm", children: [
7
- /* @__PURE__ */ l("div", { className: "w-full rounded-2xl", children: t.image }),
8
- /* @__PURE__ */ l("p", { className: "my-6 font-sans text-lg leading-6 font-bold tracking-[-0.3px] text-neutral-800", children: t.title }),
9
- /* @__PURE__ */ l("div", { className: "font-sans text-base leading-[22px] text-neutral-800 [&_li]:mb-0 [&_ol]:mb-4 [&_ol]:ml-4 [&_ol]:list-decimal [&_ul]:mb-4 [&_ul]:ml-4 [&_ul]:list-disc", children: t.content })
10
- ] }, t.title)) }),
11
- /* @__PURE__ */ a("div", { className: "my-8 flex flex-col justify-between overflow-hidden rounded-2xl bg-white shadow-sm lg:mb-4 lg:flex-row lg:overflow-visible lg:p-6", children: [
12
- /* @__PURE__ */ a("div", { className: "order-2 flex flex-1 flex-col justify-start p-6 text-neutral-800 lg:order-1 lg:mr-12 lg:p-0", children: [
13
- /* @__PURE__ */ l("p", { className: "mb-4 font-sans text-[18px] leading-[24px] font-bold tracking-[-0.3px] text-neutral-800", children: e.title }),
14
- /* @__PURE__ */ l("div", { className: "[&_a]:text-primary-800 mb-6 font-sans text-[16px] leading-[22px] font-normal tracking-[-0.3px] [&_a]:font-normal", children: e.content }),
15
- /* @__PURE__ */ l("div", { className: "mt-10 self-start", children: /* @__PURE__ */ l(r, { size: "large", variant: "primary-darkgreen", ...e.cta }) })
1
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
+ import { SectionHeading as n } from "./SectionHeading.js";
3
+ import { Button as c } from "./Button.js";
4
+ const o = ({ header: t, guidelineCards: s, footerCard: a }) => /* @__PURE__ */ e("section", { className: "bg-neutral-25 px-4 py-16", children: /* @__PURE__ */ l("div", { className: "mx-auto max-w-6xl space-y-12", children: [
5
+ /* @__PURE__ */ e(n, { align: "start", ...t }),
6
+ /* @__PURE__ */ e("div", { className: "grid gap-6 lg:grid-cols-2 xl:grid-cols-3", children: s.map((i) => /* @__PURE__ */ l("article", { className: "flex h-full flex-col gap-6 rounded-2xl bg-white p-6 shadow-sm", children: [
7
+ /* @__PURE__ */ e("div", { className: "bg-neutral-25 h-40 w-full rounded-lg", children: i.image }),
8
+ /* @__PURE__ */ l("div", { className: "space-y-4", children: [
9
+ /* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-900", children: i.title }),
10
+ i.content
11
+ ] })
12
+ ] }, i.title)) }),
13
+ /* @__PURE__ */ l("div", { className: "flex flex-col gap-10 rounded-3xl bg-white p-8 shadow-sm lg:flex-row lg:items-center", children: [
14
+ /* @__PURE__ */ l("div", { className: "flex-1 space-y-4 text-neutral-800", children: [
15
+ /* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-900", children: a.title }),
16
+ a.content,
17
+ /* @__PURE__ */ e(c, { size: "large", variant: "primary-darkgreen", ...a.cta })
16
18
  ] }),
17
- /* @__PURE__ */ l("div", { className: "order-1 mb-8 w-full lg:order-2 lg:mb-0 lg:w-1/2", children: /* @__PURE__ */ l("div", { className: "w-full", children: e.image }) })
19
+ /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e("div", { className: "bg-secondary-50 rounded-3xl p-6", children: a.image }) })
18
20
  ] })
19
21
  ] }) });
20
22
  export {
21
- c as GuidelinesSection
23
+ o as GuidelinesSection
22
24
  };
@@ -4,7 +4,7 @@ const m = ({ media: a, title: d, description: i, steps: s }) => /* @__PURE__ */
4
4
  /* @__PURE__ */ e("div", { className: "relative order-2 overflow-hidden rounded-md shadow md:order-1 lg:mx-auto xl:shrink-0", children: a }),
5
5
  /* @__PURE__ */ l("div", { className: "order-1 flex flex-col gap-6 text-neutral-800 md:order-2", children: [
6
6
  /* @__PURE__ */ e("h2", { className: "text-super-large font-bold", children: d }),
7
- /* @__PURE__ */ e(c, { className: "text-medium [&_p:last-child]:mb-0", content: i }),
7
+ /* @__PURE__ */ e(c, { className: "text-medium [&_a]:text-primary-700 [&_p:last-child]:mb-0", content: i }),
8
8
  /* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-3 xl:grid-cols-1", children: s.map((r) => /* @__PURE__ */ e("article", { className: "bg-neutral-25 rounded p-6", children: /* @__PURE__ */ l("div", { className: "flex flex-col items-start gap-2", children: [
9
9
  /* @__PURE__ */ l("div", { className: "flex justify-center gap-2", children: [
10
10
  r.icon,
@@ -1,41 +1,41 @@
1
1
  "use client";
2
- import { jsxs as l, jsx as e } from "react/jsx-runtime";
3
- import { AddIcon as c } from "./AddIcon.js";
4
- import x from "clsx";
2
+ import { jsxs as t, jsx as e } from "react/jsx-runtime";
3
+ import { AddIcon as x } from "./AddIcon.js";
4
+ import c from "clsx";
5
5
  import { Button as p } from "./Button.js";
6
6
  import { Markdown as d } from "./Markdown.js";
7
7
  const v = ({
8
- uploadPromptText: a,
9
- addDocumentLabel: r,
8
+ uploadPromptText: r,
9
+ addDocumentLabel: a,
10
10
  fileSizeText: n,
11
11
  disclaimer: o,
12
- onAddDocument: t,
12
+ onAddDocument: l,
13
13
  onDropDocument: i,
14
14
  containerClassName: m = ""
15
- }) => /* @__PURE__ */ l(
15
+ }) => /* @__PURE__ */ t(
16
16
  "div",
17
17
  {
18
18
  onDragOver: (s) => {
19
19
  s.preventDefault();
20
20
  },
21
21
  onDrop: i,
22
- className: x(
23
- "rounded-3xl bg-neutral-200/50 p-4 backdrop-blur-xs md:max-w-80 lg:max-w-120 xl:max-w-140",
22
+ className: c(
23
+ "group rounded-3xl bg-neutral-200/50 p-4 backdrop-blur-xs md:max-w-80 lg:max-w-120 xl:max-w-140",
24
24
  m
25
25
  ),
26
26
  children: [
27
- /* @__PURE__ */ e("input", { type: "file", id: "file-upload", className: "sr-only", onChange: t, multiple: !0 }),
28
- /* @__PURE__ */ l("div", { className: "flex flex-col gap-14 rounded-2xl bg-white px-6 pt-14 pb-2 text-center", children: [
29
- /* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-10", children: [
30
- /* @__PURE__ */ e("p", { className: "text-medium text-neutral-400", children: a }),
31
- /* @__PURE__ */ l(p, { variant: "primary-green", className: "w-fit", onClick: t, children: [
32
- /* @__PURE__ */ e(c, {}),
33
- /* @__PURE__ */ e("span", { className: "text-medium font-bold", children: r })
27
+ /* @__PURE__ */ e("input", { type: "file", id: "file-upload", className: "sr-only", onChange: l, multiple: !0 }),
28
+ /* @__PURE__ */ t("div", { className: "flex flex-col gap-14 rounded-2xl bg-white px-6 pt-14 pb-2 text-center", children: [
29
+ /* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-10", children: [
30
+ /* @__PURE__ */ e("p", { className: "text-medium text-neutral-400 transition-all duration-500 group-hover:text-neutral-900", children: r }),
31
+ /* @__PURE__ */ t(p, { variant: "primary-green", className: "w-fit", onClick: l, children: [
32
+ /* @__PURE__ */ e(x, {}),
33
+ /* @__PURE__ */ e("span", { className: "text-medium font-bold", children: a })
34
34
  ] })
35
35
  ] }),
36
- /* @__PURE__ */ l("div", { className: "flex flex-col gap-2", children: [
36
+ /* @__PURE__ */ t("div", { className: "flex flex-col gap-2", children: [
37
37
  /* @__PURE__ */ e("p", { className: "text-extra-small text-nowrap text-neutral-400", children: n }),
38
- /* @__PURE__ */ e(d, { className: "text-tiny text-neutral-400", content: o })
38
+ /* @__PURE__ */ e(d, { className: "text-tiny text-neutral-400 [&_a]:text-neutral-400", content: o })
39
39
  ] })
40
40
  ] })
41
41
  ]