@npm_leadtech/legal-contracts-ui 0.52.1 → 0.52.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.
@@ -0,0 +1,4 @@
1
+ import * as React_2 from 'react';
2
+
3
+ export declare const CaFlagIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
4
+
@@ -0,0 +1,36 @@
1
+ import { jsxs as C, jsx as i } from "react/jsx-runtime";
2
+ import "react";
3
+ const d = (l) => /* @__PURE__ */ C("svg", { width: "21", height: "16", viewBox: "0 0 21 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l, children: [
4
+ /* @__PURE__ */ C("g", { id: "Flag", children: [
5
+ /* @__PURE__ */ C("g", { clipPath: "url(#clip0_1667_1471)", children: [
6
+ /* @__PURE__ */ i("mask", { id: "path-1-inside-1_1667_1471", fill: "white", children: /* @__PURE__ */ i("path", { d: "M0 2.5C0 1.39543 0.895431 0.5 2 0.5H19C20.1046 0.5 21 1.39543 21 2.5V13.5C21 14.6046 20.1046 15.5 19 15.5H2C0.89543 15.5 0 14.6046 0 13.5V2.5Z" }) }),
7
+ /* @__PURE__ */ i("path", { id: "Vector", d: "M4.92516 0.5H16.0716V15.5H4.92188L4.92516 0.5Z", fill: "white" }),
8
+ /* @__PURE__ */ i(
9
+ "path",
10
+ {
11
+ id: "Vector_2",
12
+ d: "M-0.646484 0.5H4.92508V15.5H-0.646484V0.5ZM16.0715 0.5H21.643V15.5H16.0748L16.0715 0.5ZM6.59523 7.75L6.15883 7.8875L8.17352 9.575C8.32774 10.0031 8.12102 10.1312 7.98977 10.3562L10.1751 10.0938L10.1226 12.1875L10.5787 12.1781L10.477 10.0969L12.6655 10.3469C12.531 10.075 12.4096 9.93125 12.5343 9.49687L14.5457 7.90312L14.1946 7.77812C13.9059 7.56562 14.3193 6.75938 14.3784 6.25C14.3784 6.25 13.207 6.63438 13.1315 6.43125L12.8296 5.88438L11.7599 7.00313C11.6451 7.03125 11.5959 6.9875 11.5663 6.89375L12.0585 4.55625L11.2776 4.975C11.2076 5.00208 11.1507 4.97917 11.107 4.90625L10.3523 3.46875L9.57789 4.9625C9.51664 5.01458 9.46195 5.02187 9.41383 4.98438L8.66242 4.5875L9.11195 6.90312C9.07586 6.99687 8.99055 7.02188 8.89211 6.97188L7.86836 5.86875C7.73711 6.07188 7.64524 6.40313 7.46805 6.47813C7.29086 6.55312 6.69695 6.3375 6.29992 6.25938C6.43773 6.72188 6.85773 7.49687 6.59523 7.75Z",
13
+ fill: "#D52B1E"
14
+ }
15
+ )
16
+ ] }),
17
+ /* @__PURE__ */ i(
18
+ "path",
19
+ {
20
+ d: "M0 2.5C0 1.28497 0.984974 0.3 2.2 0.3H18.8C20.015 0.3 21 1.28497 21 2.5C21 1.50589 20.1046 0.7 19 0.7H2C0.895431 0.7 0 1.50589 0 2.5ZM21 13.5C21 14.715 20.015 15.7 18.8 15.7H2.2C0.984974 15.7 0 14.715 0 13.5C0 14.4941 0.895431 15.3 2 15.3H19C20.1046 15.3 21 14.4941 21 13.5ZM0 15.5V0.5V15.5ZM21 0.5V15.5V0.5Z",
21
+ fill: "#DBE1E5",
22
+ mask: "url(#path-1-inside-1_1667_1471)"
23
+ }
24
+ )
25
+ ] }),
26
+ /* @__PURE__ */ i("defs", { children: /* @__PURE__ */ i("clipPath", { id: "clip0_1667_1471", children: /* @__PURE__ */ i(
27
+ "path",
28
+ {
29
+ d: "M0 2.5C0 1.39543 0.895431 0.5 2 0.5H19C20.1046 0.5 21 1.39543 21 2.5V13.5C21 14.6046 20.1046 15.5 19 15.5H2C0.89543 15.5 0 14.6046 0 13.5V2.5Z",
30
+ fill: "white"
31
+ }
32
+ ) }) })
33
+ ] });
34
+ export {
35
+ d as CaFlagIcon
36
+ };
@@ -0,0 +1,4 @@
1
+ import * as React_2 from 'react';
2
+
3
+ export declare const DeFlagIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
4
+
@@ -0,0 +1,13 @@
1
+ import { jsxs as l, jsx as i } from "react/jsx-runtime";
2
+ import "react";
3
+ const d = (t) => /* @__PURE__ */ l("svg", { width: "21", height: "16", viewBox: "0 0 21 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t, children: [
4
+ /* @__PURE__ */ i("g", { id: "Flag", children: /* @__PURE__ */ l("g", { clipPath: "url(#clip0_1607_4659)", children: [
5
+ /* @__PURE__ */ i("path", { id: "Vector", d: "M0 10.5H21V15.5H0V10.5Z", fill: "#FFCC00" }),
6
+ /* @__PURE__ */ i("path", { id: "Vector_2", d: "M0 0.5H21V5.5H0V0.5Z", fill: "#000001" }),
7
+ /* @__PURE__ */ i("path", { id: "Vector_3", d: "M0 5.5H21V10.5H0V5.5Z", fill: "#FF0000" })
8
+ ] }) }),
9
+ /* @__PURE__ */ i("defs", { children: /* @__PURE__ */ i("clipPath", { id: "clip0_1607_4659", children: /* @__PURE__ */ i("rect", { y: "0.5", width: "21", height: "15", rx: "2", fill: "white" }) }) })
10
+ ] });
11
+ export {
12
+ d as DeFlagIcon
13
+ };
@@ -1,16 +1,16 @@
1
1
  import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
