@npm_leadtech/legal-contracts-ui 0.159.5 → 0.160.0
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/HomeTemplate.d.ts +0 -24
- package/dist/components/HomeTemplate.js +19 -22
- package/dist/components/Toast.js +3 -3
- package/dist/components/index.d.ts +1333 -0
- package/package.json +1 -5
- package/dist/components/ContinueEditingBanner.d.ts +0 -27
- package/dist/components/ContinueEditingBanner.js +0 -31
|
@@ -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/dist/components/Toast.js
CHANGED
|
@@ -18,8 +18,8 @@ const u = {
|
|
|
18
18
|
icon: /* @__PURE__ */ e(l, { fill: "white", width: 24, height: 24 }),
|
|
19
19
|
bg: "bg-neutral-500"
|
|
20
20
|
}
|
|
21
|
-
}, v = ({ show: i, title: s, message:
|
|
22
|
-
const [t, n] = h(i), o = u[
|
|
21
|
+
}, v = ({ show: i, title: s, message: a, type: c = "default", onClose: d }) => {
|
|
22
|
+
const [t, n] = h(i), o = u[c];
|
|
23
23
|
i && !t && n(!0);
|
|
24
24
|
const m = () => {
|
|
25
25
|
i || n(!1);
|
|
@@ -37,7 +37,7 @@ const u = {
|
|
|
37
37
|
/* @__PURE__ */ e("div", { className: "shrink-0", children: o.icon }),
|
|
38
38
|
/* @__PURE__ */ r("div", { className: "flex grow flex-col text-sm text-white", children: [
|
|
39
39
|
/* @__PURE__ */ e("p", { className: "font-bold", children: s }),
|
|
40
|
-
/* @__PURE__ */ e("p", { children:
|
|
40
|
+
/* @__PURE__ */ e("p", { "data-qa": "toast-message", children: a })
|
|
41
41
|
] }),
|
|
42
42
|
/* @__PURE__ */ e("button", { onClick: d, className: "cursor-pointer", children: /* @__PURE__ */ e(p, { fill: "white", className: "h-4 w-4" }) })
|
|
43
43
|
]
|