@npm_leadtech/legal-contracts-ui 0.159.5 → 0.159.6
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.
|
@@ -7,24 +7,24 @@ import { AlternativeSubtypeDocument as u } from "./AlternativeSubtypeDocument.js
|
|
|
7
7
|
import { DefaultSubtypeDocument as w } from "./DefaultSubtypeDocument.js";
|
|
8
8
|
const j = ({
|
|
9
9
|
id: d,
|
|
10
|
-
title:
|
|
10
|
+
title: t,
|
|
11
11
|
content: n,
|
|
12
12
|
linkedProducts: i,
|
|
13
13
|
sampleImage: m,
|
|
14
14
|
cta: o,
|
|
15
15
|
comingSoonCta: s,
|
|
16
|
-
docsModules:
|
|
16
|
+
docsModules: a,
|
|
17
17
|
subtypeDocs: c
|
|
18
18
|
}) => /* @__PURE__ */ f("div", { id: d, className: "flex min-w-0 scroll-mt-25 flex-col gap-6 text-neutral-800", children: [
|
|
19
|
-
|
|
20
|
-
n && /* @__PURE__ */ e(x, { content: n, className: "text-medium [&_p:last-child]:mb-0" }),
|
|
19
|
+
t && /* @__PURE__ */ e("h2", { className: "text-super-large font-bold", children: t }),
|
|
20
|
+
n && /* @__PURE__ */ e(x, { content: n, className: "text-medium [&_p:last-child]:mb-0", variant: "legal" }),
|
|
21
21
|
i.length > 0 && /* @__PURE__ */ e(h, { linkedProducts: i }),
|
|
22
22
|
m && /* @__PURE__ */ e(p, { ...m }),
|
|
23
23
|
!!o && /* @__PURE__ */ e(l, { className: "w-75 self-center text-center", children: o }),
|
|
24
24
|
!!s && /* @__PURE__ */ e(l, { variant: "icon-grey", disabled: !0, className: "w-75 self-center bg-neutral-200 text-center font-bold", children: s }),
|
|
25
|
-
|
|
26
|
-
/* @__PURE__ */ e(l, { className: "w-full", variant: "secondary-black", children:
|
|
27
|
-
/* @__PURE__ */ e(l, { className: "w-full", variant: "secondary-black", children:
|
|
25
|
+
a && /* @__PURE__ */ f("div", { className: "flex w-75 gap-4 self-center", children: [
|
|
26
|
+
/* @__PURE__ */ e(l, { className: "w-full", variant: "secondary-black", children: a.pdfDownload }),
|
|
27
|
+
/* @__PURE__ */ e(l, { className: "w-full", variant: "secondary-black", children: a.wordDownload })
|
|
28
28
|
] }),
|
|
29
29
|
c.length > 0 && /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2", children: c.map((r) => r.format === "Alternative" ? /* @__PURE__ */ e(u, { ...r }, r.id) : /* @__PURE__ */ e(w, { ...r }, r.id)) })
|
|
30
30
|
] });
|
|
@@ -29,15 +29,6 @@ export interface CategoriesSectionProps {
|
|
|
29
29
|
cta: ReactNode;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export interface ContinueEditingBannerProps {
|
|
33
|
-
latestApplicationInProgress?: LatestApplication;
|
|
34
|
-
editFormClicked?: (latestApplication: LatestApplication) => void;
|
|
35
|
-
token: string;
|
|
36
|
-
tagLine: string;
|
|
37
|
-
title: string;
|
|
38
|
-
buttonLabel: string;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
32
|
export interface FaqTeaserSectionProps {
|
|
42
33
|
header: SectionHeadingProps;
|
|
43
34
|
questions: {
|
|
@@ -79,7 +70,6 @@ export declare interface HomeTemplateProps {
|
|
|
79
70
|
trust: TrustSectionProps;
|
|
80
71
|
faqTeaser: FaqTeaserSectionProps;
|
|
81
72
|
articles: BlogSectionProps;
|
|
82
|
-
continueEditingBanner: ContinueEditingBannerProps;
|
|
83
73
|
}
|
|
84
74
|
|
|
85
75
|
export interface ItemProps {
|
|
@@ -92,20 +82,6 @@ export interface ItemProps {
|
|
|
92
82
|
className?: string;
|
|
93
83
|
}
|
|
94
84
|
|
|
95
|
-
export interface LatestApplication {
|
|
96
|
-
id: string;
|
|
97
|
-
state?: string;
|
|
98
|
-
link: string;
|
|
99
|
-
lastStep?: number;
|
|
100
|
-
continueFromHome?: boolean;
|
|
101
|
-
form: {
|
|
102
|
-
name: string;
|
|
103
|
-
url: string;
|
|
104
|
-
type: string;
|
|
105
|
-
subType?: string;
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
|
|
109
85
|
export interface LawGeniusSectionProps {
|
|
110
86
|
title: string;
|
|
111
87
|
content: string;
|
|
@@ -1,35 +1,32 @@
|
|
|
1
1
|
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { FaqTeaserSection as u } from "./FaqTeaserSection.js";
|
|
3
|
+
import { HeroSection as n } from "./HeroSection.js";
|
|
4
|
+
import { MoreTemplatesSection as f } from "./MoreTemplatesSection.js";
|
|
5
|
+
import { ProcessSection as l } from "./ProcessSection.js";
|
|
6
|
+
import { CategoriesSection as S } from "./CategoriesSection.js";
|
|
7
|
+
import { TrustSection as x } from "./TrustSection.js";
|
|
8
|
+
import { FaqTeaserSection as T } from "./FaqTeaserSection.js";
|
|
10
9
|
import { BlogSection as b } from "./BlogSection.js";
|
|
11
|
-
import { RatafiaSection as
|
|
12
|
-
const
|
|
10
|
+
import { RatafiaSection as g } from "./RatafiaSection.js";
|
|
11
|
+
const M = ({
|
|
13
12
|
hero: t,
|
|
14
13
|
moreTemplates: m,
|
|
15
14
|
process: e,
|
|
16
15
|
categories: r,
|
|
17
16
|
ratafia: i,
|
|
18
|
-
trust:
|
|
19
|
-
faqTeaser:
|
|
20
|
-
articles: a
|
|
21
|
-
continueEditingBanner: s
|
|
17
|
+
trust: p,
|
|
18
|
+
faqTeaser: s,
|
|
19
|
+
articles: a
|
|
22
20
|
}) => /* @__PURE__ */ c("main", { className: "flex-1", children: [
|
|
23
|
-
/* @__PURE__ */ o(
|
|
24
|
-
/* @__PURE__ */ o(
|
|
25
|
-
/* @__PURE__ */ o(
|
|
26
|
-
/* @__PURE__ */ o(
|
|
27
|
-
|
|
28
|
-
/* @__PURE__ */ o(
|
|
29
|
-
/* @__PURE__ */ o(
|
|
30
|
-
/* @__PURE__ */ o(u, { ...p }),
|
|
21
|
+
/* @__PURE__ */ o(n, { ...t }),
|
|
22
|
+
/* @__PURE__ */ o(f, { ...m }),
|
|
23
|
+
/* @__PURE__ */ o(l, { ...e }),
|
|
24
|
+
r && /* @__PURE__ */ o(S, { ...r }),
|
|
25
|
+
/* @__PURE__ */ o(g, { ...i }),
|
|
26
|
+
/* @__PURE__ */ o(x, { ...p }),
|
|
27
|
+
/* @__PURE__ */ o(T, { ...s }),
|
|
31
28
|
/* @__PURE__ */ o(b, { className: "pt-10 pb-12 lg:pb-14", ...a })
|
|
32
29
|
] });
|
|
33
30
|
export {
|
|
34
|
-
|
|
31
|
+
M as HomeTemplate
|
|
35
32
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-contracts-ui",
|
|
3
|
-
"version": "0.159.
|
|
3
|
+
"version": "0.159.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -294,10 +294,6 @@
|
|
|
294
294
|
"import": "./dist/components/ContentItem.js",
|
|
295
295
|
"types": "./dist/components/ContentItem.d.ts"
|
|
296
296
|
},
|
|
297
|
-
"./components/ContinueEditingBanner": {
|
|
298
|
-
"import": "./dist/components/ContinueEditingBanner.js",
|
|
299
|
-
"types": "./dist/components/ContinueEditingBanner.d.ts"
|
|
300
|
-
},
|
|
301
297
|
"./components/CookiesBar": {
|
|
302
298
|
"import": "./dist/components/CookiesBar.js",
|
|
303
299
|
"types": "./dist/components/CookiesBar.d.ts"
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
|
|
3
|
-
export declare const ContinueEditingBanner: FC<ContinueEditingBannerProps>;
|
|
4
|
-
|
|
5
|
-
export declare interface ContinueEditingBannerProps {
|
|
6
|
-
latestApplicationInProgress?: LatestApplication;
|
|
7
|
-
editFormClicked?: (latestApplication: LatestApplication) => void;
|
|
8
|
-
token: string;
|
|
9
|
-
tagLine: string;
|
|
10
|
-
title: string;
|
|
11
|
-
buttonLabel: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export declare interface LatestApplication {
|
|
15
|
-
id: string;
|
|
16
|
-
state?: string;
|
|
17
|
-
link: string;
|
|
18
|
-
lastStep?: number;
|
|
19
|
-
continueFromHome?: boolean;
|
|
20
|
-
form: {
|
|
21
|
-
name: string;
|
|
22
|
-
url: string;
|
|
23
|
-
type: string;
|
|
24
|
-
subType?: string;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
3
|
-
import "react";
|
|
4
|
-
import { Button as m } from "./Button.js";
|
|
5
|
-
const u = ({
|
|
6
|
-
latestApplicationInProgress: t,
|
|
7
|
-
editFormClicked: n,
|
|
8
|
-
tagLine: r,
|
|
9
|
-
title: a,
|
|
10
|
-
token: s,
|
|
11
|
-
buttonLabel: i
|
|
12
|
-
}) => t == null || s.length === 0 ? null : /* @__PURE__ */ e("div", { className: "bg-primary-50 px-ds-sm py-0", children: /* @__PURE__ */ l("div", { className: "gap-ds-sm bg-neutral-white p-ds-lg flex flex-col items-center rounded-sm text-center", children: [
|
|
13
|
-
/* @__PURE__ */ l("div", { className: "gap-ds-2xs flex flex-col", children: [
|
|
14
|
-
/* @__PURE__ */ e("span", { className: "font-lora text-large text-primary-800 lg:text-super-large", children: a }),
|
|
15
|
-
/* @__PURE__ */ e("span", { className: "text-medium text-neutral-600", children: r })
|
|
16
|
-
] }),
|
|
17
|
-
/* @__PURE__ */ e(
|
|
18
|
-
m,
|
|
19
|
-
{
|
|
20
|
-
"data-qa": "continue-editing-banner-button",
|
|
21
|
-
className: "lg:w-auto",
|
|
22
|
-
onClick: () => {
|
|
23
|
-
n?.(t);
|
|
24
|
-
},
|
|
25
|
-
children: i
|
|
26
|
-
}
|
|
27
|
-
)
|
|
28
|
-
] }) });
|
|
29
|
-
export {
|
|
30
|
-
u as ContinueEditingBanner
|
|
31
|
-
};
|