@npm_leadtech/legal-contracts-ui 0.110.4 → 0.111.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.
- package/dist/components/Anchor.d.ts +1 -1
- package/dist/components/Anchor.js +14 -15
- package/dist/components/Blockquote.d.ts +1 -1
- package/dist/components/Blockquote.js +5 -6
- package/dist/components/Header2.d.ts +1 -1
- package/dist/components/Header2.js +6 -7
- package/dist/components/Jumbotron3.d.ts +0 -2
- package/dist/components/Jumbotron3.js +2 -2
- package/dist/components/LegalTemplate.d.ts +0 -2
- package/dist/components/LegalesTemplate.d.ts +0 -2
- package/dist/components/Markdown.d.ts +1 -1
- package/dist/components/Markdown.js +37 -47
- package/dist/components/OrderedList.d.ts +1 -1
- package/dist/components/OrderedList.js +3 -4
- package/dist/components/Paragraph.d.ts +1 -1
- package/dist/components/Paragraph.js +6 -7
- package/dist/components/PricingOfferingsSection.js +8 -8
- package/dist/components/PricingTemplate.js +15 -15
- package/dist/components/UiComponents.d.ts +6 -6
- package/dist/components/UnorderedList.d.ts +1 -1
- package/dist/components/UnorderedList.js +6 -8
- package/dist/components/UnsubscribeTemplate.d.ts +1 -7
- package/dist/components/UnsubscribeTemplate.js +7 -7
- package/dist/globals.css +1 -1
- package/package.json +1 -1
- package/dist/components/index.d.ts +0 -1265
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const Anchor: ({ children, variant, className, ...props }: AnchorProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface AnchorProps extends React.ComponentProps<'a'> {
|
|
6
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us'
|
|
6
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
const t =
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import p from "clsx";
|
|
3
|
+
const v = ({ children: o, variant: i = "default", className: c = "", ...e }) => {
|
|
4
|
+
const t = e.href || "", r = t.toLowerCase(), l = r.startsWith("mailto:"), a = r.startsWith("tel:"), n = {
|
|
5
5
|
default: "text-neutral-900 underline ",
|
|
6
6
|
legal: "text-primary-700 cursor-pointer",
|
|
7
|
-
"about-us": "text-primary-700 cursor-pointer"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
if (!s) return t;
|
|
7
|
+
"about-us": "text-primary-700 cursor-pointer"
|
|
8
|
+
}, f = n[i] ?? n.default, s = t.startsWith("http") && !a && !l, u = (() => {
|
|
9
|
+
if (!a) return t;
|
|
11
10
|
try {
|
|
12
11
|
return decodeURIComponent(t).replace(/\s/g, "");
|
|
13
12
|
} catch {
|
|
14
13
|
return t.replace(/%20/g, "").replace(/\s/g, "");
|
|
15
14
|
}
|
|
16
15
|
})();
|
|
17
|
-
return /* @__PURE__ */
|
|
16
|
+
return /* @__PURE__ */ d(
|
|
18
17
|
"a",
|
|
19
18
|
{
|
|
20
|
-
...
|
|
21
|
-
href:
|
|
22
|
-
className:
|
|
23
|
-
target:
|
|
24
|
-
rel:
|
|
19
|
+
...e,
|
|
20
|
+
href: u,
|
|
21
|
+
className: p(c, f),
|
|
22
|
+
target: s ? "_blank" : void 0,
|
|
23
|
+
rel: s ? "noopener noreferrer" : void 0,
|
|
25
24
|
children: o
|
|
26
25
|
}
|
|
27
26
|
);
|
|
28
27
|
};
|
|
29
28
|
export {
|
|
30
|
-
|
|
29
|
+
v as Anchor
|
|
31
30
|
};
|
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const Blockquote: ({ children, variant }: BlockquoteProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface BlockquoteProps extends React.ComponentProps<'blockquote'> {
|
|
6
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us'
|
|
6
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
const
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
const l = ({ children: t, variant: a = "default" }) => /* @__PURE__ */ r("blockquote", { className: {
|
|
3
3
|
default: "my-4 border-l-4 border-gray-300 pl-4 text-gray-700 italic",
|
|
4
|
-
"about-us": "my-4 text-gray-700 italic bg-neutral-25 pt-4 px-4 pb-0.5"
|
|
5
|
-
|
|
6
|
-
}[r], children: t });
|
|
4
|
+
"about-us": "my-4 text-gray-700 italic bg-neutral-25 pt-4 px-4 pb-0.5"
|
|
5
|
+
}[a], children: t });
|
|
7
6
|
export {
|
|
8
|
-
|
|
7
|
+
l as Blockquote
|
|
9
8
|
};
|
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const Header2: ({ children, variant }: Header2Props) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface Header2Props extends React.ComponentProps<'h2'> {
|
|
6
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us'
|
|
6
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import r from "clsx";
|
|
3
|
+
const s = ({ children: t, variant: a = "default" }) => /* @__PURE__ */ e("h2", { className: r("mt-5 text-3xl font-bold", {
|
|
4
4
|
default: "mb-3 text-gray-900",
|
|
5
|
-
legal: "
|
|
6
|
-
|
|
7
|
-
}[t]), children: e });
|
|
5
|
+
legal: "mb-6 text-neutral-800"
|
|
6
|
+
}[a]), children: t });
|
|
8
7
|
export {
|
|
9
|
-
|
|
8
|
+
s as Header2
|
|
10
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
const
|
|
2
|
+
const a = ({ title: r }) => /* @__PURE__ */ e("section", { className: "bg-primary-50 py-14", children: /* @__PURE__ */ e("div", { className: "mx-auto max-w-4xl text-center", children: /* @__PURE__ */ e("p", { className: "font-lora text-super-hero text-neutral-900", children: r }) }) });
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
a as Jumbotron3
|
|
5
5
|
};
|
|
@@ -1,60 +1,50 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import a, { defaultUrlTransform as s } from "react-markdown";
|
|
3
3
|
import i from "rehype-raw";
|
|
4
|
-
import
|
|
5
|
-
import { Anchor as
|
|
4
|
+
import l from "remark-gfm";
|
|
5
|
+
import { Anchor as f } from "./Anchor.js";
|
|
6
6
|
import { Blockquote as c } from "./Blockquote.js";
|
|
7
7
|
import { Code as d } from "./Code.js";
|
|
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
|
|
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(
|
|
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
29
|
code: d,
|
|
30
|
-
blockquote: (o) => /* @__PURE__ */ r(c, { variant:
|
|
31
|
-
video:
|
|
32
|
-
table:
|
|
33
|
-
td:
|
|
34
|
-
th:
|
|
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: [i],
|
|
50
|
-
remarkPlugins: [f],
|
|
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
|
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const OrderedList: ({ variant, children }: OrderedListProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface OrderedListProps extends React.ComponentProps<'ol'> {
|
|
6
|
-
variant?: 'default' | 'tooltip' | 'legal' | 'about-us'
|
|
6
|
+
variant?: 'default' | 'tooltip' | 'legal' | 'about-us';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
const i = ({ variant: t = "default", children: e }) => /* @__PURE__ */
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
const i = ({ variant: t = "default", children: e }) => /* @__PURE__ */ s("ol", { className: {
|
|
3
3
|
default: "mb-4 list-inside list-decimal text-gray-900 space-y-2",
|
|
4
|
-
legal: "list-outside list-decimal pl-8 mb-4 text-neutral-800 space-y-4"
|
|
5
|
-
unsubscribe: "mb-4 w-full list-outside list-decimal space-y-2 px-8 pl-10 text-neutral-800 md:px-8 lg:px-[8rem]"
|
|
4
|
+
legal: "list-outside list-decimal pl-8 mb-4 text-neutral-800 space-y-4"
|
|
6
5
|
}[t], children: e });
|
|
7
6
|
export {
|
|
8
7
|
i as OrderedList
|
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const Paragraph: ({ variant, children }: ParagraphProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface ParagraphProps extends React.ComponentProps<'p'> {
|
|
6
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us'
|
|
6
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import s from "clsx";
|
|
3
|
+
const n = ({ variant: t = "default", children: a }) => /* @__PURE__ */ r("p", { className: s("mb-4", {
|
|
4
4
|
default: "",
|
|
5
|
-
legal: "text-neutral-800 last:mb-0 tracking-tight"
|
|
6
|
-
|
|
7
|
-
}[t]), children: e });
|
|
5
|
+
legal: "text-neutral-800 last:mb-0 tracking-tight"
|
|
6
|
+
}[t]), children: a });
|
|
8
7
|
export {
|
|
9
|
-
|
|
8
|
+
n as Paragraph
|
|
10
9
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { SectionHeading as s } from "./SectionHeading.js";
|
|
3
|
-
const c = ({ heading: t, items: a }) => /* @__PURE__ */ e("section", { className: "bg-white px-6 py-12 md:px-12 lg:px-24", children: /* @__PURE__ */
|
|
3
|
+
const c = ({ heading: t, items: a }) => /* @__PURE__ */ e("section", { className: "bg-white px-6 py-12 md:px-12 lg:px-24", children: /* @__PURE__ */ i("div", { className: "bg-primary-50 mx-auto flex max-w-6xl flex-col gap-8 rounded-2xl p-8", children: [
|
|
4
4
|
/* @__PURE__ */ e(s, { title: t, align: "start", className: "font-bold" }),
|
|
5
|
-
/* @__PURE__ */ e("div", { className: "flex flex-col gap-4 lg:flex-row", children: a.map((
|
|
6
|
-
/* @__PURE__ */ e("span", { className: "bg-primary-100 text-primary-700 inline-flex w-fit items-center justify-center rounded-md p-2", children:
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */ e("p", { className: "text-big text-primary-900 font-bold", children:
|
|
9
|
-
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children:
|
|
5
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col gap-4 lg:flex-row", children: a.map((l) => /* @__PURE__ */ i("div", { className: "flex w-full gap-4 rounded-lg bg-white p-5 shadow-sm lg:flex-col", children: [
|
|
6
|
+
/* @__PURE__ */ e("span", { className: "bg-primary-100 text-primary-700 inline-flex w-fit items-center justify-center rounded-md p-2", children: l.icon }),
|
|
7
|
+
/* @__PURE__ */ i("div", { className: "space-y-1", children: [
|
|
8
|
+
/* @__PURE__ */ e("p", { className: "text-big text-primary-900 font-bold", children: l.title }),
|
|
9
|
+
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children: l.description })
|
|
10
10
|
] })
|
|
11
|
-
] },
|
|
11
|
+
] }, l.id)) })
|
|
12
12
|
] }) });
|
|
13
13
|
export {
|
|
14
14
|
c as PricingOfferingsSection
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { PricingResourcesSection as
|
|
3
|
-
import { Jumbotron2 as
|
|
4
|
-
import { IntroSection as
|
|
2
|
+
import { PricingResourcesSection as s } from "./PricingResourcesSection.js";
|
|
3
|
+
import { Jumbotron2 as a } from "./Jumbotron2.js";
|
|
4
|
+
import { IntroSection as f } from "./IntroSection.js";
|
|
5
5
|
import { PricingPlansSection as p } from "./PricingPlansSection.js";
|
|
6
6
|
import { PricingOfferingsSection as u } from "./PricingOfferingsSection.js";
|
|
7
7
|
import { PricingSupportTeaserSection as x } from "./PricingSupportTeaserSection.js";
|
|
8
8
|
import { FaqSection as g } from "./FaqSection.js";
|
|
9
|
-
const
|
|
9
|
+
const j = ({
|
|
10
10
|
jumbotron: r,
|
|
11
11
|
intro: n,
|
|
12
|
-
plans:
|
|
13
|
-
support:
|
|
14
|
-
offerings:
|
|
12
|
+
plans: e,
|
|
13
|
+
support: i,
|
|
14
|
+
offerings: m,
|
|
15
15
|
faq: l,
|
|
16
16
|
resources: t
|
|
17
17
|
}) => /* @__PURE__ */ c("main", { className: "mx-auto flex w-full flex-1 flex-col text-neutral-800", children: [
|
|
18
|
-
/* @__PURE__ */ o(
|
|
19
|
-
/* @__PURE__ */ o(
|
|
20
|
-
/* @__PURE__ */ o(p, { ...
|
|
18
|
+
/* @__PURE__ */ o(a, { ...r, className: "bg-primary-50 w-full py-4 text-3xl" }),
|
|
19
|
+
/* @__PURE__ */ o(f, { ...n, className: "bg-primary-50" }),
|
|
20
|
+
/* @__PURE__ */ o(p, { ...e }),
|
|
21
21
|
/* @__PURE__ */ o(
|
|
22
|
-
|
|
22
|
+
s,
|
|
23
23
|
{
|
|
24
24
|
firstColumnContent: t.firstColumnContent,
|
|
25
25
|
secondColumnContent: t.secondColumnContent
|
|
26
26
|
}
|
|
27
27
|
),
|
|
28
|
-
/* @__PURE__ */ o(u, { ...
|
|
29
|
-
/* @__PURE__ */ o(x, { ...
|
|
30
|
-
/* @__PURE__ */ o(g, { ...l })
|
|
28
|
+
/* @__PURE__ */ o(u, { ...m }),
|
|
29
|
+
/* @__PURE__ */ o(x, { ...i }),
|
|
30
|
+
/* @__PURE__ */ o("div", { className: "bg-neutral-25 flex w-full justify-center pt-12 pb-20", children: /* @__PURE__ */ o(g, { ...l, className: "w-full max-w-300 px-5" }) })
|
|
31
31
|
] });
|
|
32
32
|
export {
|
|
33
|
-
|
|
33
|
+
j as PricingTemplate
|
|
34
34
|
};
|
|
@@ -3,13 +3,13 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const Anchor: ({ children, variant, className, ...props }: AnchorProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface AnchorProps extends React.ComponentProps<'a'> {
|
|
6
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us'
|
|
6
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export declare const Blockquote: ({ children, variant }: BlockquoteProps) => JSX.Element;
|
|
10
10
|
|
|
11
11
|
export interface BlockquoteProps extends React.ComponentProps<'blockquote'> {
|
|
12
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us'
|
|
12
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export declare const Code: ({ children, className }: React.ComponentProps<"code">) => JSX.Element;
|
|
@@ -21,7 +21,7 @@ export declare const Header1: ({ children }: React.ComponentProps<"h1">) => JSX.
|
|
|
21
21
|
export declare const Header2: ({ children, variant }: Header2Props) => JSX.Element;
|
|
22
22
|
|
|
23
23
|
export interface Header2Props extends React.ComponentProps<'h2'> {
|
|
24
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us'
|
|
24
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export declare const Header3: ({ children }: React.ComponentProps<"h3">) => JSX.Element;
|
|
@@ -31,13 +31,13 @@ export declare const Header4: ({ children }: React.ComponentProps<"h4">) => JSX.
|
|
|
31
31
|
export declare const OrderedList: ({ variant, children }: OrderedListProps) => JSX.Element;
|
|
32
32
|
|
|
33
33
|
export interface OrderedListProps extends React.ComponentProps<'ol'> {
|
|
34
|
-
variant?: 'default' | 'tooltip' | 'legal' | 'about-us'
|
|
34
|
+
variant?: 'default' | 'tooltip' | 'legal' | 'about-us';
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
export declare const Paragraph: ({ variant, children }: ParagraphProps) => JSX.Element;
|
|
38
38
|
|
|
39
39
|
export interface ParagraphProps extends React.ComponentProps<'p'> {
|
|
40
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us'
|
|
40
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export declare const Table: ({ children }: React.ComponentProps<"table">) => JSX.Element;
|
|
@@ -51,7 +51,7 @@ export declare const TableRow: ({ children }: React.ComponentProps<"tr">) => JSX
|
|
|
51
51
|
export declare const UnorderedList: ({ variant, children }: UnorderedListProps) => JSX.Element;
|
|
52
52
|
|
|
53
53
|
export interface UnorderedListProps extends React.ComponentProps<'ul'> {
|
|
54
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us'
|
|
54
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
export declare const Video: ({ children }: React.ComponentProps<"video">) => JSX.Element;
|
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const UnorderedList: ({ variant, children }: UnorderedListProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface UnorderedListProps extends React.ComponentProps<'ul'> {
|
|
6
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us'
|
|
6
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import r from "clsx";
|
|
3
|
-
const
|
|
4
|
-
const
|
|
3
|
+
const p = ({ variant: t = "default", children: e }) => {
|
|
4
|
+
const l = {
|
|
5
5
|
default: "flex list-inside list-disc flex-col px-4 text-neutral-900",
|
|
6
6
|
legal: "list-outside list-disc pl-8 pr-4 text-neutral-800",
|
|
7
|
-
tooltip: "flex list-inside list-disc flex-col px-4 text-neutral-900"
|
|
8
|
-
unsubscribe: "w-full list-outside list-disc px-8 pl-10 text-neutral-800 md:px-8 lg:px-[8rem]"
|
|
7
|
+
tooltip: "flex list-inside list-disc flex-col px-4 text-neutral-900"
|
|
9
8
|
}, s = {
|
|
10
9
|
default: "bg-primary-50 gap-4 mb-4 py-2",
|
|
11
10
|
legal: "space-y-4 mb-4 py-2",
|
|
12
|
-
tooltip: "gap-2 marker:text-secondary-600"
|
|
13
|
-
unsubscribe: "mb-4 py-2"
|
|
11
|
+
tooltip: "gap-2 marker:text-secondary-600"
|
|
14
12
|
};
|
|
15
|
-
return /* @__PURE__ */ i("ul", { className: r(
|
|
13
|
+
return /* @__PURE__ */ i("ul", { className: r(l[t], s[t]), children: e });
|
|
16
14
|
};
|
|
17
15
|
export {
|
|
18
|
-
|
|
16
|
+
p as UnorderedList
|
|
19
17
|
};
|
|
@@ -2,21 +2,15 @@ import { FC } from 'react';
|
|
|
2
2
|
|
|
3
3
|
export interface Jumbotron3Props {
|
|
4
4
|
title: string;
|
|
5
|
-
domain: string;
|
|
6
|
-
className?: string;
|
|
7
5
|
}
|
|
8
6
|
|
|
9
7
|
export interface MarkdownProps {
|
|
10
8
|
content: string;
|
|
11
9
|
className?: string;
|
|
12
10
|
useCustom?: boolean;
|
|
13
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us'
|
|
11
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
14
12
|
}
|
|
15
13
|
|
|
16
|
-
/**
|
|
17
|
-
* Headless composition for Storybook/tests and typed props. Page-level layout (backgrounds, main, section)
|
|
18
|
-
* belongs in the Next app — see `UnsubscribePageLayout` in legal-contracts-web.
|
|
19
|
-
*/
|
|
20
14
|
export declare const UnsubscribeTemplate: FC<UnsubscribeTemplateProps>;
|
|
21
15
|
|
|
22
16
|
export declare interface UnsubscribeTemplateProps {
|
|
@@ -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 r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Jumbotron3 as o } from "./Jumbotron3.js";
|
|
3
|
+
import { Markdown as s } from "./Markdown.js";
|
|
4
|
+
const i = ({ jumbotron: l, stepDescription: m }) => /* @__PURE__ */ r("main", { className: "flex min-h-screen flex-1 flex-col bg-white", children: [
|
|
5
|
+
/* @__PURE__ */ e(o, { ...l }),
|
|
6
|
+
/* @__PURE__ */ e("section", { className: "px-6 py-16 sm:px-10 lg:px-24", children: /* @__PURE__ */ e("div", { className: "mx-auto flex max-w-6xl flex-col gap-12", children: /* @__PURE__ */ e(s, { ...m }) }) })
|
|
7
7
|
] });
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
i as UnsubscribeTemplate
|
|
10
10
|
};
|