@npm_leadtech/legal-contracts-ui 0.69.0 → 0.69.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 +2 -1
- package/dist/components/AllDocumentsTemplate.js +21 -21
- package/dist/components/CategoryProductTemplate.d.ts +2 -1
- package/dist/components/HistoryIcon.js +2 -2
- package/dist/components/JumboCard.d.ts +2 -1
- package/dist/components/JumboCard.js +15 -9
- package/dist/globals.css +1 -1
- package/package.json +1 -1
- package/dist/components/index.d.ts +0 -1017
|
@@ -99,8 +99,9 @@ export interface ImageWithPreviewProps {
|
|
|
99
99
|
export interface JumboCardProps {
|
|
100
100
|
title: string;
|
|
101
101
|
description: string;
|
|
102
|
-
subtitle
|
|
102
|
+
subtitle?: string;
|
|
103
103
|
bgImage: ReactNode | null;
|
|
104
|
+
lastUpdate?: string;
|
|
104
105
|
}
|
|
105
106
|
|
|
106
107
|
export interface LinkedProductProps {
|
|
@@ -1,27 +1,27 @@
|
|
|
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
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { JumboCard as c } from "./JumboCard.js";
|
|
3
|
+
import { Breadcrumb as i } 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 d } from "./FaqSection.js";
|
|
8
8
|
const w = ({
|
|
9
|
-
jumbo:
|
|
10
|
-
breadcrumb:
|
|
11
|
-
categories:
|
|
9
|
+
jumbo: m,
|
|
10
|
+
breadcrumb: t,
|
|
11
|
+
categories: r,
|
|
12
12
|
documentSections: o,
|
|
13
|
-
contentItems:
|
|
14
|
-
faqSection:
|
|
15
|
-
}) => /* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */ e(
|
|
17
|
-
/* @__PURE__ */ e(
|
|
18
|
-
/* @__PURE__ */
|
|
19
|
-
/* @__PURE__ */ e("aside", { className: "sticky top-24 hidden self-start md:block", children: /* @__PURE__ */ e(
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
o.map((
|
|
13
|
+
contentItems: p,
|
|
14
|
+
faqSection: s
|
|
15
|
+
}) => /* @__PURE__ */ a("main", { className: "mx-auto flex flex-1 flex-col gap-4 px-6 pt-8 pb-8 lg:px-8 lg:pb-16 xl:max-w-300 xl:px-0", children: [
|
|
16
|
+
/* @__PURE__ */ e(c, { ...m }),
|
|
17
|
+
/* @__PURE__ */ e(i, { ...t, className: "pt-2" }),
|
|
18
|
+
/* @__PURE__ */ a("div", { className: "mx-auto flex justify-center gap-4 text-neutral-800 lg:gap-26.5 xl:gap-31.5", children: [
|
|
19
|
+
/* @__PURE__ */ e("aside", { className: "sticky top-24 hidden self-start md:block", children: /* @__PURE__ */ e(x, { ...r }) }),
|
|
20
|
+
/* @__PURE__ */ a("div", { className: "flex flex-col gap-10", children: [
|
|
21
|
+
o.map((l) => /* @__PURE__ */ e(n, { ...l }, l.id)),
|
|
22
22
|
/* @__PURE__ */ e("span", { className: "h-px w-full bg-neutral-200" }),
|
|
23
|
-
/* @__PURE__ */ e("div", { className: "w-full", children:
|
|
24
|
-
/* @__PURE__ */ e(
|
|
23
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: p.map((l) => /* @__PURE__ */ e(f, { ...l }, l.id)) }),
|
|
24
|
+
/* @__PURE__ */ e(d, { ...s })
|
|
25
25
|
] })
|
|
26
26
|
] })
|
|
27
27
|
] });
|
|
@@ -111,8 +111,9 @@ export interface ImageWithPreviewProps {
|
|
|
111
111
|
export interface JumboCardProps {
|
|
112
112
|
title: string;
|
|
113
113
|
description: string;
|
|
114
|
-
subtitle
|
|
114
|
+
subtitle?: string;
|
|
115
115
|
bgImage: ReactNode | null;
|
|
116
|
+
lastUpdate?: string;
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
export interface LinkedProductProps {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
const i = (e) => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", ...
|
|
3
|
+
const i = ({ fill: e = "var(--neutral-600)", ...o }) => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", ...o, children: /* @__PURE__ */ l(
|
|
4
4
|
"path",
|
|
5
5
|
{
|
|
6
6
|
fillRule: "evenodd",
|
|
7
7
|
clipRule: "evenodd",
|
|
8
8
|
d: "M3.219 9.003a6.757 6.757 0 016.945-6.75c3.517.097 6.457 3.037 6.555 6.555a6.757 6.757 0 01-6.75 6.945c-1.568 0-3-.533-4.14-1.433-.353-.27-.375-.802-.06-1.117.27-.27.69-.293.99-.06a5.171 5.171 0 003.21 1.11 5.253 5.253 0 005.25-5.325c-.038-2.79-2.385-5.138-5.175-5.175a5.248 5.248 0 00-5.325 5.25H6.06c.338 0 .503.405.27.637l-2.092 2.1a.371.371 0 01-.533 0l-2.092-2.1a.371.371 0 01.262-.637H3.22zm6-2.438c0-.307.255-.562.562-.562.308 0 .563.255.563.555v2.55l2.16 1.282a.568.568 0 01.195.773.568.568 0 01-.773.195L9.586 9.97a.759.759 0 01-.367-.645v-2.76z",
|
|
9
|
-
fill:
|
|
9
|
+
fill: e
|
|
10
10
|
}
|
|
11
11
|
) });
|
|
12
12
|
export {
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
/* @__PURE__ */ e("p", { className: "text-
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Markdown as o } from "./Markdown.js";
|
|
3
|
+
import { HistoryIcon as m } from "./HistoryIcon.js";
|
|
4
|
+
const h = ({ title: i, subtitle: t, description: s, lastUpdate: a, bgImage: r }) => /* @__PURE__ */ l("section", { className: "bg-primary-900 relative rounded p-6 shadow-lg md:px-12 md:py-10", children: [
|
|
5
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-4 lg:max-w-135", children: [
|
|
6
|
+
t && /* @__PURE__ */ e("p", { className: "text-extra-small text-primary-200 font-bold uppercase", children: t }),
|
|
7
|
+
/* @__PURE__ */ e("h1", { className: "font-lora text-hero text-white", children: i }),
|
|
8
|
+
/* @__PURE__ */ e(o, { className: "text-medium text-neutral-400 [&_p:last-child]:mb-0", content: s }),
|
|
9
|
+
a && /* @__PURE__ */ l("div", { className: "hidden items-center gap-1 md:flex", children: [
|
|
10
|
+
/* @__PURE__ */ e(m, { width: 18, height: 18, fill: "white" }),
|
|
11
|
+
/* @__PURE__ */ e("span", { className: "text-small", children: a })
|
|
12
|
+
] })
|
|
7
13
|
] }),
|
|
8
|
-
|
|
9
|
-
] })
|
|
14
|
+
!!r && /* @__PURE__ */ e("div", { className: "absolute top-0 right-0 hidden lg:block", children: r })
|
|
15
|
+
] });
|
|
10
16
|
export {
|
|
11
|
-
|
|
17
|
+
h as JumboCard
|
|
12
18
|
};
|