@npm_leadtech/legal-contracts-ui 0.67.0 → 0.67.2
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/AllDocumentsTemplate.d.ts +1 -2
- package/dist/components/AllDocumentsTemplate.js +25 -24
- package/dist/components/CategoryProductTemplate.d.ts +1 -2
- package/dist/components/DocumentItem.d.ts +2 -2
- package/dist/components/DocumentItem.js +13 -10
- package/dist/components/DocumentSection.d.ts +1 -2
- package/dist/components/DocumentSection.js +12 -12
- package/dist/components/NotFoundTemplate.d.ts +1 -2
- package/dist/globals.css +1 -1
- package/package.json +1 -1
- package/dist/components/index.d.ts +0 -1018
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { JumboCard as
|
|
3
|
-
import { Breadcrumb as
|
|
4
|
-
import { DocumentCategories as
|
|
5
|
-
import { DocumentSection as
|
|
6
|
-
import { ContentItem as
|
|
7
|
-
import { FaqSection as
|
|
8
|
-
const
|
|
9
|
-
jumbo:
|
|
10
|
-
breadcrumb:
|
|
11
|
-
categories:
|
|
12
|
-
documentSections:
|
|
13
|
-
contentItems:
|
|
14
|
-
faqSection:
|
|
15
|
-
}) => /* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
/* @__PURE__ */
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { JumboCard as i } from "./JumboCard.js";
|
|
3
|
+
import { Breadcrumb as s } from "./Breadcrumb.js";
|
|
4
|
+
import { DocumentCategories as x } from "./DocumentCategories.js";
|
|
5
|
+
import { DocumentSection as n } from "./DocumentSection.js";
|
|
6
|
+
import { ContentItem as f } from "./ContentItem.js";
|
|
7
|
+
import { FaqSection as u } from "./FaqSection.js";
|
|
8
|
+
const v = ({
|
|
9
|
+
jumbo: r,
|
|
10
|
+
breadcrumb: a,
|
|
11
|
+
categories: o,
|
|
12
|
+
documentSections: t,
|
|
13
|
+
contentItems: p,
|
|
14
|
+
faqSection: c
|
|
15
|
+
}) => /* @__PURE__ */ l("main", { className: "mx-auto flex-1 px-6 py-8 lg:px-8 xl:max-w-300 xl:px-0", children: [
|
|
16
|
+
/* @__PURE__ */ e(i, { ...r }),
|
|
17
|
+
/* @__PURE__ */ e(s, { ...a, className: "pb-4" }),
|
|
18
|
+
/* @__PURE__ */ l("div", { className: "mx-auto flex flex-col justify-center gap-30 text-neutral-800 lg:flex-row", children: [
|
|
19
|
+
/* @__PURE__ */ e(x, { ...o }),
|
|
20
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-10 pb-15.5", children: [
|
|
21
|
+
t.map((m) => /* @__PURE__ */ e(n, { ...m }, m.id)),
|
|
22
|
+
/* @__PURE__ */ e("span", { className: "h-px w-full bg-neutral-200" }),
|
|
23
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: p.map((m) => /* @__PURE__ */ e(f, { ...m }, m.id)) }),
|
|
24
|
+
/* @__PURE__ */ e(u, { ...c })
|
|
24
25
|
] })
|
|
25
26
|
] })
|
|
26
27
|
] });
|
|
27
28
|
export {
|
|
28
|
-
|
|
29
|
+
v as AllDocumentsTemplate
|
|
29
30
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
|
|
3
4
|
export declare const DocumentItem: FC<DocumentItemProps>;
|
|
4
5
|
|
|
5
6
|
export declare interface DocumentItemProps {
|
|
6
7
|
id: string;
|
|
7
|
-
|
|
8
|
+
link: ReactNode;
|
|
8
9
|
description: string;
|
|
9
|
-
featured?: boolean;
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
|
|
2
|
+
import n from "clsx";
|
|
3
|
+
import { ChevronRightIcon as l } from "./ChevronRightIcon.js";
|
|
4
|
+
const m = ({ link: t, description: o, className: i = "" }) => /* @__PURE__ */ r(
|
|
4
5
|
"article",
|
|
5
6
|
{
|
|
6
|
-
className:
|
|
7
|
+
className: n(
|
|
8
|
+
'hover:border-primary-500 text-medium hover:ring-primary-500 relative flex cursor-pointer flex-col gap-2 rounded border border-neutral-200 bg-white pt-4 pr-4 pb-6 pl-6 text-neutral-800 transition-all hover:ring-1 hover:ring-inset [&_a]:before:absolute [&_a]:before:inset-0 [&_a]:before:content-[""]',
|
|
9
|
+
i
|
|
10
|
+
),
|
|
7
11
|
children: [
|
|
8
|
-
/* @__PURE__ */ r("div", { className: "flex
|
|
9
|
-
/* @__PURE__ */ e("p", { className: "
|
|
10
|
-
/* @__PURE__ */ e(
|
|
12
|
+
/* @__PURE__ */ r("div", { className: "flex justify-between", children: [
|
|
13
|
+
/* @__PURE__ */ e("p", { className: "flex-1 font-bold", children: t }),
|
|
14
|
+
/* @__PURE__ */ e(l, { "aria-hidden": !0 })
|
|
11
15
|
] }),
|
|
12
|
-
/* @__PURE__ */ e("p", {
|
|
16
|
+
/* @__PURE__ */ e("p", { children: o })
|
|
13
17
|
]
|
|
14
|
-
}
|
|
15
|
-
t
|
|
18
|
+
}
|
|
16
19
|
);
|
|
17
20
|
export {
|
|
18
|
-
|
|
21
|
+
m as DocumentItem
|
|
19
22
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { DocumentItem as
|
|
3
|
-
const
|
|
4
|
-
/* @__PURE__ */
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
/* @__PURE__ */ e("p", { className: "font-lora text-super-large
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { DocumentItem as i } from "./DocumentItem.js";
|
|
3
|
+
const o = ({ id: r, title: s, description: t, icon: c, documents: m }) => /* @__PURE__ */ l("article", { id: r, className: "flex max-w-198 scroll-mt-25 flex-col gap-6", children: [
|
|
4
|
+
/* @__PURE__ */ l("div", { className: "flex gap-4 rounded bg-neutral-50 p-6", children: [
|
|
5
|
+
c,
|
|
6
|
+
/* @__PURE__ */ l("div", { className: "flex flex-1 flex-col gap-2 text-neutral-800", children: [
|
|
7
|
+
/* @__PURE__ */ e("p", { className: "font-lora text-super-large", children: s }),
|
|
8
|
+
/* @__PURE__ */ e("p", { className: "text-medium", children: t })
|
|
9
|
+
] })
|
|
10
10
|
] }),
|
|
11
|
-
/* @__PURE__ */ e("div", { className: "flex flex-wrap
|
|
12
|
-
] }
|
|
11
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap justify-between gap-6", children: m.map((a) => /* @__PURE__ */ e(i, { ...a, className: "w-full md:w-48/100" }, a.id)) })
|
|
12
|
+
] });
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
o as DocumentSection
|
|
15
15
|
};
|