@npm_leadtech/legal-contracts-ui 0.183.1 → 0.184.1
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.
|
@@ -66,10 +66,10 @@ export declare interface HomeTemplateProps {
|
|
|
66
66
|
moreTemplates: PopularDocumentsProps;
|
|
67
67
|
process: HomeStepsProps;
|
|
68
68
|
categories?: CategoriesSectionProps;
|
|
69
|
-
ratafia
|
|
69
|
+
ratafia?: LawGeniusSectionProps;
|
|
70
70
|
trust: TrustSectionProps;
|
|
71
|
-
faqTeaser
|
|
72
|
-
articles
|
|
71
|
+
faqTeaser?: FaqTeaserSectionProps;
|
|
72
|
+
articles?: BlogSectionProps;
|
|
73
73
|
continueEditingBannerSlot?: ReactNode;
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -17,10 +17,10 @@ var u = ({ hero: u, moreTemplates: d, process: f, categories: p, ratafia: m, tru
|
|
|
17
17
|
/* @__PURE__ */ c(i, { ...d }),
|
|
18
18
|
/* @__PURE__ */ c(a, { ...f }),
|
|
19
19
|
p && /* @__PURE__ */ c(t, { ...p }),
|
|
20
|
-
/* @__PURE__ */ c(o, { ...m }),
|
|
20
|
+
m && /* @__PURE__ */ c(o, { ...m }),
|
|
21
21
|
/* @__PURE__ */ c(s, { ...h }),
|
|
22
|
-
/* @__PURE__ */ c(n, { ...g }),
|
|
23
|
-
/* @__PURE__ */ c(e, {
|
|
22
|
+
g && /* @__PURE__ */ c(n, { ...g }),
|
|
23
|
+
_ && /* @__PURE__ */ c(e, {
|
|
24
24
|
className: "pt-10 pb-12 lg:pb-14",
|
|
25
25
|
..._
|
|
26
26
|
})
|
|
@@ -11,7 +11,7 @@ import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
|
11
11
|
var c = (e) => {
|
|
12
12
|
!(e.target instanceof HTMLElement) || !e.target.closest("a") || e.stopPropagation();
|
|
13
13
|
}, l = ({ isOpen: l, setIsOpen: u, title: d, closeLeadGateLabel: f, description: p, emailLabel: m, emailPlaceholder: h, emailErrorMessage: g, termsLabel: _, marketingLabel: v, ctaLabel: y, payload: b, errors: x = {}, onPayloadChange: S, onSubmit: C }) => {
|
|
14
|
-
let w = !!
|
|
14
|
+
let w = !!x.email;
|
|
15
15
|
return /* @__PURE__ */ o(a, {
|
|
16
16
|
isOpen: l,
|
|
17
17
|
setIsOpen: u,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-contracts-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.184.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -799,7 +799,7 @@
|
|
|
799
799
|
"build": "tsc --project tsconfig.build.json && vite build && cp lib/globals-core.css dist/globals.css",
|
|
800
800
|
"sonar:scan": "bash scripts/sonar.sh",
|
|
801
801
|
"sonar": "pnpm test && pnpm sonar:scan",
|
|
802
|
-
"chromatic": "npx chromatic --project-token=
|
|
802
|
+
"chromatic": "npx chromatic --project-token=chpt_be90ce8462f803c",
|
|
803
803
|
"yalc-push": "pnpm build && yalc push",
|
|
804
804
|
"format": "prettier --write .",
|
|
805
805
|
"prettier": "prettier --check .",
|