@npm_leadtech/legal-contracts-ui 0.166.0 → 0.167.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.
@@ -0,0 +1,11 @@
1
+ import { FC } from 'react';
2
+
3
+ export declare const ContinueEditingBanner: FC<ContinueEditingBannerProps>;
4
+
5
+ export declare interface ContinueEditingBannerProps {
6
+ editFormClicked?: () => void;
7
+ tagLine: string;
8
+ title: string;
9
+ buttonLabel: string;
10
+ }
11
+
@@ -0,0 +1,19 @@
1
+ "use client";
2
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
3
+ import "react";
4
+ import { Button as n } from "./Button.js";
5
+ const m = ({
6
+ editFormClicked: a,
7
+ tagLine: r,
8
+ title: s,
9
+ buttonLabel: l
10
+ }) => /* @__PURE__ */ e("div", { className: "bg-primary-50 px-ds-sm py-0", children: /* @__PURE__ */ t("div", { className: 'gap-ds-sm p-ds-lg flex flex-col items-center rounded-sm bg-neutral-900 bg-[url("../../../src/assets/Black-01-LC.svg?url")] bg-[length:auto_90%] bg-left-bottom bg-no-repeat text-center', children: [
11
+ /* @__PURE__ */ t("div", { className: "gap-ds-2xs flex flex-col", children: [
12
+ /* @__PURE__ */ e("span", { className: "font-lora text-large text-primary-100 lg:text-super-large", children: s }),
13
+ /* @__PURE__ */ e("span", { className: "text-medium text-neutral-200", children: r })
14
+ ] }),
15
+ /* @__PURE__ */ e(n, { "data-qa": "continue-editing-banner-button", className: "lg:w-auto", onClick: a, children: l })
16
+ ] }) });
17
+ export {
18
+ m as ContinueEditingBanner
19
+ };
@@ -70,6 +70,7 @@ export declare interface HomeTemplateProps {
70
70
  trust: TrustSectionProps;
71
71
  faqTeaser: FaqTeaserSectionProps;
72
72
  articles: BlogSectionProps;
73
+ continueEditingBannerSlot?: ReactNode;
73
74
  }
74
75
 
75
76
  export interface ItemProps {
@@ -1,32 +1,34 @@
1
- import { jsxs as c, jsx as o } from "react/jsx-runtime";
1
+ import { jsxs as f, jsx as o } from "react/jsx-runtime";
2
2
  import "react";
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";
9
- import { BlogSection as b } from "./BlogSection.js";
10
- import { RatafiaSection as g } from "./RatafiaSection.js";
11
- const M = ({
3
+ import { HeroSection as l } from "./HeroSection.js";
4
+ import { MoreTemplatesSection as n } from "./MoreTemplatesSection.js";
5
+ import { ProcessSection as S } from "./ProcessSection.js";
6
+ import { CategoriesSection as x } from "./CategoriesSection.js";
7
+ import { TrustSection as T } from "./TrustSection.js";
8
+ import { FaqTeaserSection as b } from "./FaqTeaserSection.js";
9
+ import { BlogSection as j } from "./BlogSection.js";
10
+ import { RatafiaSection as u } from "./RatafiaSection.js";
11
+ const d = ({
12
12
  hero: t,
13
- moreTemplates: m,
14
- process: e,
13
+ moreTemplates: e,
14
+ process: i,
15
15
  categories: r,
16
- ratafia: i,
17
- trust: p,
18
- faqTeaser: s,
19
- articles: a
20
- }) => /* @__PURE__ */ c("main", { className: "flex-1", children: [
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 }),
16
+ ratafia: p,
17
+ trust: s,
18
+ faqTeaser: a,
19
+ articles: c,
20
+ continueEditingBannerSlot: m
21
+ }) => /* @__PURE__ */ f("main", { className: "flex-1", children: [
22
+ m != null && m,
23
+ /* @__PURE__ */ o(l, { ...t }),
24
+ /* @__PURE__ */ o(n, { ...e }),
25
+ /* @__PURE__ */ o(S, { ...i }),
26
+ r && /* @__PURE__ */ o(x, { ...r }),
27
+ /* @__PURE__ */ o(u, { ...p }),
27
28
  /* @__PURE__ */ o(T, { ...s }),
28
- /* @__PURE__ */ o(b, { className: "pt-10 pb-12 lg:pb-14", ...a })
29
+ /* @__PURE__ */ o(b, { ...a }),
30
+ /* @__PURE__ */ o(j, { className: "pt-10 pb-12 lg:pb-14", ...c })
29
31
  ] });
30
32
  export {
31
- M as HomeTemplate
33
+ d as HomeTemplate
32
34
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-contracts-ui",
3
- "version": "0.166.0",
3
+ "version": "0.167.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -294,6 +294,10 @@
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
+ },
297
301
  "./components/CookiesBar": {
298
302
  "import": "./dist/components/CookiesBar.js",
299
303
  "types": "./dist/components/CookiesBar.d.ts"