@npm_leadtech/legal-contracts-ui 0.91.2 → 0.91.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.
@@ -116,6 +116,6 @@ export interface UploadZoneProps {
116
116
  disclaimer: string;
117
117
  containerClassName?: string;
118
118
  onAddDocument?: () => void;
119
- onDropDocument?: (e: React.DragEvent<HTMLDivElement>) => void;
119
+ onDropDocument?: () => void;
120
120
  }
121
121
 
@@ -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
  };
@@ -115,6 +115,6 @@ export interface UploadZoneProps {
115
115
  disclaimer: string;
116
116
  containerClassName?: string;
117
117
  onAddDocument?: () => void;
118
- onDropDocument?: (e: React.DragEvent<HTMLDivElement>) => void;
118
+ onDropDocument?: () => void;
119
119
  }
120
120
 
@@ -1,27 +1,27 @@
1
- import { jsxs as l, jsx as e } from "react/jsx-runtime";
1
+ 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";
7
- import { FaqSection as g } from "./FaqSection.js";
8
- const y = ({
9
- hero: o,
10
- howItWorks: t,
11
- fastAndSimple: i,
12
- benefits: r,
5
+ import { FeaturesSection as f } from "./FeaturesSection.js";
6
+ import { BannerTagSection as x } from "./BannerTagSection.js";
7
+ import { FaqSection as S } from "./FaqSection.js";
8
+ const N = ({
9
+ hero: r,
10
+ howItWorks: e,
11
+ fastAndSimple: t,
12
+ benefits: i,
13
13
  trustPilot: m,
14
14
  signAndSend: a,
15
15
  faq: n
16
- }) => /* @__PURE__ */ l("main", { className: "bg-neutral-25 w-full flex-1", children: [
17
- /* @__PURE__ */ e(s, { ...o, variant: "esign" }),
18
- /* @__PURE__ */ e(c, { ...t }),
19
- /* @__PURE__ */ e(p, { ...i, variant: "esign" }),
20
- /* @__PURE__ */ e(x, { ...r }),
21
- /* @__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: m }) }),
22
- /* @__PURE__ */ e(f, { ...a }),
23
- /* @__PURE__ */ e(g, { ...n, className: "mx-auto max-w-4xl px-4 py-16" })
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 }),
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
  };
@@ -1,15 +1,22 @@
1
- import { jsx as e, jsxs as a } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
2
  import { SectionHeading as n } from "./SectionHeading.js";
3
- const c = ({ header: t, experts: l }) => l.length === 0 ? null : /* @__PURE__ */ e("section", { className: "bg-primary-50 px-4 py-16", children: /* @__PURE__ */ a("div", { className: "mx-auto max-w-6xl space-y-10", children: [
4
- /* @__PURE__ */ e(n, { ...t }),
5
- /* @__PURE__ */ e("div", { className: "grid gap-6 md:grid-cols-2 lg:grid-cols-3", children: l.map((i) => /* @__PURE__ */ a("article", { className: "flex items-center gap-4 rounded-2xl bg-white p-4 shadow-sm", children: [
6
- i.image,
7
- /* @__PURE__ */ a("div", { children: [
8
- /* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-900", children: i.name }),
9
- /* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children: i.title })
10
- ] })
11
- ] }, i.name)) })
3
+ const r = ({ header: i, experts: a }) => a.length === 0 ? null : /* @__PURE__ */ e("section", { className: "bg-primary-50 px-6 pt-12 pb-8 md:pb-12", children: /* @__PURE__ */ l("div", { className: "mx-auto max-w-6xl xl:max-w-7xl", children: [
4
+ /* @__PURE__ */ e("div", { className: "mx-auto mb-20 w-11/12 text-center md:w-full", children: /* @__PURE__ */ e(n, { align: "center", ...i }) }),
5
+ /* @__PURE__ */ e("div", { className: "mt-8 flex flex-col items-center justify-center gap-8 md:flex-row md:flex-wrap", children: a.map((t) => /* @__PURE__ */ l(
6
+ "article",
7
+ {
8
+ className: "flex w-80 flex-row items-center justify-start gap-6 rounded-2xl bg-white p-4 shadow-sm lg:w-96",
9
+ children: [
10
+ /* @__PURE__ */ e("div", { className: "min-w-28 shrink-0 [&_img]:h-auto [&_img]:w-full [&_img]:rounded-lg", children: t.image }),
11
+ /* @__PURE__ */ l("div", { className: "flex flex-col items-start justify-start", children: [
12
+ /* @__PURE__ */ e("p", { className: "mb-2 w-3/4 min-w-fit font-sans text-lg leading-6 font-bold tracking-tight text-neutral-800", children: t.name }),
13
+ /* @__PURE__ */ e("p", { className: "font-sans text-base leading-snug font-normal tracking-tight text-neutral-800", children: t.title })
14
+ ] })
15
+ ]
16
+ },
17
+ t.name
18
+ )) })
12
19
  ] }) });
13
20
  export {
14
- c as ExpertsSection
21
+ r as ExpertsSection
15
22
  };
@@ -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
  )
@@ -26,6 +26,6 @@ export interface UploadZoneProps {
26
26
  disclaimer: string;
27
27
  containerClassName?: string;
28
28
  onAddDocument?: () => void;
29
- onDropDocument?: (e: React.DragEvent<HTMLDivElement>) => void;
29
+ onDropDocument?: () => void;
30
30
  }
31
31
 
@@ -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,
@@ -16,6 +16,6 @@ export declare interface UploadZoneProps {
16
16
  disclaimer: string;
17
17
  containerClassName?: string;
18
18
  onAddDocument?: () => void;
19
- onDropDocument?: (e: React.DragEvent<HTMLDivElement>) => void;
19
+ onDropDocument?: () => void;
20
20
  }
21
21
 
@@ -1,51 +1,46 @@
1
1
  "use client";
2
- import { jsxs as l, jsx as t } from "react/jsx-runtime";
3
- import { AddIcon as p } from "./AddIcon.js";
2
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
3
+ import { AddIcon as c } from "./AddIcon.js";
4
4
  import x from "clsx";
5
- import { Button as c } from "./Button.js";
5
+ import { Button as p } from "./Button.js";
6
6
  import { Markdown as d } from "./Markdown.js";
7
- const N = ({
7
+ const v = ({
8
8
  uploadPromptText: a,
9
- addDocumentLabel: n,
10
- fileSizeText: o,
11
- disclaimer: i,
12
- onAddDocument: r,
13
- onDropDocument: m,
14
- containerClassName: s = ""
9
+ addDocumentLabel: r,
10
+ fileSizeText: n,
11
+ disclaimer: o,
12
+ onAddDocument: t,
13
+ onDropDocument: i,
14
+ containerClassName: m = ""
15
15
  }) => /* @__PURE__ */ l(
16
16
  "div",
17
17
  {
18
- onDragOver: (e) => {
19
- e.preventDefault();
20
- },
21
- onDragEnter: (e) => {
22
- e.preventDefault();
23
- },
24
- onDrop: (e) => {
25
- e.preventDefault(), m?.(e);
18
+ onDragOver: (s) => {
19
+ s.preventDefault();
26
20
  },
21
+ onDrop: i,
27
22
  className: x(
28
- "group rounded-3xl bg-neutral-200/50 p-4 backdrop-blur-xs md:max-w-80 lg:max-w-120 xl:max-w-140",
29
- s
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
+ m
30
25
  ),
31
26
  children: [
32
- /* @__PURE__ */ t("input", { type: "file", id: "file-upload", className: "sr-only", onChange: r, multiple: !0 }),
27
+ /* @__PURE__ */ e("input", { type: "file", id: "file-upload", className: "sr-only", onChange: t, multiple: !0 }),
33
28
  /* @__PURE__ */ l("div", { className: "flex flex-col gap-14 rounded-2xl bg-white px-6 pt-14 pb-2 text-center", children: [
34
29
  /* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-10", children: [
35
- /* @__PURE__ */ t("p", { className: "text-medium text-neutral-400 transition-all duration-500 group-hover:text-neutral-900", children: a }),
36
- /* @__PURE__ */ l(c, { variant: "primary-green", className: "w-fit", onClick: r, children: [
37
- /* @__PURE__ */ t(p, {}),
38
- /* @__PURE__ */ t("span", { className: "text-medium font-bold", children: n })
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 })
39
34
  ] })
40
35
  ] }),
41
36
  /* @__PURE__ */ l("div", { className: "flex flex-col gap-2", children: [
42
- /* @__PURE__ */ t("p", { className: "text-extra-small text-nowrap text-neutral-400", children: o }),
43
- /* @__PURE__ */ t(d, { className: "text-tiny text-neutral-400 [&_a]:text-neutral-400", content: i })
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 })
44
39
  ] })
45
40
  ] })
46
41
  ]
47
42
  }
48
43
  );
49
44
  export {
50
- N as UploadZone
45
+ v as UploadZone
51
46
  };