@npm_leadtech/legal-contracts-ui 0.64.6 → 0.64.7
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 +5 -1
- package/dist/components/Anchor.js +6 -2
- package/dist/components/ChevronRightIcon.js +24 -9
- package/dist/components/ContentItem.js +10 -10
- package/dist/components/Emphasis.d.ts +4 -0
- package/dist/components/Emphasis.js +5 -0
- package/dist/components/Header2.js +1 -1
- package/dist/components/Markdown.d.ts +1 -1
- package/dist/components/Markdown.js +30 -28
- package/dist/components/Paragraph.js +2 -2
- package/dist/components/Preform.d.ts +0 -6
- package/dist/components/Preform.js +33 -35
- package/dist/components/ProductTemplate.d.ts +1 -7
- package/dist/components/ProductTemplate.js +23 -23
- package/dist/components/UiComponents.d.ts +8 -2
- package/dist/components/UiComponents.js +8 -6
- package/dist/components/UnorderedList.d.ts +1 -1
- package/dist/components/UnorderedList.js +4 -4
- package/dist/globals.css +1 -1
- package/package.json +1 -9
- package/dist/components/QuestionIcon.d.ts +0 -4
- package/dist/components/QuestionIcon.js +0 -17
- package/dist/components/Tooltips.d.ts +0 -9
- package/dist/components/Tooltips.js +0 -13
- package/dist/components/index.d.ts +0 -997
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { JSX } from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
-
export declare const Anchor: ({ children, className, ...props }:
|
|
3
|
+
export declare const Anchor: ({ children, variant, className, ...props }: AnchorProps) => JSX.Element;
|
|
4
|
+
|
|
5
|
+
export interface AnchorProps extends React.ComponentProps<'a'> {
|
|
6
|
+
variant?: 'default' | 'legal';
|
|
7
|
+
}
|
|
4
8
|
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import n from "clsx";
|
|
3
|
+
const c = ({ children: r, variant: e = "default", className: t = "", ...a }) => /* @__PURE__ */ o("a", { className: n(t, {
|
|
4
|
+
default: "",
|
|
5
|
+
legal: "text-primary-700"
|
|
6
|
+
}[e]), target: "_blank", rel: "noopener noreferrer", ...a, children: r });
|
|
3
7
|
export {
|
|
4
|
-
|
|
8
|
+
c as Anchor
|
|
5
9
|
};
|
|
@@ -1,12 +1,27 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsxs as r, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
const t = (l) => /* @__PURE__ */ r("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", ...l, children: [
|
|
4
|
+
/* @__PURE__ */ i(
|
|
5
|
+
"mask",
|
|
6
|
+
{
|
|
7
|
+
id: "mask0_2507_4542",
|
|
8
|
+
width: "8",
|
|
9
|
+
height: "12",
|
|
10
|
+
x: "8",
|
|
11
|
+
y: "6",
|
|
12
|
+
maskUnits: "userSpaceOnUse",
|
|
13
|
+
style: { maskType: "luminance" },
|
|
14
|
+
children: /* @__PURE__ */ i(
|
|
15
|
+
"path",
|
|
16
|
+
{
|
|
17
|
+
fill: "var(--color-neutral-white)",
|
|
18
|
+
d: "M10.41 6.705A.998.998 0 0 0 9 8.115L12.875 12l-3.876 3.885a.998.998 0 0 0 1.411 1.41l4.588-4.588a1 1 0 0 0 0-1.414z"
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
),
|
|
23
|
+
/* @__PURE__ */ i("g", { mask: "url(#mask0_2507_4542)", children: /* @__PURE__ */ i("path", { fill: "var(--color-primary-700)", d: "M0 0h24v24H0z" }) })
|
|
24
|
+
] });
|
|
10
25
|
export {
|
|
11
|
-
|
|
26
|
+
t as ChevronRightIcon
|
|
12
27
|
};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { ImageWithPreview as
|
|
2
|
+
import { ImageWithPreview as c } from "./ImageWithPreview.js";
|
|
3
3
|
import { LinkedProducts as d } from "./LinkedProducts.js";
|
|
4
4
|
import { Markdown as h } from "./Markdown.js";
|
|
5
|
-
import { LinkWrapper as
|
|
5
|
+
import { LinkWrapper as l } from "./LinkWrapper.js";
|
|
6
6
|
import { AlternativeSubtypeDocument as x } from "./AlternativeSubtypeDocument.js";
|
|
7
7
|
import { DefaultSubtypeDocument as u } from "./DefaultSubtypeDocument.js";
|
|
8
8
|
const y = ({
|
|
9
|
-
id:
|
|
9
|
+
id: p,
|
|
10
10
|
title: t,
|
|
11
11
|
content: n,
|
|
12
12
|
linkedProducts: m,
|
|
13
13
|
sampleImage: i,
|
|
14
14
|
cta: o,
|
|
15
|
-
docsModules:
|
|
15
|
+
docsModules: a,
|
|
16
16
|
subtypeDocs: f
|
|
17
|
-
}) => /* @__PURE__ */ s("div", { id:
|
|
17
|
+
}) => /* @__PURE__ */ s("div", { id: p, className: "flex flex-col gap-6 text-neutral-900", children: [
|
|
18
18
|
t && /* @__PURE__ */ e("h2", { className: "text-super-large font-bold", children: t }),
|
|
19
19
|
n && /* @__PURE__ */ e(h, { content: n, className: "text-medium [&_p:last-child]:mb-0" }),
|
|
20
20
|
m.length > 0 && /* @__PURE__ */ e(d, { linkedProducts: m }),
|
|
21
|
-
i && /* @__PURE__ */ e(
|
|
22
|
-
!!o && /* @__PURE__ */ e(
|
|
23
|
-
|
|
24
|
-
/* @__PURE__ */ e(
|
|
25
|
-
/* @__PURE__ */ e(
|
|
21
|
+
i && /* @__PURE__ */ e(c, { ...i }),
|
|
22
|
+
!!o && /* @__PURE__ */ e(l, { className: "w-75 self-center", children: o }),
|
|
23
|
+
a && /* @__PURE__ */ s("div", { className: "flex w-75 gap-4 self-center", children: [
|
|
24
|
+
/* @__PURE__ */ e(l, { className: "w-full", variant: "secondary-black", children: a.pdfDownload }),
|
|
25
|
+
/* @__PURE__ */ e(l, { className: "w-full", variant: "secondary-black", children: a.wordDownload })
|
|
26
26
|
] }),
|
|
27
27
|
f.length > 0 && /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2", children: f.map((r) => r.format === "Alternative" ? /* @__PURE__ */ e(x, { ...r }, r.id) : /* @__PURE__ */ e(u, { ...r }, r.id)) })
|
|
28
28
|
] });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
const m = ({ children: t }) => /* @__PURE__ */ e("h2", { className: "mt-5 mb-
|
|
2
|
+
const m = ({ children: t }) => /* @__PURE__ */ e("h2", { className: "mt-5 mb-6 text-3xl font-bold text-neutral-800", children: t });
|
|
3
3
|
export {
|
|
4
4
|
m as Header2
|
|
5
5
|
};
|
|
@@ -1,44 +1,46 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import n from "react-markdown";
|
|
3
|
+
import i from "rehype-raw";
|
|
4
|
+
import a from "remark-gfm";
|
|
5
5
|
import { Anchor as d } from "./Anchor.js";
|
|
6
6
|
import { Blockquote as f } from "./Blockquote.js";
|
|
7
|
-
import { Code as
|
|
8
|
-
import { Header1 as
|
|
7
|
+
import { Code as c } from "./Code.js";
|
|
8
|
+
import { Header1 as l } from "./Header1.js";
|
|
9
9
|
import { Header2 as s } from "./Header2.js";
|
|
10
|
-
import { Header3 as
|
|
11
|
-
import { Header4 as
|
|
12
|
-
import { OrderedList as
|
|
13
|
-
import { Paragraph as
|
|
14
|
-
import { TableRow as
|
|
10
|
+
import { Header3 as h } from "./Header3.js";
|
|
11
|
+
import { Header4 as u } from "./Header4.js";
|
|
12
|
+
import { OrderedList as C } from "./OrderedList.js";
|
|
13
|
+
import { Paragraph as b } from "./Paragraph.js";
|
|
14
|
+
import { TableRow as k, TableHeader as H, TableData as w, Table as T } from "./Table.js";
|
|
15
15
|
import { UnorderedList as g } from "./UnorderedList.js";
|
|
16
|
-
import { Video as
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
import { Video as P } from "./Video.js";
|
|
17
|
+
import { Emphasis as R } from "./Emphasis.js";
|
|
18
|
+
const N = ({ content: e, className: t = "", useCustom: p = !0, variant: m = "default" }) => /* @__PURE__ */ o("div", { className: t, children: /* @__PURE__ */ o(
|
|
19
|
+
n,
|
|
19
20
|
{
|
|
20
|
-
rehypePlugins: [
|
|
21
|
-
remarkPlugins: [
|
|
22
|
-
components:
|
|
23
|
-
h1:
|
|
21
|
+
rehypePlugins: [i],
|
|
22
|
+
remarkPlugins: [a],
|
|
23
|
+
components: p ? {
|
|
24
|
+
h1: l,
|
|
24
25
|
h2: s,
|
|
25
|
-
h3:
|
|
26
|
-
h4:
|
|
27
|
-
p:
|
|
28
|
-
a: d,
|
|
29
|
-
ul: (
|
|
30
|
-
ol:
|
|
31
|
-
code:
|
|
26
|
+
h3: h,
|
|
27
|
+
h4: u,
|
|
28
|
+
p: b,
|
|
29
|
+
a: (r) => /* @__PURE__ */ o(d, { variant: m, ...r }),
|
|
30
|
+
ul: (r) => /* @__PURE__ */ o(g, { variant: m, ...r }),
|
|
31
|
+
ol: C,
|
|
32
|
+
code: c,
|
|
32
33
|
blockquote: f,
|
|
33
|
-
video:
|
|
34
|
+
video: P,
|
|
34
35
|
table: T,
|
|
35
36
|
td: w,
|
|
36
37
|
th: H,
|
|
37
|
-
tr:
|
|
38
|
+
tr: k,
|
|
39
|
+
em: R
|
|
38
40
|
} : void 0,
|
|
39
|
-
children:
|
|
41
|
+
children: e
|
|
40
42
|
}
|
|
41
43
|
) });
|
|
42
44
|
export {
|
|
43
|
-
|
|
45
|
+
N as Markdown
|
|
44
46
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
const
|
|
2
|
+
const e = ({ children: a }) => /* @__PURE__ */ r("p", { className: "mb-4 text-neutral-800", children: a });
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
e as Paragraph
|
|
5
5
|
};
|
|
@@ -27,7 +27,6 @@ export declare interface PreformProps {
|
|
|
27
27
|
cta: ReactNode;
|
|
28
28
|
radioFieldData?: RadioFieldData;
|
|
29
29
|
inputFieldData?: InputFieldData;
|
|
30
|
-
tooltips: TooltipsProps[];
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
export declare type RadioFieldData = {
|
|
@@ -39,11 +38,6 @@ export declare type RadioFieldData = {
|
|
|
39
38
|
onClick: (str: string) => void;
|
|
40
39
|
};
|
|
41
40
|
|
|
42
|
-
export interface TooltipsProps {
|
|
43
|
-
title: string;
|
|
44
|
-
content: string;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
41
|
export interface TrustedBadgeProps {
|
|
48
42
|
children: ReactNode;
|
|
49
43
|
}
|
|
@@ -1,59 +1,57 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as r, Fragment as n, jsx as l } from "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
|
|
16
|
-
m.options.map((r) => /* @__PURE__ */ e(
|
|
4
|
+
import { PreformMobile as x } from "./PreformMobile.js";
|
|
5
|
+
import { PreformOption as p } from "./PreformOption.js";
|
|
6
|
+
import { TrustedBadge as a } from "./TrustedBadge.js";
|
|
7
|
+
import { Input as f } from "./Input.js";
|
|
8
|
+
import { LinkWrapper as i } from "./LinkWrapper.js";
|
|
9
|
+
const u = ({ trustedBadge: c, cta: o, inputFieldData: e, radioFieldData: m }) => /* @__PURE__ */ r(n, { children: [
|
|
10
|
+
/* @__PURE__ */ l("section", { className: "bg-neutral-25 hidden pt-10 text-neutral-800 sm:block sm:px-6 lg:px-8 xl:px-30", children: /* @__PURE__ */ r("div", { className: "relative mx-auto flex max-w-300 flex-col gap-6 rounded bg-white px-6 pt-8 pb-6 shadow-md sm:items-center sm:gap-8 lg:px-26 xl:px-10", children: [
|
|
11
|
+
/* @__PURE__ */ l(a, { ...c }),
|
|
12
|
+
m?.isVisible && /* @__PURE__ */ r(n, { children: [
|
|
13
|
+
/* @__PURE__ */ l("h2", { className: "text-medium sm:text-large font-bold", children: m.label }),
|
|
14
|
+
/* @__PURE__ */ r("div", { className: "flex w-full max-w-272 flex-wrap justify-center gap-2 sm:gap-4", children: [
|
|
15
|
+
m.options.map((s) => /* @__PURE__ */ l(
|
|
17
16
|
"div",
|
|
18
17
|
{
|
|
19
18
|
className: "w-[calc(50%-4px)] sm:w-[calc(25%-12px)] lg:w-[calc(20%-13px)] xl:w-[calc(16.66%-14px)]",
|
|
20
|
-
children: /* @__PURE__ */
|
|
21
|
-
|
|
19
|
+
children: /* @__PURE__ */ l(
|
|
20
|
+
p,
|
|
22
21
|
{
|
|
23
|
-
...
|
|
24
|
-
selected:
|
|
22
|
+
...s,
|
|
23
|
+
selected: s.value === m.radioSelected,
|
|
25
24
|
onClick: m.onClick
|
|
26
25
|
}
|
|
27
26
|
)
|
|
28
27
|
},
|
|
29
|
-
|
|
28
|
+
s.value
|
|
30
29
|
)),
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
e?.isVisible && /* @__PURE__ */ l("div", { className: "mt-4 flex basis-full justify-center md:mt-0", children: /* @__PURE__ */ l(
|
|
31
|
+
f,
|
|
33
32
|
{
|
|
34
|
-
id:
|
|
35
|
-
label:
|
|
36
|
-
name:
|
|
37
|
-
placeholder:
|
|
38
|
-
value:
|
|
39
|
-
onInputChange:
|
|
33
|
+
id: e.id,
|
|
34
|
+
label: e.label,
|
|
35
|
+
name: e.name,
|
|
36
|
+
placeholder: e.placeholder,
|
|
37
|
+
value: e.value,
|
|
38
|
+
onInputChange: e.onChange
|
|
40
39
|
}
|
|
41
|
-
) },
|
|
40
|
+
) }, e.name)
|
|
42
41
|
] })
|
|
43
42
|
] }),
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
n.length > 0 && /* @__PURE__ */ e("div", { className: "flex flex-col gap-8", children: n.map((r) => /* @__PURE__ */ e(x, { ...r }, r.title)) })
|
|
43
|
+
/* @__PURE__ */ l(i, { variant: "primary-green", children: o })
|
|
46
44
|
] }) }),
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
-
|
|
45
|
+
/* @__PURE__ */ l(
|
|
46
|
+
x,
|
|
49
47
|
{
|
|
50
48
|
cta: o,
|
|
51
|
-
trustedBadge:
|
|
52
|
-
inputFieldData:
|
|
49
|
+
trustedBadge: c,
|
|
50
|
+
inputFieldData: e,
|
|
53
51
|
radioFieldData: m
|
|
54
52
|
}
|
|
55
53
|
)
|
|
56
54
|
] });
|
|
57
55
|
export {
|
|
58
|
-
|
|
56
|
+
u as Preform
|
|
59
57
|
};
|
|
@@ -112,7 +112,6 @@ export interface PreformProps {
|
|
|
112
112
|
cta: ReactNode;
|
|
113
113
|
radioFieldData?: RadioFieldData;
|
|
114
114
|
inputFieldData?: InputFieldData;
|
|
115
|
-
tooltips: TooltipsProps[];
|
|
116
115
|
}
|
|
117
116
|
|
|
118
117
|
export interface PreviewDownloadProps {
|
|
@@ -153,7 +152,7 @@ export declare interface ProductTemplateProps {
|
|
|
153
152
|
faqSection: FaqSectionProps;
|
|
154
153
|
previewDownload: PreviewDownloadProps;
|
|
155
154
|
previewSection?: PreviewSectionProps;
|
|
156
|
-
tryNowSection
|
|
155
|
+
tryNowSection: TryNowSectionProps;
|
|
157
156
|
}
|
|
158
157
|
|
|
159
158
|
export type RadioFieldData = {
|
|
@@ -175,11 +174,6 @@ export interface TableOfContentsProps {
|
|
|
175
174
|
}[];
|
|
176
175
|
}
|
|
177
176
|
|
|
178
|
-
export interface TooltipsProps {
|
|
179
|
-
title: string;
|
|
180
|
-
content: string;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
177
|
export interface TrustedBadgeProps {
|
|
184
178
|
children: ReactNode;
|
|
185
179
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as o, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { Jumbotron as g } from "./Jumbotron.js";
|
|
3
3
|
import { JumboDocs as u } from "./JumboDocs.js";
|
|
4
|
-
import { Preform as
|
|
5
|
-
import { ProductInfo as
|
|
4
|
+
import { Preform as w } from "./Preform.js";
|
|
5
|
+
import { ProductInfo as h } from "./ProductInfo.js";
|
|
6
6
|
import { BenefitsBar as N } from "./BenefitsBar.js";
|
|
7
7
|
import { Breadcrumb as b } from "./Breadcrumb.js";
|
|
8
8
|
import { TableOfContents as P } from "./TableOfContents.js";
|
|
@@ -10,39 +10,39 @@ import { ContentItem as v } from "./ContentItem.js";
|
|
|
10
10
|
import { FaqSection as B } from "./FaqSection.js";
|
|
11
11
|
import { PreviewDownload as T } from "./PreviewDownload.js";
|
|
12
12
|
import { PreviewSection as k } from "./PreviewSection.js";
|
|
13
|
-
import { TryNowSection as
|
|
13
|
+
import { TryNowSection as y } from "./TryNowSection.js";
|
|
14
14
|
const H = ({
|
|
15
|
-
jumbotron:
|
|
15
|
+
jumbotron: l,
|
|
16
16
|
jumboDocs: r,
|
|
17
|
-
preform:
|
|
18
|
-
productInfo:
|
|
19
|
-
benefitsBar:
|
|
20
|
-
breadcrumb:
|
|
21
|
-
tableOfContents:
|
|
22
|
-
contentItems:
|
|
17
|
+
preform: t,
|
|
18
|
+
productInfo: i,
|
|
19
|
+
benefitsBar: p,
|
|
20
|
+
breadcrumb: c,
|
|
21
|
+
tableOfContents: f,
|
|
22
|
+
contentItems: s,
|
|
23
23
|
faqSection: n,
|
|
24
|
-
previewDownload:
|
|
25
|
-
previewSection:
|
|
26
|
-
tryNowSection:
|
|
24
|
+
previewDownload: x,
|
|
25
|
+
previewSection: e,
|
|
26
|
+
tryNowSection: d
|
|
27
27
|
}) => /* @__PURE__ */ o("main", { className: "flex-1", children: [
|
|
28
|
-
/* @__PURE__ */ m(g, { ...
|
|
28
|
+
/* @__PURE__ */ m(g, { ...l }),
|
|
29
29
|
r && /* @__PURE__ */ m(u, { ...r }),
|
|
30
|
-
|
|
31
|
-
/* @__PURE__ */ m(
|
|
32
|
-
/* @__PURE__ */ m(N, { ...
|
|
30
|
+
t && /* @__PURE__ */ m(w, { ...t }),
|
|
31
|
+
/* @__PURE__ */ m(h, { ...i }),
|
|
32
|
+
/* @__PURE__ */ m(N, { ...p }),
|
|
33
33
|
/* @__PURE__ */ m("section", { className: "px-4 pt-6 pb-10 text-neutral-800 md:px-6 lg:px-8 xl:px-30", children: /* @__PURE__ */ o("div", { className: "mx-auto flex w-full max-w-300 flex-col gap-6", children: [
|
|
34
|
-
/* @__PURE__ */ m(b, { ...
|
|
34
|
+
/* @__PURE__ */ m(b, { ...c }),
|
|
35
35
|
/* @__PURE__ */ o("div", { className: "flex items-start md:gap-4 lg:gap-26.5 xl:gap-31", children: [
|
|
36
36
|
/* @__PURE__ */ o("div", { className: "flex max-w-100 flex-col gap-8 lg:max-w-137.5 xl:max-w-172.5", children: [
|
|
37
|
-
/* @__PURE__ */ m(P, { ...
|
|
38
|
-
|
|
37
|
+
/* @__PURE__ */ m(P, { ...f }),
|
|
38
|
+
s.map((a) => /* @__PURE__ */ m(v, { ...a }, a.id)),
|
|
39
39
|
/* @__PURE__ */ m(B, { ...n })
|
|
40
40
|
] }),
|
|
41
|
-
/* @__PURE__ */ m("aside", { className: "sticky top-20 hidden pt-4 md:block", children: /* @__PURE__ */ m(T, { ...
|
|
41
|
+
/* @__PURE__ */ m("aside", { className: "sticky top-20 hidden pt-4 md:block", children: /* @__PURE__ */ m(T, { ...x }) })
|
|
42
42
|
] })
|
|
43
43
|
] }) }),
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
e && /* @__PURE__ */ m(k, { ...e }),
|
|
45
|
+
/* @__PURE__ */ m(y, { ...d })
|
|
46
46
|
] });
|
|
47
47
|
export {
|
|
48
48
|
H as ProductTemplate
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { JSX } from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
-
export declare const Anchor: ({ children, className, ...props }:
|
|
3
|
+
export declare const Anchor: ({ children, variant, className, ...props }: AnchorProps) => JSX.Element;
|
|
4
|
+
|
|
5
|
+
export interface AnchorProps extends React.ComponentProps<'a'> {
|
|
6
|
+
variant?: 'default' | 'legal';
|
|
7
|
+
}
|
|
4
8
|
|
|
5
9
|
export declare const Blockquote: ({ children }: React.ComponentProps<"blockquote">) => JSX.Element;
|
|
6
10
|
|
|
7
11
|
export declare const Code: ({ children, className }: React.ComponentProps<"code">) => JSX.Element;
|
|
8
12
|
|
|
13
|
+
export declare const Emphasis: ({ children }: React.ComponentProps<"em">) => JSX.Element;
|
|
14
|
+
|
|
9
15
|
export declare const Header1: ({ children }: React.ComponentProps<"h1">) => JSX.Element;
|
|
10
16
|
|
|
11
17
|
export declare const Header2: ({ children }: React.ComponentProps<"h2">) => JSX.Element;
|
|
@@ -29,7 +35,7 @@ export declare const TableRow: ({ children }: React.ComponentProps<"tr">) => JSX
|
|
|
29
35
|
export declare const UnorderedList: ({ variant, children }: UnorderedListProps) => JSX.Element;
|
|
30
36
|
|
|
31
37
|
export interface UnorderedListProps extends React.ComponentProps<'ul'> {
|
|
32
|
-
variant?: 'default' | '
|
|
38
|
+
variant?: 'default' | 'legal';
|
|
33
39
|
}
|
|
34
40
|
|
|
35
41
|
export declare const Video: ({ children }: React.ComponentProps<"video">) => JSX.Element;
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
import { Anchor as o } from "./Anchor.js";
|
|
2
2
|
import { Blockquote as a } from "./Blockquote.js";
|
|
3
|
-
import { Code as
|
|
3
|
+
import { Code as m } from "./Code.js";
|
|
4
4
|
import { Header1 as x } from "./Header1.js";
|
|
5
5
|
import { Header2 as l } from "./Header2.js";
|
|
6
6
|
import { Header3 as b } from "./Header3.js";
|
|
7
|
-
import { Header4 as
|
|
7
|
+
import { Header4 as s } from "./Header4.js";
|
|
8
8
|
import { OrderedList as h } from "./OrderedList.js";
|
|
9
|
-
import { Paragraph as
|
|
9
|
+
import { Paragraph as n } from "./Paragraph.js";
|
|
10
10
|
import { Table as g, TableData as k, TableHeader as q, TableRow as u } from "./Table.js";
|
|
11
11
|
import { UnorderedList as A } from "./UnorderedList.js";
|
|
12
12
|
import { Video as C } from "./Video.js";
|
|
13
|
+
import { Emphasis as E } from "./Emphasis.js";
|
|
13
14
|
export {
|
|
14
15
|
o as Anchor,
|
|
15
16
|
a as Blockquote,
|
|
16
|
-
|
|
17
|
+
m as Code,
|
|
18
|
+
E as Emphasis,
|
|
17
19
|
x as Header1,
|
|
18
20
|
l as Header2,
|
|
19
21
|
b as Header3,
|
|
20
|
-
|
|
22
|
+
s as Header4,
|
|
21
23
|
h as OrderedList,
|
|
22
|
-
|
|
24
|
+
n as Paragraph,
|
|
23
25
|
g as Table,
|
|
24
26
|
k as TableData,
|
|
25
27
|
q as TableHeader,
|
|
@@ -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' | '
|
|
6
|
+
variant?: 'default' | 'legal';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import a from "clsx";
|
|
3
|
-
const o = ({ variant: t = "default", children: r }) => /* @__PURE__ */
|
|
4
|
-
default: "bg-primary-50
|
|
5
|
-
|
|
3
|
+
const o = ({ variant: t = "default", children: r }) => /* @__PURE__ */ s("ul", { className: a("mb-4 flex list-inside list-disc flex-col gap-4 px-4 py-2 text-gray-900", {
|
|
4
|
+
default: "bg-primary-50",
|
|
5
|
+
legal: ""
|
|
6
6
|
}[t]), children: r });
|
|
7
7
|
export {
|
|
8
8
|
o as UnorderedList
|