@npm_leadtech/legal-contracts-ui 0.116.0 → 0.116.2
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.
- package/dist/assets/style/themes.css +1 -1
- package/dist/components/FaqItem.js +9 -9
- package/dist/components/Footer.d.ts +8 -2
- package/dist/components/FooterNav.d.ts +7 -1
- package/dist/components/FooterNav.js +6 -5
- package/dist/components/FooterNavItem.d.ts +11 -0
- package/dist/components/FooterNavItem.js +9 -0
- package/dist/components/Jumbotron2.js +3 -3
- package/dist/components/LanguageSelector.js +5 -5
- package/dist/components/NavMenuItem.js +2 -2
- package/dist/components/index.d.ts +8 -2
- package/dist/globals.css +1 -1
- package/package.json +5 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
html{--color-principal: #078080;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-White: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #eff7f5;--color-primary-100: #e4f8f3;--color-primary-200: #c0f7e8;--color-primary-300: #5dd8c3;--color-primary-400: #34b2a7;--color-primary-500: #078080;--color-primary-700: #05646e;--color-primary-800: #02374a;--color-primary-900: #032a38;--color-secondary-50: #fcf9f5;--color-secondary-100: #fcf4e5;--color-secondary-200: #f7e8cf;--color-secondary-300: #f5dab0;--color-secondary-400: #f4cc8c;--color-secondary-500: #f2bd6a;--color-secondary-600: #cd9a4c;--color-secondary-700: #936c2f}html[data-theme=districtlaws]{--font-main: "Inter", sans-serif;--color-principal: #f26600;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #fff5ee;--color-primary-100: #ffe1cc;--color-primary-200: #ffc59b;--color-primary-300: #ffa05c;--color-primary-400: #ff862e;--color-primary-500: #f26600;--color-primary-700: #c95500;--color-primary-800: #4f2100;--color-primary-900: #220f00;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=lawdistricts]{--font-main: "Inter", sans-serif;--color-principal: #485aff;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #f9f9ff;--color-primary-100: #eceeff;--color-primary-200: #c3c9ff;--color-primary-300: #9aa4ff;--color-primary-400: #717fff;--color-primary-500: #485aff;--color-primary-700: #1725a6;--color-primary-800: #050e5a;--color-primary-900: #000533;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=lawdistrict]{--font-main: "Inter", sans-serif;--color-principal: #078080;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-White: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #eff7f5;--color-primary-100: #e4f8f3;--color-primary-200: #c0f7e8;--color-primary-300: #5dd8c3;--color-primary-400: #34b2a7;--color-primary-500: #078080;--color-primary-700: #05646e;--color-primary-800: #02374a;--color-primary-900: #032a38;--color-secondary-50: #fcf9f5;--color-secondary-100: #fcf4e5;--color-secondary-200: #f7e8cf;--color-secondary-300: #f5dab0;--color-secondary-400: #f4cc8c;--color-secondary-500: #f2bd6a;--color-secondary-600: #cd9a4c;--color-secondary-700: #936c2f}html[data-theme=lawsdistrict]{--font-main: "Inter", sans-serif;--color-principal: #7d2eff;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #f9f5ff;--color-primary-100: #e3d1ff;--color-primary-200: #b68aff;--color-primary-300: #a56dff;--color-primary-400: #9e63ff;--color-primary-500: #7d2eff;--color-primary-700: #320085;--color-primary-800: #23005c;--color-primary-900: #11002d;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=lawdistrictinfo]{--font-main: "Inter", sans-serif;--color-principal: #00b649;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #e7fff1;--color-primary-100: #d5ffe6;--color-primary-200: #6affa5;--color-primary-300: #16ff73;--color-primary-400: #00df59;--color-primary-500: #00b649;--color-primary-700: #008e39;--color-primary-800: #003c18;--color-primary-900: #001709;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=uslawdistrict]{--font-main: "Inter", sans-serif;--color-principal: #d68d00;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #fffbf2;--color-primary-100: #fff6e5;--color-primary-200: #ffe6b7;--color-primary-300: #ffc75c;--color-primary-400: #ffa800;--color-primary-500: #d68d00;--color-primary-700: #855800;--color-primary-800: #3d2800;--color-primary-900: #231700;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=legalfinity]{--font-main: "Poppins", sans-serif;--color-principal: #3970ff;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f5f7fa;--color-neutral-50: #ebeef3;--color-neutral-200: #d2d9e5;--color-neutral-400: #abbbce;--color-neutral-600: #496080;--color-neutral-800: #2f3a4b;--color-neutral-900: #1f2532;--color-primary-50: #e9f5ff;--color-primary-100: #d7ecff;--color-primary-200: #b7daff;--color-primary-300: #8bc1ff;--color-primary-400: #5e99ff;--color-primary-500: #1039f5;--color-primary-700: #1039f5;--color-primary-800: #163399;--color-primary-900: #07144b;--color-secondary-50: #fff6ed;--color-secondary-100: #fff0d5;--color-secondary-200: #fedcaa;--color-secondary-300: #fdc374;--color-secondary-400: #fb9e3c;--color-secondary-500: #f98116;--color-secondary-600: #ea660c;--color-secondary-700: #d3530d}
|
|
1
|
+
html{--color-principal: #078080;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-White: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #eff7f5;--color-primary-100: #e4f8f3;--color-primary-200: #c0f7e8;--color-primary-300: #5dd8c3;--color-primary-400: #34b2a7;--color-primary-500: #078080;--color-primary-700: #05646e;--color-primary-800: #02374a;--color-primary-900: #032a38;--color-secondary-50: #fcf9f5;--color-secondary-100: #fcf4e5;--color-secondary-200: #f7e8cf;--color-secondary-300: #f5dab0;--color-secondary-400: #f4cc8c;--color-secondary-500: #f2bd6a;--color-secondary-600: #cd9a4c;--color-secondary-700: #936c2f}html[data-theme=districtlaws]{--font-main: "Inter", sans-serif;--color-principal: #f26600;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #fff5ee;--color-primary-100: #ffe1cc;--color-primary-200: #ffc59b;--color-primary-300: #ffa05c;--color-primary-400: #ff862e;--color-primary-500: #f26600;--color-primary-700: #c95500;--color-primary-800: #4f2100;--color-primary-900: #220f00;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=lawdistricts]{--font-main: "Inter", sans-serif;--color-principal: #485aff;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #f9f9ff;--color-primary-100: #eceeff;--color-primary-200: #c3c9ff;--color-primary-300: #9aa4ff;--color-primary-400: #717fff;--color-primary-500: #485aff;--color-primary-700: #1725a6;--color-primary-800: #050e5a;--color-primary-900: #000533;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=lawdistrict]{--font-main: "Inter", sans-serif;--color-principal: #078080;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-White: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #eff7f5;--color-primary-100: #e4f8f3;--color-primary-200: #c0f7e8;--color-primary-300: #5dd8c3;--color-primary-400: #34b2a7;--color-primary-500: #078080;--color-primary-700: #05646e;--color-primary-800: #02374a;--color-primary-900: #032a38;--color-secondary-50: #fcf9f5;--color-secondary-100: #fcf4e5;--color-secondary-200: #f7e8cf;--color-secondary-300: #f5dab0;--color-secondary-400: #f4cc8c;--color-secondary-500: #f2bd6a;--color-secondary-600: #cd9a4c;--color-secondary-700: #936c2f}html[data-theme=lawsdistrict]{--font-main: "Inter", sans-serif;--color-principal: #7d2eff;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #f9f5ff;--color-primary-100: #e3d1ff;--color-primary-200: #b68aff;--color-primary-300: #a56dff;--color-primary-400: #9e63ff;--color-primary-500: #7d2eff;--color-primary-700: #320085;--color-primary-800: #23005c;--color-primary-900: #11002d;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=lawdistrictinfo]{--font-main: "Inter", sans-serif;--color-principal: #00b649;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #e7fff1;--color-primary-100: #d5ffe6;--color-primary-200: #6affa5;--color-primary-300: #16ff73;--color-primary-400: #00df59;--color-primary-500: #00b649;--color-primary-700: #008e39;--color-primary-800: #003c18;--color-primary-900: #001709;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=uslawdistrict]{--font-main: "Inter", sans-serif;--color-principal: #d68d00;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #fffbf2;--color-primary-100: #fff6e5;--color-primary-200: #ffe6b7;--color-primary-300: #ffc75c;--color-primary-400: #ffa800;--color-primary-500: #d68d00;--color-primary-700: #855800;--color-primary-800: #3d2800;--color-primary-900: #231700;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=legalfinity]{--font-main: "Poppins", sans-serif;--font-inter: "Poppins", sans-serif;--font-lora: "Poppins", serif;--color-principal: #3970ff;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f5f7fa;--color-neutral-50: #ebeef3;--color-neutral-200: #d2d9e5;--color-neutral-400: #abbbce;--color-neutral-600: #496080;--color-neutral-800: #2f3a4b;--color-neutral-900: #1f2532;--color-primary-50: #e9f5ff;--color-primary-100: #d7ecff;--color-primary-200: #b7daff;--color-primary-300: #8bc1ff;--color-primary-400: #5e99ff;--color-primary-500: #1039f5;--color-primary-700: #1039f5;--color-primary-800: #163399;--color-primary-900: #07144b;--color-secondary-50: #fff6ed;--color-secondary-100: #fff0d5;--color-secondary-200: #fedcaa;--color-secondary-300: #fdc374;--color-secondary-400: #fb9e3c;--color-secondary-500: #f98116;--color-secondary-600: #ea660c;--color-secondary-700: #d3530d}
|
|
@@ -5,15 +5,15 @@ import { Markdown as p } from "./Markdown.js";
|
|
|
5
5
|
import { ChevronDownIcon as n } from "./ChevronDownIcon.js";
|
|
6
6
|
const b = ({
|
|
7
7
|
question: o,
|
|
8
|
-
answer:
|
|
8
|
+
answer: l,
|
|
9
9
|
showMoreText: a,
|
|
10
|
-
collapsedButtonText:
|
|
11
|
-
expandedButtonText:
|
|
12
|
-
variant:
|
|
10
|
+
collapsedButtonText: i,
|
|
11
|
+
expandedButtonText: s,
|
|
12
|
+
variant: m
|
|
13
13
|
}) => {
|
|
14
14
|
const t = `toggle-${c().replace(/:/g, "")}`;
|
|
15
15
|
return /* @__PURE__ */ e("div", { className: "text-medium flex flex-col rounded bg-white p-4 text-neutral-800 shadow", children: /* @__PURE__ */ r(d, { question: /* @__PURE__ */ e("span", { className: "font-bold", children: o }), children: [
|
|
16
|
-
/* @__PURE__ */ e(p, { content:
|
|
16
|
+
/* @__PURE__ */ e(p, { content: l, className: "text-medium", variant: m ?? "default" }),
|
|
17
17
|
a && /* @__PURE__ */ r("div", { className: "mt-4 rounded-lg bg-neutral-50 p-6", children: [
|
|
18
18
|
/* @__PURE__ */ e("input", { type: "checkbox", id: t, className: "peer sr-only" }),
|
|
19
19
|
/* @__PURE__ */ e("p", { className: "mb-4 line-clamp-4 text-xs leading-relaxed wrap-break-word text-neutral-800 peer-checked:line-clamp-none", children: a }),
|
|
@@ -21,9 +21,9 @@ const b = ({
|
|
|
21
21
|
"label",
|
|
22
22
|
{
|
|
23
23
|
htmlFor: t,
|
|
24
|
-
className: "text-primary-700 flex cursor-pointer items-center gap-1 text-sm
|
|
24
|
+
className: "text-primary-700 flex cursor-pointer items-center gap-1 text-sm transition-colors peer-checked:hidden",
|
|
25
25
|
children: [
|
|
26
|
-
|
|
26
|
+
s,
|
|
27
27
|
/* @__PURE__ */ e(n, { fill: "var(--primary-700)", className: "h-4 w-4 transition-transform duration-200" })
|
|
28
28
|
]
|
|
29
29
|
}
|
|
@@ -32,9 +32,9 @@ const b = ({
|
|
|
32
32
|
"label",
|
|
33
33
|
{
|
|
34
34
|
htmlFor: t,
|
|
35
|
-
className: "text-primary-700 hidden cursor-pointer items-center gap-1 text-sm
|
|
35
|
+
className: "text-primary-700 hidden cursor-pointer items-center gap-1 text-sm transition-colors peer-checked:flex",
|
|
36
36
|
children: [
|
|
37
|
-
|
|
37
|
+
i,
|
|
38
38
|
/* @__PURE__ */ e(
|
|
39
39
|
n,
|
|
40
40
|
{
|
|
@@ -3,13 +3,19 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
|
|
4
4
|
export declare const Footer: FC<FooterProps>;
|
|
5
5
|
|
|
6
|
+
export interface FooterNavItemProps {
|
|
7
|
+
id: string;
|
|
8
|
+
link: ReactNode;
|
|
9
|
+
badge?: string | null;
|
|
10
|
+
}
|
|
11
|
+
|
|
6
12
|
export interface FooterNavProps {
|
|
7
13
|
title: string;
|
|
8
|
-
links:
|
|
14
|
+
links: FooterNavItemProps[];
|
|
9
15
|
}
|
|
10
16
|
|
|
11
17
|
export declare interface FooterProps {
|
|
12
|
-
nav:
|
|
18
|
+
nav: FooterNavProps[];
|
|
13
19
|
contactInfo: {
|
|
14
20
|
phoneNumber: string;
|
|
15
21
|
contactHoursText: string;
|
|
@@ -3,8 +3,14 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
|
|
4
4
|
export declare const FooterNav: FC<FooterNavProps>;
|
|
5
5
|
|
|
6
|
+
export interface FooterNavItemProps {
|
|
7
|
+
id: string;
|
|
8
|
+
link: ReactNode;
|
|
9
|
+
badge?: string | null;
|
|
10
|
+
}
|
|
11
|
+
|
|
6
12
|
export declare interface FooterNavProps {
|
|
7
13
|
title: string;
|
|
8
|
-
links:
|
|
14
|
+
links: FooterNavItemProps[];
|
|
9
15
|
}
|
|
10
16
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/* @__PURE__ */ e("
|
|
3
|
+
import { FooterNavItem as t } from "./FooterNavItem.js";
|
|
4
|
+
const i = ({ title: o, links: r }) => /* @__PURE__ */ a("div", { className: "flex flex-col gap-4", children: [
|
|
5
|
+
/* @__PURE__ */ e("p", { className: "text-small text-primary-200 font-bold", children: o }),
|
|
6
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col gap-4", children: r.map((l) => /* @__PURE__ */ e(t, { ...l }, l.id)) })
|
|
6
7
|
] });
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
+
i as FooterNav
|
|
9
10
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsxs as r, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
const s = ({ link: t, badge: e }) => /* @__PURE__ */ r("span", { className: 'text-extra-small text-neutral-25 relative flex w-fit cursor-pointer items-center gap-1 [&_a]:before:absolute [&_a]:before:inset-0 [&_a]:before:content-[""]', children: [
|
|
4
|
+
t,
|
|
5
|
+
!!e && /* @__PURE__ */ o("span", { className: "bg-secondary-200 rounded px-1 py-0.5 font-bold text-neutral-800", children: e })
|
|
6
|
+
] });
|
|
7
|
+
export {
|
|
8
|
+
s as FooterNavItem
|
|
9
|
+
};
|
|
@@ -3,9 +3,9 @@ import a from "clsx";
|
|
|
3
3
|
const p = ({ title: s, subtitle: l, className: o, children: x, variant: m = "default" }) => {
|
|
4
4
|
const t = m === "contact";
|
|
5
5
|
return /* @__PURE__ */ r("section", { className: `mx-auto px-4 pb-10 text-center md:px-8 ${o ?? ""}`, children: [
|
|
6
|
-
/* @__PURE__ */ r("div", { className: "mx-auto
|
|
7
|
-
/* @__PURE__ */ e("h1", { className:
|
|
8
|
-
/* @__PURE__ */ e("span", { className:
|
|
6
|
+
/* @__PURE__ */ r("div", { className: a("mx-auto flex w-fit flex-col items-center gap-2", !t && "mb-8"), children: [
|
|
7
|
+
/* @__PURE__ */ e("h1", { className: "text-small font-bold text-neutral-600 uppercase", children: s }),
|
|
8
|
+
/* @__PURE__ */ e("span", { className: "h-px w-full bg-neutral-400", "aria-hidden": !0 })
|
|
9
9
|
] }),
|
|
10
10
|
l && /* @__PURE__ */ e(
|
|
11
11
|
"h2",
|
|
@@ -5,7 +5,7 @@ const f = ({
|
|
|
5
5
|
availableLanguages: i,
|
|
6
6
|
variant: a = "default",
|
|
7
7
|
isOpen: r = !1,
|
|
8
|
-
onToggle:
|
|
8
|
+
onToggle: c
|
|
9
9
|
}) => a === "compact" ? /* @__PURE__ */ s("div", { className: "group relative inline-flex cursor-pointer flex-col py-2", children: [
|
|
10
10
|
/* @__PURE__ */ s("div", { className: "flex items-center gap-2 px-2 py-1", children: [
|
|
11
11
|
/* @__PURE__ */ e("span", { className: "flex items-center justify-center", children: l.flag }),
|
|
@@ -28,9 +28,9 @@ const f = ({
|
|
|
28
28
|
"button",
|
|
29
29
|
{
|
|
30
30
|
className: `bg-primary-800 flex w-full cursor-pointer items-center justify-between px-4 py-2 ${r ? "bg-gray-50" : ""}`,
|
|
31
|
-
onClick:
|
|
31
|
+
onClick: c,
|
|
32
32
|
children: [
|
|
33
|
-
/* @__PURE__ */ s("div", { className: "flex items-center gap-2 px-2
|
|
33
|
+
/* @__PURE__ */ s("div", { className: "flex items-center gap-2 px-2 text-gray-800", children: [
|
|
34
34
|
/* @__PURE__ */ e("span", { className: "flex items-center justify-center", children: l.flag }),
|
|
35
35
|
/* @__PURE__ */ e("span", { className: "text-base text-white", children: l.name })
|
|
36
36
|
] }),
|
|
@@ -38,12 +38,12 @@ const f = ({
|
|
|
38
38
|
]
|
|
39
39
|
}
|
|
40
40
|
),
|
|
41
|
-
r && /* @__PURE__ */ e("div", { className: "absolute top-10 z-10 flex w-full flex-col", children: i.map((t,
|
|
41
|
+
r && /* @__PURE__ */ e("div", { className: "absolute top-10 z-10 flex w-full flex-col", children: i.map((t, n) => /* @__PURE__ */ e(
|
|
42
42
|
"a",
|
|
43
43
|
{
|
|
44
44
|
href: t.url,
|
|
45
45
|
className: "mt-2 w-full animate-[slideDown_0.3s_both] items-center justify-between rounded-md bg-white px-4 py-3 ease-out",
|
|
46
|
-
style: { animationDelay: `${String(
|
|
46
|
+
style: { animationDelay: `${String(n * 0.05)}s` },
|
|
47
47
|
children: /* @__PURE__ */ s("div", { className: "flex items-center gap-2 px-2 text-gray-600", children: [
|
|
48
48
|
/* @__PURE__ */ e("span", { className: "flex items-center justify-center", children: t.flag }),
|
|
49
49
|
/* @__PURE__ */ e("span", { className: "text-base", children: t.name })
|
|
@@ -54,7 +54,7 @@ const R = (l) => {
|
|
|
54
54
|
/* @__PURE__ */ d(
|
|
55
55
|
"button",
|
|
56
56
|
{
|
|
57
|
-
className: `text-small flex w-full cursor-pointer items-center justify-between gap-1
|
|
57
|
+
className: `text-small flex w-full cursor-pointer items-center justify-between gap-1 text-nowrap text-neutral-800 transition-colors ${o.triggerClass}`,
|
|
58
58
|
"aria-haspopup": "menu",
|
|
59
59
|
"aria-expanded": s,
|
|
60
60
|
onClick: N,
|
|
@@ -91,7 +91,7 @@ const R = (l) => {
|
|
|
91
91
|
return /* @__PURE__ */ t("li", { className: o.liClass, onClick: f, children: /* @__PURE__ */ d(
|
|
92
92
|
"span",
|
|
93
93
|
{
|
|
94
|
-
className: `text-small relative flex w-full items-center gap-1
|
|
94
|
+
className: `text-small relative flex w-full items-center gap-1 text-nowrap text-neutral-800 transition-colors ${o.triggerClass} `,
|
|
95
95
|
children: [
|
|
96
96
|
/* @__PURE__ */ t("span", { className: `text-medium flex-1 ${L ? "font-bold" : ""} [&_a]:after:absolute [&_a]:after:inset-0`, children: y }),
|
|
97
97
|
h && /* @__PURE__ */ t("span", { className: "bg-secondary-200 text-extra-small flex h-4.5 w-5.25 items-center justify-center rounded align-middle font-bold", children: h })
|
|
@@ -447,13 +447,19 @@ export declare const Footer: FC<FooterProps>;
|
|
|
447
447
|
|
|
448
448
|
export declare const FooterNav: FC<FooterNavProps>;
|
|
449
449
|
|
|
450
|
+
export interface FooterNavItemProps {
|
|
451
|
+
id: string;
|
|
452
|
+
link: ReactNode;
|
|
453
|
+
badge?: string | null;
|
|
454
|
+
}
|
|
455
|
+
|
|
450
456
|
export declare interface FooterNavProps {
|
|
451
457
|
title: string;
|
|
452
|
-
links:
|
|
458
|
+
links: FooterNavItemProps[];
|
|
453
459
|
}
|
|
454
460
|
|
|
455
461
|
export declare interface FooterProps {
|
|
456
|
-
nav:
|
|
462
|
+
nav: FooterNavProps[];
|
|
457
463
|
contactInfo: {
|
|
458
464
|
phoneNumber: string;
|
|
459
465
|
contactHoursText: string;
|