@npm_leadtech/legal-contracts-ui 0.185.0 → 0.185.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.
@@ -13,12 +13,12 @@ var r = ({ link: r, sampleImage: i, pdfDownload: a, wordDownload: o }) => /* @__
13
13
  children: r
14
14
  }), /* @__PURE__ */ n("div", {
15
15
  className: "flex w-full flex-col justify-between gap-3 lg:flex-row lg:gap-0.75",
16
- children: [/* @__PURE__ */ t(e, {
16
+ children: [!!a && /* @__PURE__ */ t(e, {
17
17
  size: "small",
18
18
  className: "w-full",
19
19
  variant: "secondary-black",
20
20
  children: a
21
- }), /* @__PURE__ */ t(e, {
21
+ }), !!o && /* @__PURE__ */ t(e, {
22
22
  size: "small",
23
23
  className: "w-full",
24
24
  variant: "secondary-black",
@@ -32,11 +32,11 @@ var c = ({ id: c, title: l, content: u, linkedProducts: d, sampleImage: f, cta:
32
32
  }),
33
33
  h && /* @__PURE__ */ s("div", {
34
34
  className: "flex w-75 gap-4 self-center",
35
- children: [/* @__PURE__ */ o(t, {
35
+ children: [!!h.pdfDownload && /* @__PURE__ */ o(t, {
36
36
  className: "w-full",
37
37
  variant: "secondary-black",
38
38
  children: h.pdfDownload
39
- }), /* @__PURE__ */ o(t, {
39
+ }), !!h.wordDownload && /* @__PURE__ */ o(t, {
40
40
  className: "w-full",
41
41
  variant: "secondary-black",
42
42
  children: h.wordDownload
@@ -25,12 +25,12 @@ var r = ({ link: r, sampleImage: i, pdfDownload: a, wordDownload: o, createDocBu
25
25
  children: s
26
26
  }), /* @__PURE__ */ n("div", {
27
27
  className: "flex w-full justify-between gap-4",
28
- children: [/* @__PURE__ */ t(e, {
28
+ children: [!!a && /* @__PURE__ */ t(e, {
29
29
  size: "small",
30
30
  className: "w-full",
31
31
  variant: "secondary-black",
32
32
  children: a
33
- }), /* @__PURE__ */ t(e, {
33
+ }), !!o && /* @__PURE__ */ t(e, {
34
34
  size: "small",
35
35
  className: "w-full",
36
36
  variant: "secondary-black",
@@ -49,11 +49,11 @@ var s = ({ trustedBadge: s, imagePreview: c, freeDocTexts: l, title: u, pdfDownl
49
49
  ]
50
50
  }), /* @__PURE__ */ o("div", {
51
51
  className: "flex w-full gap-4",
52
- children: [/* @__PURE__ */ a(e, {
52
+ children: [!!d && /* @__PURE__ */ a(e, {
53
53
  className: "w-full md:w-26.25",
54
54
  variant: "secondary-black",
55
55
  children: d
56
- }), /* @__PURE__ */ a(e, {
56
+ }), !!f && /* @__PURE__ */ a(e, {
57
57
  className: "w-full md:w-26.25",
58
58
  variant: "secondary-black",
59
59
  children: f
@@ -64,11 +64,11 @@ var s = ({ trustedBadge: s, imagePreview: c, freeDocTexts: l, title: u, pdfDownl
64
64
  })
65
65
  }), p && /* @__PURE__ */ o("div", {
66
66
  className: "fixed bottom-0 left-0 z-50 flex w-full gap-4 bg-white px-6 py-4 shadow sm:hidden",
67
- children: [/* @__PURE__ */ a(e, {
67
+ children: [!!d && /* @__PURE__ */ a(e, {
68
68
  className: "w-full",
69
69
  variant: "secondary-black",
70
70
  children: d
71
- }), /* @__PURE__ */ a(e, {
71
+ }), !!f && /* @__PURE__ */ a(e, {
72
72
  className: "w-full",
73
73
  variant: "secondary-black",
74
74
  children: f
@@ -48,11 +48,11 @@ var s = ({ title: s, footerText: c, preview: l, cta: u, pdfDownload: d, wordDown
48
48
  children: c
49
49
  }), /* @__PURE__ */ o("div", {
50
50
  className: "flex w-full gap-4",
51
- children: [/* @__PURE__ */ a(n, {
51
+ children: [!!d && /* @__PURE__ */ a(n, {
52
52
  className: "w-full",
53
53
  variant: "secondary-black",
54
54
  children: d
55
- }), /* @__PURE__ */ a(n, {
55
+ }), !!f && /* @__PURE__ */ a(n, {
56
56
  className: "w-full",
57
57
  variant: "secondary-black",
58
58
  children: f
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-contracts-ui",
3
- "version": "0.185.0",
3
+ "version": "0.185.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",