@npm_leadtech/legal-contracts-ui 0.90.3 → 0.91.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.
@@ -1,29 +1,29 @@
1
1
  import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
- import n from "clsx";
3
- import { Markdown as d } from "./Markdown.js";
2
+ import s from "clsx";
3
+ import { Markdown as n } from "./Markdown.js";
4
4
  import { LinkWrapper as m } from "./LinkWrapper.js";
5
- const s = ({ title: r, icon: a, variant: i, className: o = "" }) => /* @__PURE__ */ t("div", { className: n("text-small flex items-center gap-1 rounded shadow-lg", {
5
+ const d = ({ title: r, icon: a, variant: o, className: i = "" }) => /* @__PURE__ */ t("div", { className: s("text-small flex items-center gap-1 rounded shadow-lg", {
6
6
  default: "text-neutral-600 bg-neutral-25 p-2",
7
7
  highlight: "text-primary-500 font-bold bg-primary-100 border border-primary-300 p-1",
8
8
  dark: "text-white font-bold bg-primary-800 p-2"
9
- }[i], o), children: [
9
+ }[o], i), children: [
10
10
  a,
11
11
  r
12
- ] }), b = ({ title: r, description: a, cta: i, rightImage: o, tags: l }) => /* @__PURE__ */ e("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ t("div", { className: "bg-neutral-25 mx-auto flex w-full max-w-298 rounded-2xl p-8 lg:gap-20 lg:px-16 lg:pt-12 lg:pb-0", children: [
12
+ ] }), g = ({ title: r, description: a, cta: o, rightImage: i, tags: l }) => /* @__PURE__ */ e("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ t("div", { className: "bg-neutral-25 mx-auto flex w-full max-w-298 rounded-2xl p-8 lg:gap-20 lg:px-16 lg:pt-12 lg:pb-0", children: [
13
13
  /* @__PURE__ */ t("div", { className: "flex flex-col gap-8 lg:pb-12", children: [
14
14
  /* @__PURE__ */ t("div", { className: "flex flex-col gap-4", children: [
15
15
  /* @__PURE__ */ e("h3", { className: "text-super-large text-primary-900 font-bold", children: r }),
16
- /* @__PURE__ */ e(d, { className: "text-medium text-neutral-800 [&_p:last-child]:mb-0", content: a })
16
+ /* @__PURE__ */ e(n, { className: "text-medium text-neutral-800 [&_p:last-child]:mb-0", content: a })
17
17
  ] }),
18
- /* @__PURE__ */ e(m, { className: "w-fit", variant: "primary-green", children: i })
18
+ /* @__PURE__ */ e(m, { className: "w-fit", variant: "primary-green", children: o })
19
19
  ] }),
20
20
  /* @__PURE__ */ t("div", { className: "relative hidden shrink-0 self-end lg:block", children: [
21
- /* @__PURE__ */ e("div", { className: "overflow-hidden", children: o }),
22
- l.top && /* @__PURE__ */ e(s, { ...l.top, className: "absolute -top-3 left-20" }),
23
- l.middle && /* @__PURE__ */ e(s, { ...l.middle, className: "absolute bottom-36 -left-4" }),
24
- l.bottom && /* @__PURE__ */ e(s, { ...l.bottom, className: "absolute top-19 -right-4" })
21
+ /* @__PURE__ */ e("div", { className: "overflow-hidden rounded-t-lg shadow", children: i }),
22
+ l.top && /* @__PURE__ */ e(d, { ...l.top, className: "absolute -top-3 left-20" }),
23
+ l.middle && /* @__PURE__ */ e(d, { ...l.middle, className: "absolute bottom-36 -left-4" }),
24
+ l.bottom && /* @__PURE__ */ e(d, { ...l.bottom, className: "absolute top-19 -right-4" })
25
25
  ] })
26
26
  ] }) });
27
27
  export {
28
- b as BannerTagSection
28
+ g as BannerTagSection
29
29
  };
