@npm_leadtech/legal-contracts-ui 0.177.6 → 0.177.7

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.
@@ -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
@@ -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.177.6",
3
+ "version": "0.177.7",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",