2
  import "react";
3
- import { Markdown as m } from "./Markdown.js";
4
- import { FaqItem as n } from "./FaqItem.js";
3
+ import { Markdown as n } from "./Markdown.js";
4
+ import { FaqItem as m } from "./FaqItem.js";
5
5
  const p = ({ title: l, description: o, faqItems: r, className: s = "" }) => {
6
6
  if (r.length === 0) return null;
7
7
  const c = l.toLowerCase().replace(/\s+/g, "-");
8
- return /* @__PURE__ */ a("div", { id: c, className: `flex flex-col gap-2 text-neutral-800 ${s} scroll-mt-12 p-0.5`, children: [
8
+ return /* @__PURE__ */ a("div", { id: c, className: `flex flex-col gap-2 text-neutral-800 ${s} p-0.5`, children: [
9
9
  /* @__PURE__ */ a("div", { className: "mb-4 flex flex-col", children: [
10
10
  /* @__PURE__ */ e("h3", { className: "text-super-large font-bold", children: l }),
11
- o !== "" && /* @__PURE__ */ e(m, { content: o, className: "text-medium mt-6" })
11
+ o !== "" && /* @__PURE__ */ e(n, { content: o, className: "text-medium mt-6" })
12
12
  ] }),
13
- /* @__PURE__ */ e("div", { className: "flex flex-col gap-4", children: r.map((t) => /* @__PURE__ */ e(n, { ...t }, t.question)) })
13
+ /* @__PURE__ */ e("div", { className: "flex flex-col gap-4", children: r.map((t) => /* @__PURE__ */ e(m, { ...t }, t.question)) })
14
14
  ] });
15
15
  };
16
16
  export {
@@ -0,0 +1,4 @@
1
+ import * as React_2 from 'react';
2
+
3
+ export declare const GbFlagIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
4
+
@@ -0,0 +1,49 @@
1
+ import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
+ import "react";
3
+ const d = (t) => /* @__PURE__ */ i("svg", { width: "21", height: "16", viewBox: "0 0 21 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t, children: [
4
+ /* @__PURE__ */ i("g", { clipPath: "url(#clip0_2755_1569)", children: [
5
+ /* @__PURE__ */ e("rect", { y: "0.5", width: "21", height: "15", rx: "2", fill: "white" }),
6
+ /* @__PURE__ */ e(
7
+ "mask",
8
+ {
9
+ id: "mask0_2755_1569",
10
+ style: { maskType: "luminance" },
11
+ maskUnits: "userSpaceOnUse",
12
+ x: "0",
13
+ y: "0",
14
+ width: "21",
15
+ height: "16",
16
+ children: /* @__PURE__ */ e("rect", { y: "0.5", width: "21", height: "15", rx: "2", fill: "white" })
17
+ }
18
+ ),
19
+ /* @__PURE__ */ i("g", { mask: "url(#mask0_2755_1569)", children: [
20
+ /* @__PURE__ */ e("rect", { y: "0.5", width: "21", height: "15", fill: "#0A17A7" }),
21
+ /* @__PURE__ */ e(
22
+ "path",
23
+ {
24
+ fillRule: "evenodd",
25
+ clipRule: "evenodd",
26
+ d: "M-0.961692 -0.9375L8.00016 5.10735V-0.500139H13.0002V5.10736L21.962 -0.937487L23.0804 0.720588L15.9948 5.49986H21.0002V10.4999H15.9949L23.0804 15.2791L21.962 16.9372L13.0002 10.8923V16.4999H8.00016V10.8923L-0.961685 16.9372L-2.08007 15.2791L5.00545 10.4999H0.000158787V5.49986H5.0055L-2.08008 0.720575L-0.961692 -0.9375Z",
27
+ fill: "white"
28
+ }
29
+ ),
30
+ /* @__PURE__ */ e("path", { d: "M14.001 5.24915L23.5 -1", stroke: "#DB1F35", strokeWidth: "0.666667", strokeLinecap: "round" }),
31
+ /* @__PURE__ */ e("path", { d: "M15.0098 10.7731L23.5251 16.5127", stroke: "#DB1F35", strokeWidth: "0.666667", strokeLinecap: "round" }),
32
+ /* @__PURE__ */ e("path", { d: "M6.00433 5.23315L-2.87793 -0.75293", stroke: "#DB1F35", strokeWidth: "0.666667", strokeLinecap: "round" }),
33
+ /* @__PURE__ */ e("path", { d: "M6.96771 10.7032L-2.87793 17.2324", stroke: "#DB1F35", strokeWidth: "0.666667", strokeLinecap: "round" }),
34
+ /* @__PURE__ */ e(
35
+ "path",
36
+ {
37
+ fillRule: "evenodd",
38
+ clipRule: "evenodd",
39
+ d: "M0 9.5H9V15.5H12V9.5H21V6.5H12V0.5H9V6.5H0V9.5Z",
40
+ fill: "#E6273E"
41
+ }
42
+ )
43
+ ] })
44
+ ] }),
45
+ /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_2755_1569", children: /* @__PURE__ */ e("rect", { y: "0.5", width: "21", height: "15", rx: "2", fill: "white" }) }) })
46
+ ] });
47
+ export {
48
+ d as GbFlagIcon
49
+ };
@@ -1,4 +1,3 @@
1
- import { default as default_2 } from 'react';
2
1
  import { FC } from 'react';
3
2
  import * as React_2 from 'react';
4
3
  import { ReactNode } from 'react';
@@ -7,7 +6,7 @@ export interface FormattedLanguageItem {
7
6
  code: string;
8
7
  name: string;
9
8
  url?: string;
10
- flag: default_2.ReactNode;
9
+ flag: ReactNode;
11
10
  }
12
11
 
13
12
  export declare const Header: FC<HeaderProps>;
@@ -15,15 +14,10 @@ export declare const Header: FC<HeaderProps>;
15
14
  export declare interface HeaderProps {
16
15
  logo: ReactNode;
17
16
  navMenu: NavMenuProps;
18
- seeAll: ReactNode;
19
17
  searchBarProps: SearchBarProps;
20
18
  languageSelectorProps?: LanguageSelectorProps;
21
19
  userActions: ReactNode;
22
- isMobileMenuOpen?: boolean;
23
- onOpenMobileMenu?: () => void;
24
- onCloseMobileMenu?: () => void;
25
- mobileMenuSections?: MobileMenuSection[];
26
- mobileContactInfo?: MobileContactInfo;
20
+ mobileMenu: MobileMenuProps;
27
21
  }
28
22
 
29
23
  export interface LanguageSelectorProps {
@@ -36,20 +30,33 @@ export interface LanguageSelectorProps {
36
30
 
37
31
  export type LanguageSelectorVariant = 'default' | 'compact';
38
32
 
39
- export declare interface MobileContactInfo {
33
+ export interface MobileContactInfo {
40
34
  phoneNumber: string;
41
35
  contactHoursLabel?: string;
42
36
  contactHours?: string;
43
37
  }
44
38
 
45
- export declare interface MobileMenuSection {
39
+ export interface MobileMenuProps {
40
+ isOpen: boolean;
41
+ onOpen: () => void;
42
+ onClose: () => void;
43
+ logo: ReactNode;
44
+ userActions: ReactNode;
45
+ searchBarProps: SearchBarProps;
46
+ sections?: MobileMenuSection[];
47
+ contactInfo?: MobileContactInfo;
48
+ }
49
+
50
+ export interface MobileMenuSection {
51
+ id?: string;
46
52
  title?: string;
47
- icon?: ReactNode;
48
- items: {
53
+ icon: ReactNode | null;
54
+ items?: {
49
55
  label: string;
50
56
  href?: string;
51
57
  }[];
52
- seeAll?: ReactNode;
58
+ seeAll?: ReactNode | null;
59
+ content?: ReactNode | null;
53
60
  }
54
61
 
55
62
  export interface NavMenuItemProps {
@@ -60,10 +67,12 @@ export interface NavMenuItemProps {
60
67
  dropdownContent?: ReactNode;
61
68
  tag?: string;
62
69
  isNested?: boolean;
70
+ bold?: boolean;
63
71
  }
64
72
 
65
73
  export interface NavMenuProps {
66
74
  navItems: NavMenuItemProps[];
75
+ className?: string;
67
76
  }
68
77
 
69
78
  export interface SearchBarProps {
@@ -1,112 +1,41 @@
1
- import { jsxs as l, Fragment as N, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as r, Fragment as d, jsx as e } from "react/jsx-runtime";
2
2
  import "react";
3
- import { NavMenu as b } from "./NavMenu.js";
3
+ import { MobileMenu as c } from "./MobileMenu.js";
4
+ import { NavMenu as s } from "./NavMenu.js";
5
+ import { LanguageSelector as p } from "./LanguageSelector.js";
6
+ import { HamburgerIcon as o } from "./HamburgerIcon.js";
4
7
  import { SearchBar as x } from "./SearchBar.js";
5
- import { LanguageSelector as v } from "./LanguageSelector.js";
6
- import { HamburgerIcon as y } from "./HamburgerIcon.js";
7
- import { PhoneTalkIcon as g } from "./PhoneTalkIcon.js";
8
- import { CloseIcon as j } from "./CloseIcon.js";
9
- const S = ({
10
- logo: i,
11
- navMenu: p,
12
- seeAll: f,
13
- searchBarProps: c,
14
- languageSelectorProps: s,
15
- userActions: n,
16
- isMobileMenuOpen: d,
17
- onOpenMobileMenu: h,
18
- onCloseMobileMenu: m,
19
- mobileMenuSections: o = [],
20
- mobileContactInfo: a
21
- }) => /* @__PURE__ */ l(N, { children: [
22
- /* @__PURE__ */ e("header", { className: "bg-primary-50", children: /* @__PURE__ */ l("div", { className: "flex w-full items-center justify-between px-4 py-4 text-neutral-800 md:px-8", children: [
23
- /* @__PURE__ */ l("div", { className: "flex flex-1 items-center gap-8", children: [
24
- i,
25
- /* @__PURE__ */ e("div", { className: "hidden lg:block", children: /* @__PURE__ */ e(b, { ...p }) })
8
+ const j = ({
9
+ logo: a,
10
+ navMenu: m,
11
+ searchBarProps: l,
12
+ languageSelectorProps: n,
13
+ userActions: t,
14
+ mobileMenu: i
15
+ }) => /* @__PURE__ */ r(d, { children: [
16
+ /* @__PURE__ */ e("header", { className: "bg-primary-50", children: /* @__PURE__ */ r("div", { className: "flex w-full items-center justify-between px-4 py-4 text-neutral-800 md:px-8", children: [
17
+ /* @__PURE__ */ r("div", { className: "flex flex-1 items-center gap-8", children: [
18
+ a,
19
+ /* @__PURE__ */ e(s, { className: "hidden lg:block", ...m })
26
20
  ] }),
27
- /* @__PURE__ */ l("div", { className: "text-medium hidden flex-wrap items-center gap-4 lg:flex xl:gap-6", children: [
28
- /* @__PURE__ */ e(x, { ...c }),
29
- /* @__PURE__ */ e("div", { className: "hidden xl:block", children: s && /* @__PURE__ */ e(v, { ...s }) }),
30
- n
21
+ /* @__PURE__ */ r("div", { className: "text-medium hidden flex-wrap items-center gap-4 lg:flex xl:gap-6", children: [
22
+ /* @__PURE__ */ e(x, { ...l }),
23
+ n && /* @__PURE__ */ e("div", { className: "hidden xl:block", children: /* @__PURE__ */ e(p, { ...n }) }),
24
+ t
31
25
  ] }),
32
26
  /* @__PURE__ */ e(
33
27
  "button",
34
28
  {
35
29
  className: "flex cursor-pointer items-center justify-center p-2 lg:hidden",
36
- onClick: h,
30
+ onClick: i.onOpen,
37
31
  "aria-label": "Open menu",
38
- "aria-expanded": d,
39
- children: /* @__PURE__ */ e(y, {})
32
+ "aria-expanded": i.isOpen,
33
+ children: /* @__PURE__ */ e(o, {})
40
34
  }
41
35
  )
42
36
  ] }) }),
43
- d && /* @__PURE__ */ l("div", { className: "fixed inset-0 z-50 flex flex-col overflow-y-auto bg-white lg:hidden", children: [
44
- /* @__PURE__ */ l("div", { className: "flex items-center justify-between px-6 py-4", children: [
45
- i,
46
- /* @__PURE__ */ e(
47
- "button",
48
- {
49
- className: "flex cursor-pointer items-center justify-center p-2",
50
- onClick: m,
51
- "aria-label": "Close menu",
52
- children: /* @__PURE__ */ e(j, {})
53
- }
54
- )
55
- ] }),
56
- /* @__PURE__ */ l("div", { className: "flex flex-1 flex-col pb-6", children: [
57
- /* @__PURE__ */ l("div", { className: "flex flex-col gap-6 px-6", children: [
58
- /* @__PURE__ */ e("div", { className: "flex items-center gap-4", children: n }),
59
- /* @__PURE__ */ e(x, { ...c })
60
- ] }),
61
- /* @__PURE__ */ e("nav", { className: "flex-1", children: o.map((r, u) => /* @__PURE__ */ l(
62
- "div",
63
- {
64
- className: `py-4 ${r.icon == null && r.title ? "border-t border-b border-neutral-200" : ""}`,
65
- children: [
66
- r.title && /* @__PURE__ */ l("div", { className: `flex items-start px-6 ${r.icon == null ? "py-2" : "bg-neutral-50 py-4"}`, children: [
67
- r.icon !== null && /* @__PURE__ */ e("span", { className: "text-primary-700 mr-4", children: r.icon }),
68
- /* @__PURE__ */ e("h4", { className: "text-base font-semibold text-neutral-800", children: r.title })
69
- ] }),
70
- /* @__PURE__ */ l("div", { className: "", children: [
71
- /* @__PURE__ */ e("ul", { className: "mt-3 flex flex-col", children: r.items.map((t) => /* @__PURE__ */ e("li", { className: "hover:bg-primary-100 py-3 pl-6", children: /* @__PURE__ */ e(
72
- "a",
73
- {
74
- href: t.href ?? "#",
75
- className: "hover:text-primary-700 text-base transition-colors",
76
- onClick: m,
77
- children: t.label
78
- }
79
- ) }, t.label)) }),
80
- r.seeAll
81
- ] })
82
- ]
83
- },
84
- r.title ?? u
85
- )) }),
86
- /* @__PURE__ */ e("div", { className: "my-4 flex items-center justify-center", children: f }),
87
- a && /* @__PURE__ */ l("div", { className: "mt-auto flex flex-col items-center justify-center border-t border-neutral-100 p-6", children: [
88
- /* @__PURE__ */ l(
89
- "a",
90
- {
91
- href: `tel:${a.phoneNumber.replaceAll(" ", "")}`,
92
- className: "bg-primary-700 flex w-full items-center justify-center gap-2 rounded-md p-3 text-base font-semibold text-white",
93
- children: [
94
- /* @__PURE__ */ e(g, { fill: "#ffff" }),
95
- a.phoneNumber
96
- ]
97
- }
98
- ),
99
- a.contactHours && /* @__PURE__ */ l("p", { className: "text-small mt-4 text-base text-neutral-500", children: [
100
- a.contactHoursLabel != null && /* @__PURE__ */ l("span", { children: [
101
- a.contactHoursLabel,
102
- " "
103
- ] }),
104
- a.contactHours
105
- ] })
106
- ] })
107
- ] })
108
- ] })
37
+ /* @__PURE__ */ e(c, { ...i, logo: a, userActions: t, searchBarProps: l })
109
38
  ] });
110
39
  export {
111
- S as Header
40
+ j as Header
112
41
  };
@@ -1,13 +1,14 @@
1
- import { default as default_2 } from 'react';
1
+ import { FC } from 'react';
2
+ import { ReactNode } from 'react';
2
3
 
3
4
  export declare interface FormattedLanguageItem {
4
5
  code: string;
5
6
  name: string;
6
7
  url?: string;
7
- flag: default_2.ReactNode;
8
+ flag: ReactNode;
8
9
  }
9
10
 
10
- export declare const LanguageSelector: default_2.FC<LanguageSelectorProps>;
11
+ export declare const LanguageSelector: FC<LanguageSelectorProps>;
11
12
 
12
13
  export declare interface LanguageSelectorProps {
13
14
  currentLanguage: FormattedLanguageItem;
@@ -1,26 +1,24 @@
1
1
  import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
2
  import { ChevronDownIcon as o } from "./ChevronDownIcon.js";
3
- import "react";
4
- const p = ({
3
+ const f = ({
5
4
  currentLanguage: l,
6
- availableLanguages: a,
7
- variant: n = "default",
8
- isOpen: i = !1,
9
- onToggle: c
10
- }) => n === "compact" ? /* @__PURE__ */ s("div", { className: "group relative inline-flex w-auto cursor-pointer flex-col px-4 py-2", children: [
11
- /* @__PURE__ */ s("div", { className: "flex items-center gap-2 py-1", children: [
5
+ availableLanguages: i,
6
+ variant: a = "default",
7
+ isOpen: r = !1,
8
+ onToggle: n
9
+ }) => a === "compact" ? /* @__PURE__ */ s("div", { className: "group relative inline-flex cursor-pointer flex-col py-2", children: [
10
+ /* @__PURE__ */ s("div", { className: "flex items-center gap-2 px-2 py-1", children: [
12
11
  /* @__PURE__ */ e("span", { className: "flex items-center justify-center", children: l.flag }),
13
- /* @__PURE__ */ e("span", { className: "text-base text-gray-600", children: l.name })
12
+ /* @__PURE__ */ e("span", { className: "text-medium text-gray-600", children: l.name })
14
13
  ] }),
15
- /* @__PURE__ */ e("div", { className: "width-full pointer-events-none absolute top-full left-0 z-10 flex min-w-max flex-col p-2 opacity-0 shadow-md transition-opacity duration-200 group-hover:pointer-events-auto group-hover:opacity-100", children: a.map((t, r) => /* @__PURE__ */ s(
14
+ /* @__PURE__ */ e("div", { className: "pointer-events-none absolute top-full z-10 flex flex-col gap-2 rounded-lg bg-white p-2 opacity-0 shadow-md transition-opacity duration-200 group-hover:pointer-events-auto group-hover:opacity-100", children: i.map((t) => /* @__PURE__ */ s(
16
15
  "a",
17
16
  {
18
17
  href: t.url,
19
- className: "hover:bg-primary-100 flex items-center gap-2 rounded-sm bg-white px-3 py-2 transition-colors",
20
- style: { animationDelay: `${String(r * 0.05)}s` },
18
+ className: "hover:bg-primary-100 flex items-center gap-2 rounded-sm bg-white px-2 py-1 transition-colors",
21
19
  children: [
22
20
  /* @__PURE__ */ e("span", { className: "flex items-center justify-center", children: t.flag }),
23
- /* @__PURE__ */ e("span", { className: "text-base text-gray-600", children: t.name })
21
+ /* @__PURE__ */ e("span", { className: "text-medium text-gray-600", children: t.name })
24
22
  ]
25
23
  },
26
24
  t.code
@@ -29,23 +27,23 @@ const p = ({
29
27
  /* @__PURE__ */ s(
30
28
  "button",
31
29
  {
32
- className: `bg-primary-800 flex w-full cursor-pointer items-center justify-between px-4 py-2 ${i ? "bg-gray-50" : ""}`,
33
- onClick: c,
30
+ className: `bg-primary-800 flex w-full cursor-pointer items-center justify-between px-4 py-2 ${r ? "bg-gray-50" : ""}`,
31
+ onClick: n,
34
32
  children: [
35
33
  /* @__PURE__ */ s("div", { className: "flex items-center gap-2 px-2 font-medium text-gray-800", children: [
36
34
  /* @__PURE__ */ e("span", { className: "flex items-center justify-center", children: l.flag }),
37
35
  /* @__PURE__ */ e("span", { className: "text-base text-white", children: l.name })
38
36
  ] }),
39
- /* @__PURE__ */ e("div", { className: `mr-1 transition-transform duration-200 ${i ? "rotate-180" : "rotate-0"}`, children: /* @__PURE__ */ e(o, { fill: "#ffff", width: 24, height: 24 }) })
37
+ /* @__PURE__ */ e("div", { className: `mr-1 transition-transform duration-200 ${r ? "rotate-180" : "rotate-0"}`, children: /* @__PURE__ */ e(o, { fill: "#ffff", width: 24, height: 24 }) })
40
38
  ]
41
39
  }
42
40
  ),
43
- i && /* @__PURE__ */ e("div", { className: "absolute top-10 z-10 flex w-full flex-col", children: a.map((t, r) => /* @__PURE__ */ e(
41
+ r && /* @__PURE__ */ e("div", { className: "absolute top-10 z-10 flex w-full flex-col", children: i.map((t, c) => /* @__PURE__ */ e(
44
42
  "a",
45
43
  {
46
44
  href: t.url,
47
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",
48
- style: { animationDelay: `${String(r * 0.05)}s` },
46
+ style: { animationDelay: `${String(c * 0.05)}s` },
49
47
  children: /* @__PURE__ */ s("div", { className: "flex items-center gap-2 px-2 text-gray-600", children: [
50
48
  /* @__PURE__ */ e("span", { className: "flex items-center justify-center", children: t.flag }),
51
49
  /* @__PURE__ */ e("span", { className: "text-base", children: t.name })
@@ -55,5 +53,5 @@ const p = ({
55
53
  )) })
56
54
  ] });
57
55
  export {
58
- p as LanguageSelector
56
+ f as LanguageSelector
59
57
  };
@@ -0,0 +1,52 @@
1
+ import { FC } from 'react';
2
+ import * as React_2 from 'react';
3
+ import { ReactNode } from 'react';
4
+
5
+ export declare interface MobileContactInfo {
6
+ phoneNumber: string;
7
+ contactHoursLabel?: string;
8
+ contactHours?: string;
9
+ }
10
+
11
+ export declare const MobileMenu: FC<MobileMenuProps>;
12
+
13
+ export declare interface MobileMenuProps {
14
+ isOpen: boolean;
15
+ onOpen: () => void;
16
+ onClose: () => void;
17
+ logo: ReactNode;
18
+ userActions: ReactNode;
19
+ searchBarProps: SearchBarProps;
20
+ sections?: MobileMenuSection[];
21
+ contactInfo?: MobileContactInfo;
22
+ }
23
+
24
+ export declare interface MobileMenuSection {
25
+ id?: string;
26
+ title?: string;
27
+ icon: ReactNode | null;
28
+ items?: {
29
+ label: string;
30
+ href?: string;
31
+ }[];
32
+ seeAll?: ReactNode | null;
33
+ content?: ReactNode | null;
34
+ }
35
+
36
+ export interface SearchBarProps {
37
+ items: SearchItem[];
38
+ placeholder?: string;
39
+ isOpen?: boolean;
40
+ onToggle?: () => void;
41
+ searchValue?: string;
42
+ onInputChange?: (e: React_2.ChangeEvent<HTMLInputElement>) => void;
43
+ onClear?: () => void;
44
+ noResultsText?: string;
45
+ allDocumentsItem?: SearchItem;
46
+ }
47
+
48
+ export interface SearchItem {
49
+ label: string;
50
+ href: string;
51
+ }
52
+
@@ -0,0 +1,76 @@
1
+ import { jsxs as r, jsx as l } from "react/jsx-runtime";
2
+ import "react";
3
+ import { SearchBar as f } from "./SearchBar.js";
4
+ import { PhoneTalkIcon as o } from "./PhoneTalkIcon.js";
5
+ import { CloseIcon as x } from "./CloseIcon.js";
6
+ const y = ({
7
+ isOpen: m,
8
+ onClose: s,
9
+ logo: c,
10
+ userActions: d,
11
+ searchBarProps: p,
12
+ sections: u = [],
13
+ contactInfo: t
14
+ }) => m ? /* @__PURE__ */ r("div", { className: "fixed inset-0 z-50 flex flex-col overflow-y-auto bg-white text-neutral-800 lg:hidden", children: [
15
+ /* @__PURE__ */ r("div", { className: "flex items-center justify-between px-6 py-4", children: [
16
+ c,
17
+ /* @__PURE__ */ l(
18
+ "button",
19
+ {
20
+ className: "flex cursor-pointer items-center justify-center p-2",
21
+ onClick: s,
22
+ "aria-label": "Close menu",
23
+ children: /* @__PURE__ */ l(x, {})
24
+ }
25
+ )
26
+ ] }),
27
+ /* @__PURE__ */ r("div", { className: "flex flex-1 flex-col pb-6", children: [
28
+ /* @__PURE__ */ r("div", { className: "flex flex-col gap-6 px-6", children: [
29
+ /* @__PURE__ */ l("div", { className: "flex items-center gap-4", children: d }),
30
+ /* @__PURE__ */ l(f, { ...p })
31
+ ] }),
32
+ /* @__PURE__ */ l("nav", { className: "flex flex-col gap-0", children: u.map((e, n) => {
33
+ const a = e.icon != null;
34
+ return e.content != null ? /* @__PURE__ */ l("div", { className: "flex items-center px-6 pb-8", children: e.content }, e.id ?? `custom-${n.toString()}`) : /* @__PURE__ */ r(
35
+ "div",
36
+ {
37
+ className: e.title !== "" && !a ? "border-t border-b border-neutral-200 pt-4" : "",
38
+ children: [
39
+ e.title && /* @__PURE__ */ r("div", { className: `flex items-center gap-2 px-6 ${a ? "bg-neutral-50 py-4" : ""}`, children: [
40
+ e.icon != null && /* @__PURE__ */ l("span", { className: "text-primary-700", children: e.icon }),
41
+ /* @__PURE__ */ l("h4", { className: "text-medium font-semibold", children: e.title })
42
+ ] }),
43
+ e.items != null && /* @__PURE__ */ r("ul", { className: `flex flex-col gap-4 ${a ? "p-6" : "px-6 py-4"}`, children: [
44
+ e.items.map((i) => /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l("a", { href: i.href ?? "#", className: "text-medium", onClick: s, children: i.label }) }, i.label)),
45
+ e.seeAll != null && /* @__PURE__ */ l("li", { className: "font-semibold", children: e.seeAll })
46
+ ] })
47
+ ]
48
+ },
49
+ e.id ?? e.title ?? n.toString()
50
+ );
51
+ }) }),
52
+ t && /* @__PURE__ */ r("div", { className: "mt-auto flex flex-col items-center justify-center border-t border-neutral-100 p-6", children: [
53
+ /* @__PURE__ */ r(
54
+ "a",
55
+ {
56
+ href: `tel:${t.phoneNumber.replaceAll(" ", "")}`,
57
+ className: "bg-primary-700 flex w-full items-center justify-center gap-2 rounded-md p-3 text-base font-semibold text-white",
58
+ children: [
59
+ /* @__PURE__ */ l(o, { fill: "#ffff" }),
60
+ t.phoneNumber
61
+ ]
62
+ }
63
+ ),
64
+ t.contactHours && /* @__PURE__ */ r("p", { className: "text-small mt-4 text-base text-neutral-500", children: [
65
+ t.contactHoursLabel != null && /* @__PURE__ */ r("span", { children: [
66
+ t.contactHoursLabel,
67
+ " "
68
+ ] }),
69
+ t.contactHours
70
+ ] })
71
+ ] })
72
+ ] })
73
+ ] }) : null;
74
+ export {
75
+ y as MobileMenu
76
+ };
@@ -11,9 +11,11 @@ export interface NavMenuItemProps {
11
11
  dropdownContent?: ReactNode;
12
12
  tag?: string;
13
13
  isNested?: boolean;
14
+ bold?: boolean;
14
15
  }
15
16
 
16
17
  export declare interface NavMenuProps {
17
18
  navItems: NavMenuItemProps[];
19
+ className?: string;
18
20
  }
19
21
 
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import "react";
3
- import { NavMenuItem as t } from "./NavMenuItem.js";
4
- const o = ({ navItems: m }) => /* @__PURE__ */ e("nav", { children: /* @__PURE__ */ e("ul", { className: "text-medium flex flex-wrap items-center xl:gap-4", children: m.map((r) => /* @__PURE__ */ e(t, { ...r }, r.label)) }) });
3
+ import { NavMenuItem as a } from "./NavMenuItem.js";
4
+ const o = ({ navItems: m, className: t = "" }) => /* @__PURE__ */ e("nav", { className: t, children: /* @__PURE__ */ e("ul", { className: "text-medium flex flex-wrap items-center gap-4 xl:gap-8", children: m.map((r) => /* @__PURE__ */ e(a, { ...r }, r.label)) }) });
5
5
  export {
6
6
  o as NavMenu
7
7
  };
@@ -11,5 +11,6 @@ export declare interface NavMenuItemProps {
11
11
  dropdownContent?: ReactNode;
12
12
  tag?: string;
13
13
  isNested?: boolean;
14
+ bold?: boolean;
14
15
  }
15
16