@npm_leadtech/legal-contracts-ui 0.182.2 → 0.182.3

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,5 +29,7 @@ export declare interface FooterProps {
29
29
  copyrightText?: string;
30
30
  trustPilot?: ReactNode;
31
31
  languageSelector?: ReactNode;
32
+ linksShow?: boolean;
33
+ cookiesShow?: boolean;
32
34
  }
33
35
 
@@ -3,9 +3,9 @@ import { FooterNav as t } from "./FooterNav.js";
3
3
  import "react";
4
4
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
5
5
  //#region lib/components/organisms/Footer.tsx
6
- var i = ({ nav: i, contactInfo: a, logoGray: o, socialLinks: s, legalLinks: c, disclaimerText: l, copyrightText: u, trustPilot: d, languageSelector: f }) => /* @__PURE__ */ r("footer", {
6
+ var i = ({ nav: i, contactInfo: a, logoGray: o, socialLinks: s, legalLinks: c, disclaimerText: l, copyrightText: u, trustPilot: d, languageSelector: f, linksShow: p = !0, cookiesShow: m = !0 }) => /* @__PURE__ */ r("footer", {
7
7
  className: "text-neutral-25 max-w-full overflow-x-hidden",
8
- children: [/* @__PURE__ */ n("div", {
8
+ children: [p ? /* @__PURE__ */ n("div", {
9
9
  className: "bg-primary-900",
10
10
  children: /* @__PURE__ */ r("div", {
11
11
  className: "mx-auto flex w-full max-w-300 flex-col items-start gap-8 px-6 py-10 md:grid md:grid-cols-3 lg:flex lg:flex-row lg:justify-between",
@@ -46,7 +46,7 @@ var i = ({ nav: i, contactInfo: a, logoGray: o, socialLinks: s, legalLinks: c, d
46
46
  })]
47
47
  })]
48
48
  })
49
- }), /* @__PURE__ */ n("div", {
49
+ }) : null, m ? /* @__PURE__ */ n("div", {
50
50
  className: "bg-neutral-900 px-6 py-8 text-neutral-400",
51
51
  children: /* @__PURE__ */ r("div", {
52
52
  className: "mx-auto flex w-full max-w-300 flex-col gap-6",
@@ -73,7 +73,7 @@ var i = ({ nav: i, contactInfo: a, logoGray: o, socialLinks: s, legalLinks: c, d
73
73
  })
74
74
  ]
75
75
  })
76
- })]
76
+ }) : null]
77
77
  });
78
78
  //#endregion
79
79
  export { i as Footer };
@@ -504,6 +504,8 @@ export declare interface FooterProps {
504
504
  copyrightText?: string;
505
505
  trustPilot?: ReactNode;
506
506
  languageSelector?: ReactNode;
507
+ linksShow?: boolean;
508
+ cookiesShow?: boolean;
507
509
  }
508
510
 
509
511
  export declare interface FormattedLanguageItem {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-contracts-ui",
3
- "version": "0.182.2",
3
+ "version": "0.182.3",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",