@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.
@@ -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 { ContinueEditingBanner as f } from "./ContinueEditingBanner.js";
4
- import { HeroSection as l } from "./HeroSection.js";
5
- import { MoreTemplatesSection as S } from "./MoreTemplatesSection.js";
6
- import { ProcessSection as x } from "./ProcessSection.js";
7
- import { CategoriesSection as T } from "./CategoriesSection.js";
8
- import { TrustSection as g } from "./TrustSection.js";
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 d } from "./RatafiaSection.js";
12
- const R = ({
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: n,
19
- faqTeaser: p,
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(f, { ...s }),
24
- /* @__PURE__ */ o(l, { ...t }),
25
- /* @__PURE__ */ o(S, { ...m }),
26
- /* @__PURE__ */ o(x, { ...e }),
27
- r && /* @__PURE__ */ o(T, { ...r }),
28
- /* @__PURE__ */ o(d, { ...i }),
29
- /* @__PURE__ */ o(g, { ...n }),
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
- R as HomeTemplate
31
+ M as HomeTemplate
35
32
  };
@@ -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: c, type: a = "default", onClose: d }) => {
22
- const [t, n] = h(i), o = u[a];
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: c })
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
  ]