@npm_leadtech/legal-contracts-ui 0.115.7 → 0.115.9
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,60 +1,50 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { Anchor as
|
|
6
|
-
import { Blockquote as
|
|
7
|
-
import { Code as
|
|
8
|
-
import { Header1 as
|
|
9
|
-
import { Header2 as
|
|
10
|
-
import { Header3 as
|
|
11
|
-
import { Header4 as
|
|
12
|
-
import { OrderedList as
|
|
13
|
-
import { Paragraph as
|
|
14
|
-
import { TableRow as w, TableHeader as
|
|
15
|
-
import { UnorderedList as
|
|
16
|
-
import { Video as
|
|
17
|
-
import { Emphasis as
|
|
18
|
-
import
|
|
19
|
-
const
|
|
2
|
+
import a, { defaultUrlTransform as s } from "react-markdown";
|
|
3
|
+
import i from "rehype-raw";
|
|
4
|
+
import l from "remark-gfm";
|
|
5
|
+
import { Anchor as f } from "./Anchor.js";
|
|
6
|
+
import { Blockquote as c } from "./Blockquote.js";
|
|
7
|
+
import { Code as d } from "./Code.js";
|
|
8
|
+
import { Header1 as h } from "./Header1.js";
|
|
9
|
+
import { Header2 as u } from "./Header2.js";
|
|
10
|
+
import { Header3 as C } from "./Header3.js";
|
|
11
|
+
import { Header4 as b } from "./Header4.js";
|
|
12
|
+
import { OrderedList as k } from "./OrderedList.js";
|
|
13
|
+
import { Paragraph as T } from "./Paragraph.js";
|
|
14
|
+
import { TableRow as w, TableHeader as g, TableData as H, Table as q } from "./Table.js";
|
|
15
|
+
import { UnorderedList as x } from "./UnorderedList.js";
|
|
16
|
+
import { Video as P } from "./Video.js";
|
|
17
|
+
import { Emphasis as R } from "./Emphasis.js";
|
|
18
|
+
import U from "clsx";
|
|
19
|
+
const y = (m) => m.startsWith("tel:") ? m : s(m), v = ({ content: m, className: t = "", useCustom: n = !0, variant: e = "default" }) => {
|
|
20
20
|
const p = {
|
|
21
|
-
h1:
|
|
22
|
-
h2: (o) => /* @__PURE__ */ r(
|
|
23
|
-
h3:
|
|
24
|
-
h4:
|
|
25
|
-
p: (o) => /* @__PURE__ */ r(
|
|
26
|
-
a: (o) => /* @__PURE__ */ r(
|
|
27
|
-
ul: (o) => /* @__PURE__ */ r(
|
|
28
|
-
ol: (o) => /* @__PURE__ */ r(
|
|
29
|
-
code:
|
|
30
|
-
blockquote: (o) => /* @__PURE__ */ r(
|
|
31
|
-
video:
|
|
32
|
-
table:
|
|
33
|
-
td:
|
|
34
|
-
th:
|
|
21
|
+
h1: h,
|
|
22
|
+
h2: (o) => /* @__PURE__ */ r(u, { variant: e, ...o }),
|
|
23
|
+
h3: C,
|
|
24
|
+
h4: b,
|
|
25
|
+
p: (o) => /* @__PURE__ */ r(T, { variant: e, ...o }),
|
|
26
|
+
a: (o) => /* @__PURE__ */ r(f, { variant: e, ...o }),
|
|
27
|
+
ul: (o) => /* @__PURE__ */ r(x, { variant: e, ...o }),
|
|
28
|
+
ol: (o) => /* @__PURE__ */ r(k, { variant: e, ...o }),
|
|
29
|
+
code: d,
|
|
30
|
+
blockquote: (o) => /* @__PURE__ */ r(c, { variant: e, ...o }),
|
|
31
|
+
video: P,
|
|
32
|
+
table: q,
|
|
33
|
+
td: H,
|
|
34
|
+
th: g,
|
|
35
35
|
tr: w,
|
|
36
|
-
em:
|
|
36
|
+
em: R
|
|
37
37
|
};
|
|
38
|
-
return /* @__PURE__ */ r(
|
|
39
|
-
|
|
38
|
+
return /* @__PURE__ */ r("div", { className: U("w-full min-w-0", t), children: /* @__PURE__ */ r(
|
|
39
|
+
a,
|
|
40
40
|
{
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
children: /* @__PURE__ */ r(
|
|
47
|
-
l,
|
|
48
|
-
{
|
|
49
|
-
rehypePlugins: [a],
|
|
50
|
-
remarkPlugins: [s],
|
|
51
|
-
urlTransform: U,
|
|
52
|
-
components: n ? p : void 0,
|
|
53
|
-
children: e
|
|
54
|
-
}
|
|
55
|
-
)
|
|
41
|
+
rehypePlugins: [i],
|
|
42
|
+
remarkPlugins: [l],
|
|
43
|
+
urlTransform: y,
|
|
44
|
+
components: n ? p : void 0,
|
|
45
|
+
children: m
|
|
56
46
|
}
|
|
57
|
-
);
|
|
47
|
+
) });
|
|
58
48
|
};
|
|
59
49
|
export {
|
|
60
50
|
v as Markdown
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
default: "",
|
|
5
|
-
legal: "text-neutral-800 last:mb-0 tracking-tight",
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import l from "clsx";
|
|
3
|
+
const m = ({ variant: t = "default", children: a }) => /* @__PURE__ */ e("p", { className: l({
|
|
4
|
+
default: "mb-4",
|
|
5
|
+
legal: "mb-4 text-neutral-800 last:mb-0 tracking-tight",
|
|
6
|
+
tooltip: "mb-4",
|
|
7
|
+
"about-us": "mb-4",
|
|
8
|
+
pricing: "mb-4",
|
|
6
9
|
unsubscribe: "mb-0 w-full rounded-lg bg-neutral-25 px-6 pb-6 text-left text-base leading-6 text-neutral-800 md:text-lg lg:px-ds-11xl"
|
|
7
|
-
}[t]), children:
|
|
10
|
+
}[t]), children: a });
|
|
8
11
|
export {
|
|
9
|
-
|
|
12
|
+
m as Paragraph
|
|
10
13
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Jumbotron3 as
|
|
3
|
-
import { Markdown as
|
|
4
|
-
const
|
|
5
|
-
/* @__PURE__ */
|
|
6
|
-
/* @__PURE__ */
|
|
1
|
+
import { jsxs as i, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { Jumbotron3 as r } from "./Jumbotron3.js";
|
|
3
|
+
import { Markdown as a } from "./Markdown.js";
|
|
4
|
+
const n = ({ jumbotron: m, stepDescription: e }) => /* @__PURE__ */ i("main", { className: "flex min-h-screen flex-1 flex-col bg-white", children: [
|
|
5
|
+
/* @__PURE__ */ l("div", { className: "bg-primary-50 w-full", children: /* @__PURE__ */ l(r, { ...m, className: "pt-10 pb-20" }) }),
|
|
6
|
+
/* @__PURE__ */ l("div", { className: "mx-auto w-full max-w-300", children: /* @__PURE__ */ l("section", { className: "[&_img]:bg-neutral-25 mb-16 w-full overflow-hidden rounded-lg bg-white px-6 md:mb-12 lg:px-8 xl:px-12 2xl:px-16 [&_h2+p]:pt-6 [&_img]:mx-auto [&_img]:block [&_img]:h-auto [&_img]:w-full [&_img]:max-w-full [&_p+h2]:mt-0", children: /* @__PURE__ */ l(a, { ...e, variant: "unsubscribe" }) }) })
|
|
7
7
|
] });
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
n as UnsubscribeTemplate
|
|
10
10
|
};
|