@npm_leadtech/legal-contracts-ui 0.152.2 → 0.152.4
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/Header2.js +8 -8
- package/dist/components/Jumbotron3.d.ts +0 -2
- package/dist/components/Jumbotron3.js +3 -3
- package/dist/components/LegalTemplate.d.ts +1 -7
- package/dist/components/LegalTemplate.js +6 -6
- package/dist/components/UnsubscribeTemplate.d.ts +2 -17
- package/dist/components/UnsubscribeTemplate.js +6 -6
- package/dist/components/index.d.ts +0 -2
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
const m = ({ children: e, variant:
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import s from "clsx";
|
|
3
|
+
const m = ({ children: e, variant: a = "default" }) => {
|
|
4
4
|
const t = {
|
|
5
5
|
default: "mt-5 mb-3 text-super-large text-neutral-800",
|
|
6
|
-
legal: "
|
|
7
|
-
ratafia: "mt-4 mb-3 text-left text-xl
|
|
8
|
-
unsubscribe: "
|
|
9
|
-
},
|
|
10
|
-
return /* @__PURE__ */
|
|
6
|
+
legal: "my-4 text-neutral-800 text-super-large w-full",
|
|
7
|
+
ratafia: "mt-4 mb-3 text-left text-xl text-white lg:text-2xl",
|
|
8
|
+
unsubscribe: "text-super-large my-6 text-neutral-800"
|
|
9
|
+
}, l = t[a] ?? t.default;
|
|
10
|
+
return /* @__PURE__ */ r("h2", { className: s("font-bold", l), children: e });
|
|
11
11
|
};
|
|
12
12
|
export {
|
|
13
13
|
m as Header2
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
const
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
const r = ({ title: e }) => /* @__PURE__ */ t("section", { className: "bg-primary-50 mx-auto w-full pt-10 pb-20", children: /* @__PURE__ */ t("div", { className: "mx-auto w-full max-w-5xl px-6 text-center md:px-8 lg:px-30 xl:max-w-300 xl:px-0", children: /* @__PURE__ */ t("h1", { className: "font-lora text-super-hero text-neutral-900", children: e }) }) });
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
r as Jumbotron3
|
|
5
5
|
};
|
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
|
|
3
|
-
export interface Jumbotron3Props {
|
|
4
|
-
title: string;
|
|
5
|
-
domain: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
3
|
export declare const LegalTemplate: FC<LegalTemplateProps>;
|
|
10
4
|
|
|
11
5
|
export declare interface LegalTemplateProps {
|
|
12
|
-
|
|
6
|
+
title: string;
|
|
13
7
|
legalSection: string;
|
|
14
8
|
}
|
|
15
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Jumbotron3 as
|
|
3
|
-
import { Markdown as
|
|
4
|
-
const i = ({
|
|
5
|
-
/* @__PURE__ */ l(
|
|
6
|
-
/* @__PURE__ */ l("div", { className: "
|
|
1
|
+
import { jsxs as a, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { Jumbotron3 as o } from "./Jumbotron3.js";
|
|
3
|
+
import { Markdown as t } from "./Markdown.js";
|
|
4
|
+
const i = ({ title: e, legalSection: r }) => /* @__PURE__ */ a("main", { className: "bg-neutral-white flex w-full flex-col", children: [
|
|
5
|
+
/* @__PURE__ */ l(o, { title: e }),
|
|
6
|
+
/* @__PURE__ */ l("div", { className: "px-6 py-8 lg:px-8 xl:mx-auto xl:max-w-300 xl:px-0", children: /* @__PURE__ */ l(t, { content: r, variant: "legal" }) })
|
|
7
7
|
] });
|
|
8
8
|
export {
|
|
9
9
|
i as LegalTemplate
|
|
@@ -1,24 +1,9 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
|
|
3
|
-
export interface Jumbotron3Props {
|
|
4
|
-
title: string;
|
|
5
|
-
domain: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface MarkdownProps {
|
|
10
|
-
content: string;
|
|
11
|
-
className?: string;
|
|
12
|
-
useCustom?: boolean;
|
|
13
|
-
variant?: MarkdownVariants;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export type MarkdownVariants = 'default' | 'legal' | 'ratafia' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies' | 'story';
|
|
17
|
-
|
|
18
3
|
export declare const UnsubscribeTemplate: FC<UnsubscribeTemplateProps>;
|
|
19
4
|
|
|
20
5
|
export declare interface UnsubscribeTemplateProps {
|
|
21
|
-
|
|
22
|
-
stepDescription:
|
|
6
|
+
title: string;
|
|
7
|
+
stepDescription: string;
|
|
23
8
|
}
|
|
24
9
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as i, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { Jumbotron3 as
|
|
3
|
-
import { Markdown as
|
|
4
|
-
const
|
|
5
|
-
/* @__PURE__ */ l(
|
|
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
|
|
2
|
+
import { Jumbotron3 as o } from "./Jumbotron3.js";
|
|
3
|
+
import { Markdown as r } from "./Markdown.js";
|
|
4
|
+
const a = ({ title: e, stepDescription: m }) => /* @__PURE__ */ i("main", { className: "flex min-h-screen flex-1 flex-col bg-white", children: [
|
|
5
|
+
/* @__PURE__ */ l(o, { title: e }),
|
|
6
|
+
/* @__PURE__ */ l("div", { className: "mx-auto w-full bg-white px-6 pt-2 pb-8 lg:px-8 xl:mx-auto xl:max-w-300 xl:px-0", children: /* @__PURE__ */ l("section", { className: "[&_img]:bg-neutral-25 mb-16 w-full overflow-hidden rounded-lg md:mb-12 xl:px-12 [&_h2+p]:pt-6 [&_img]:block [&_img]:h-auto [&_img]:w-full [&_img]:max-w-full", children: /* @__PURE__ */ l(r, { content: m, variant: "unsubscribe" }) }) })
|
|
7
7
|
] });
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
a as UnsubscribeTemplate
|
|
10
10
|
};
|