@@ -2,26 +2,26 @@ import { jsxs as l, jsx as o } 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 p } from "./FastAndSimpleSection.js";
5
- import { FeaturesSection as x } from "./FeaturesSection.js";
6
- import { BannerTagSection as f } from "./BannerTagSection.js";
5
+ import { FeaturesSection as f } from "./FeaturesSection.js";
6
+ import { BannerTagSection as x } from "./BannerTagSection.js";
7
7
  import { FaqSection as S } from "./FaqSection.js";
8
- const y = ({
9
- hero: e,
10
- howItWorks: r,
8
+ const N = ({
9
+ hero: r,
10
+ howItWorks: e,
11
11
  fastAndSimple: t,
12
12
  benefits: i,
13
13
  trustPilot: m,
14
14
  signAndSend: a,
15
15
  faq: n
16
16
  }) => /* @__PURE__ */ l("main", { className: "w-full flex-1 bg-neutral-50", children: [
17
- /* @__PURE__ */ o(s, { ...e, variant: "esign" }),
18
- /* @__PURE__ */ o(c, { ...r }),
17
+ /* @__PURE__ */ o(s, { ...r, variant: "esign" }),
18
+ /* @__PURE__ */ o(c, { ...e }),
19
19
  /* @__PURE__ */ o(p, { ...t, variant: "esign" }),
20
- /* @__PURE__ */ o(x, { ...i }),
21
- /* @__PURE__ */ o("section", { className: "mx-auto px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ o("div", { className: "w-full max-w-254 md:h-34", children: m }) }),
22
- /* @__PURE__ */ o(f, { ...a }),
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 }),
23
23
  /* @__PURE__ */ o(S, { ...n, className: "mx-auto max-w-4xl px-4 py-16" })
24
24
  ] });
25
25
  export {
26
- y as ElectronicSignatureTemplate
26
+ N as ElectronicSignatureTemplate
27
27
  };
@@ -24,10 +24,7 @@ const g = ({
24
24
  /* @__PURE__ */ e(
25
25
  n,
26
26
  {
27
- className: t(
28
- "text-medium [&_a]:text-primary-700 [&_p:last-child]:mb-0",
29
- l ? "text-white" : "text-neutral-800"
30
- ),
27
+ className: t("text-medium [&_p:last-child]:mb-0", l ? "text-white" : "text-neutral-800"),
31
28
  content: s
32
29
  }
33
30
  )
@@ -1,24 +1,22 @@
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 })
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 }) })
18
16
  ] }),
19
- /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e("div", { className: "bg-secondary-50 rounded-3xl p-6", children: a.image }) })
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 }) })
20
18
  ] })
21
19
  ] }) });
22
20
  export {
23
- o as GuidelinesSection
21
+ c as GuidelinesSection
24
22
  };
@@ -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 [&_a]:text-primary-700 [&_p:last-child]:mb-0", content: i }),
7
+ /* @__PURE__ */ e(c, { className: "text-medium [&_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 t, jsx as e } from "react/jsx-runtime";
3
- import { AddIcon as x } from "./AddIcon.js";
4
- import c from "clsx";
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";
5
5
  import { Button as p } from "./Button.js";
6
6
  import { Markdown as d } from "./Markdown.js";
7
7
  const v = ({
8
- uploadPromptText: r,
9
- addDocumentLabel: a,
8
+ uploadPromptText: a,
9
+ addDocumentLabel: r,
10
10
  fileSizeText: n,
11
11
  disclaimer: o,
12
- onAddDocument: l,
12
+ onAddDocument: t,
13
13
  onDropDocument: i,
14
14
  containerClassName: m = ""
15
- }) => /* @__PURE__ */ t(
15
+ }) => /* @__PURE__ */ l(
16
16
  "div",
17
17
  {
18
18
  onDragOver: (s) => {
19
19
  s.preventDefault();
20
20
  },
21
21
  onDrop: i,
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",
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",
24
24
  m
25
25
  ),
26
26
  children: [
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 })
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 })
34
34
  ] })
35
35
  ] }),
36
- /* @__PURE__ */ t("div", { className: "flex flex-col gap-2", children: [
36
+ /* @__PURE__ */ l("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 [&_a]:text-neutral-400", content: o })
38
+ /* @__PURE__ */ e(d, { className: "text-tiny text-neutral-400", content: o })
39
39
  ] })
40
40
  ] })
41
41
  ]