@npm_leadtech/legal-contracts-ui 0.52.3 → 0.52.4

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.
@@ -1,24 +1,26 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
2
  import "react";
3
- import { FooterNav as o } from "./FooterNav.js";
4
- const N = ({
5
- nav: x,
3
+ import { PhoneButton as o } from "./PhoneButton.js";
4
+ import { FooterNav as p } from "./FooterNav.js";
5
+ const v = ({
6
+ nav: m,
6
7
  contactInfo: t,
7
- logoGray: m,
8
- socialLinks: c,
9
- legalLinks: i,
10
- disclaimerText: d,
8
+ logoGray: i,
9
+ socialLinks: x,
10
+ legalLinks: d,
11
+ disclaimerText: c,
11
12
  copyrightText: n,
12
- trustPilotWidget: s,
13
- languageSelector: r
13
+ trustPilotWidget: r,
14
+ languageSelector: s
14
15
  }) => /* @__PURE__ */ l("footer", { className: "text-neutral-25", children: [
15
16
  /* @__PURE__ */ e("div", { className: "bg-primary-900", children: /* @__PURE__ */ l("div", { 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", children: [
16
- x.map((a) => /* @__PURE__ */ e(o, { ...a }, a.title)),
17
+ m.map((a) => /* @__PURE__ */ e(p, { ...a }, a.title)),
17
18
  /* @__PURE__ */ l("div", { className: "flex flex-col gap-6 max-sm:w-full md:contents lg:flex", children: [
18
19
  /* @__PURE__ */ l("div", { className: "", children: [
19
- /* @__PURE__ */ e("div", { className: "mb-4 xl:hidden", children: !!r && /* @__PURE__ */ e("div", { className: "language-selector-mobile-container", children: r }) }),
20
+ /* @__PURE__ */ e("div", { className: "mb-4 xl:hidden", children: !!s && /* @__PURE__ */ e("div", { className: "language-selector-mobile-container", children: s }) }),
20
21
  /* @__PURE__ */ l("div", { children: [
21
- /* @__PURE__ */ e("p", { className: "text-small font-bold text-white", children: t.phoneNumber }),
22
+ /* @__PURE__ */ e("p", { className: "text-small font-bold text-white max-[574px]:hidden", children: t.phoneNumber }),
23
+ /* @__PURE__ */ e("div", { className: "mb-2 w-full text-center min-[574px]:hidden", children: /* @__PURE__ */ e(o, { phoneNumber: "+1 855 997 0206" }) }),
22
24
  /* @__PURE__ */ l("p", { className: "text-neutral-25 text-center text-[16px] md:text-left md:text-[12px]", children: [
23
25
  t.contactHoursText,
24
26
  " ",
@@ -26,20 +28,20 @@ const N = ({
26
28
  ] })
27
29
  ] })
28
30
  ] }),
29
- /* @__PURE__ */ e("div", { className: "flex flex-col gap-2", children: !!s && /* @__PURE__ */ e("div", { children: s }) })
31
+ /* @__PURE__ */ e("div", { className: "flex flex-col gap-2", children: !!r && /* @__PURE__ */ e("div", { children: r }) })
30
32
  ] })
31
33
  ] }) }),
32
34
  /* @__PURE__ */ e("div", { className: "bg-neutral-900 px-6 py-8 text-neutral-400", children: /* @__PURE__ */ l("div", { className: "mx-auto flex w-full max-w-300 flex-col gap-6", children: [
33
35
  /* @__PURE__ */ l("div", { className: "flex flex-col items-start gap-6 md:flex-row md:justify-between", children: [
34
- m,
35
- /* @__PURE__ */ e("div", { className: "flex gap-4", children: c?.map((a) => a) })
36
+ i,
37
+ /* @__PURE__ */ e("div", { className: "flex gap-4", children: x?.map((a) => a) })
36
38
  ] }),
37
39
  /* @__PURE__ */ e("div", { className: "h-px w-full bg-neutral-600" }),
38
- /* @__PURE__ */ e("div", { className: "text-extra-small flex flex-wrap gap-4", children: i?.map((a) => a) }),
39
- /* @__PURE__ */ e("p", { className: "text-extra-small text-neutral-400", children: d }),
40
+ /* @__PURE__ */ e("div", { className: "text-extra-small flex flex-wrap gap-4", children: d?.map((a) => a) }),
41
+ /* @__PURE__ */ e("p", { className: "text-extra-small text-neutral-400", children: c }),
40
42
  /* @__PURE__ */ e("p", { className: "text-extra-small text-neutral-400", children: n })
41
43
  ] }) })
42
44
  ] });
43
45
  export {
44
- N as Footer
46
+ v as Footer
45
47
  };
@@ -1,3 +1,4 @@
1
+ import { default as default_2 } from 'react';
1
2
  import { FC } from 'react';
2
3
  import * as React_2 from 'react';
3
4
  import { ReactNode } from 'react';
@@ -6,7 +7,7 @@ export interface FormattedLanguageItem {
6
7
  code: string;
7
8
  name: string;
8
9
  url?: string;
9
- flag: ReactNode;
10
+ flag: default_2.ReactNode;
10
11
  }
11
12
 
12
13
  export declare const Header: FC<HeaderProps>;
@@ -14,10 +15,15 @@ export declare const Header: FC<HeaderProps>;
14
15
  export declare interface HeaderProps {
15
16
  logo: ReactNode;
16
17
  navMenu: NavMenuProps;
18
+ seeAll: ReactNode;
17
19
  searchBarProps: SearchBarProps;
18
20
  languageSelectorProps?: LanguageSelectorProps;
19
21
  userActions: ReactNode;
20
- mobileMenu: Omit<MobileMenuProps, 'logo' | 'userActions' | 'searchBarProps'>;
22
+ isMobileMenuOpen?: boolean;
23
+ onOpenMobileMenu?: () => void;
24
+ onCloseMobileMenu?: () => void;
25
+ mobileMenuSections?: MobileMenuSection[];
26
+ mobileContactInfo?: MobileContactInfo;
21
27
  }
22
28
 
23
29
  export interface LanguageSelectorProps {
@@ -30,33 +36,20 @@ export interface LanguageSelectorProps {
30
36
 
31
37
  export type LanguageSelectorVariant = 'default' | 'compact';
32
38
 
33
- export interface MobileContactInfo {
39
+ export declare interface MobileContactInfo {
34
40
  phoneNumber: string;
35
41
  contactHoursLabel?: string;
36
42
  contactHours?: string;
37
43
  }
38
44
 
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;
45
+ export declare interface MobileMenuSection {
52
46
  title?: string;
53
- icon: ReactNode | null;
54
- items?: {
47
+ icon?: ReactNode;
48
+ items: {
55
49
  label: string;
56
50
  href?: string;
57
51
  }[];
58
- seeAll?: ReactNode | null;
59
- content?: ReactNode | null;
52
+ seeAll?: ReactNode;
60
53
  }
61
54
 
62
55
  export interface NavMenuItemProps {
@@ -67,12 +60,10 @@ export interface NavMenuItemProps {
67
60
  dropdownContent?: ReactNode;
68
61
  tag?: string;
69
62
  isNested?: boolean;
70
- bold?: boolean;
71
63
  }
72
64
 
73
65
  export interface NavMenuProps {
74
66
  navItems: NavMenuItemProps[];
75
- className?: string;
76
67
  }
77
68
 
78
69
  export interface SearchBarProps {
@@ -1,41 +1,112 @@
1
- import { jsxs as r, Fragment as d, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as l, Fragment as N, jsx as e } from "react/jsx-runtime";
2
2
  import "react";
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";
3
+ import { NavMenu as b } from "./NavMenu.js";
7
4
  import { SearchBar as x } from "./SearchBar.js";
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 })
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 }) })
20
26
  ] }),
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
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
25
31
  ] }),
26
32
  /* @__PURE__ */ e(
27
33
  "button",
28
34
  {
29
35
  className: "flex cursor-pointer items-center justify-center p-2 lg:hidden",
30
- onClick: i.onOpen,
36
+ onClick: h,
31
37
  "aria-label": "Open menu",
32
- "aria-expanded": i.isOpen,
33
- children: /* @__PURE__ */ e(o, {})
38
+ "aria-expanded": d,
39
+ children: /* @__PURE__ */ e(y, {})
34
40
  }
35
41
  )
36
42
  ] }) }),
37
- /* @__PURE__ */ e(c, { ...i, logo: a, userActions: t, searchBarProps: l })
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
+ ] })
38
109
  ] });
39
110
  export {
40
- j as Header
111
+ S as Header
41
112
  };
@@ -1,14 +1,13 @@
1
- import { FC } from 'react';
2
- import { ReactNode } from 'react';
1
+ import { default as default_2 } from 'react';
3
2
 
4
3
  export declare interface FormattedLanguageItem {
5
4
  code: string;
6
5
  name: string;
7
6
  url?: string;
8
- flag: ReactNode;
7
+ flag: default_2.ReactNode;
9
8
  }
10
9
 
11
- export declare const LanguageSelector: FC<LanguageSelectorProps>;
10
+ export declare const LanguageSelector: default_2.FC<LanguageSelectorProps>;
12
11
 
13
12
  export declare interface LanguageSelectorProps {
14
13
  currentLanguage: FormattedLanguageItem;
@@ -1,24 +1,26 @@
1
1
  import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
2
  import { ChevronDownIcon as o } from "./ChevronDownIcon.js";
3
- const f = ({
3
+ import "react";
4
+ const p = ({
4
5
  currentLanguage: l,
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: [
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: [
11
12
  /* @__PURE__ */ e("span", { className: "flex items-center justify-center", children: l.flag }),
12
- /* @__PURE__ */ e("span", { className: "text-medium text-gray-600", children: l.name })
13
+ /* @__PURE__ */ e("span", { className: "text-base text-gray-600", children: l.name })
13
14
  ] }),
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(
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(
15
16
  "a",
16
17
  {
17
18
  href: t.url,
18
- className: "hover:bg-primary-100 flex items-center gap-2 rounded-sm bg-white px-2 py-1 transition-colors",
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` },
19
21
  children: [
20
22
  /* @__PURE__ */ e("span", { className: "flex items-center justify-center", children: t.flag }),
21
- /* @__PURE__ */ e("span", { className: "text-medium text-gray-600", children: t.name })
23
+ /* @__PURE__ */ e("span", { className: "text-base text-gray-600", children: t.name })
22
24
  ]
23
25
  },
24
26
  t.code
@@ -27,23 +29,23 @@ const f = ({
27
29
  /* @__PURE__ */ s(
28
30
  "button",
29
31
  {
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,
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,
32
34
  children: [
33
35
  /* @__PURE__ */ s("div", { className: "flex items-center gap-2 px-2 font-medium text-gray-800", children: [
34
36
  /* @__PURE__ */ e("span", { className: "flex items-center justify-center", children: l.flag }),
35
37
  /* @__PURE__ */ e("span", { className: "text-base text-white", children: l.name })
36
38
  ] }),
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 }) })
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 }) })
38
40
  ]
39
41
  }
40
42
  ),
41
- r && /* @__PURE__ */ e("div", { className: "absolute top-10 z-10 flex w-full flex-col", children: i.map((t, c) => /* @__PURE__ */ e(
43
+ i && /* @__PURE__ */ e("div", { className: "absolute top-10 z-10 flex w-full flex-col", children: a.map((t, r) => /* @__PURE__ */ e(
42
44
  "a",
43
45
  {
44
46
  href: t.url,
45
47
  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(c * 0.05)}s` },
48
+ style: { animationDelay: `${String(r * 0.05)}s` },
47
49
  children: /* @__PURE__ */ s("div", { className: "flex items-center gap-2 px-2 text-gray-600", children: [
48
50
  /* @__PURE__ */ e("span", { className: "flex items-center justify-center", children: t.flag }),
49
51
  /* @__PURE__ */ e("span", { className: "text-base", children: t.name })
@@ -53,5 +55,5 @@ const f = ({
53
55
  )) })
54
56
  ] });
55
57
  export {
56
- f as LanguageSelector
58
+ p as LanguageSelector
57
59
  };
@@ -11,11 +11,9 @@ export interface NavMenuItemProps {
11
11
  dropdownContent?: ReactNode;
12
12
  tag?: string;
13
13
  isNested?: boolean;
14
- bold?: boolean;
15
14
  }
16
15
 
17
16
  export declare interface NavMenuProps {
18
17
  navItems: NavMenuItemProps[];
19
- className?: string;
20
18
  }
21
19
 
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import "react";
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)) }) });
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)) }) });
5
5
  export {
6
6
  o as NavMenu
7
7
  };
@@ -11,6 +11,5 @@ export declare interface NavMenuItemProps {
11
11
  dropdownContent?: ReactNode;
12
12
  tag?: string;
13
13
  isNested?: boolean;
14
- bold?: boolean;
15
14
  }
16
15
 
@@ -1,62 +1,60 @@
1
1
  import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
2
  import "react";
3
- import { ChevronDownIcon as f } from "./ChevronDownIcon.js";
4
- import { ChevronRightIcon as v } from "./ChevronRightIcon.js";
5
- const h = ({
6
- label: l,
3
+ import { ChevronDownIcon as m } from "./ChevronDownIcon.js";
4
+ import { ChevronRightIcon as f } from "./ChevronRightIcon.js";
5
+ const v = ({
6
+ label: a,
7
7
  href: c,
8
- dropdownItems: r,
9
- tag: i,
10
8
  hasDropdown: e = !1,
11
- isNested: d = !1,
12
- bold: p = !1
9
+ dropdownItems: r,
10
+ tag: l,
11
+ isNested: p = !1
13
12
  }) => {
14
- const u = e && r != null && r.length > 0, g = e ? "span" : "a", s = {
13
+ const d = e && r != null && r.length > 0, u = e ? "span" : "a", s = {
15
14
  topLevel: {
16
- liClass: "group relative py-2",
17
- triggerClass: "hover:text-neutral-600",
18
- dropdownPosition: "top-full left-0",
15
+ liClass: "group relative flex items-center gap-1",
16
+ triggerClass: "lg:px-2 px-4 py-1 hover:text-neutral-600",
17
+ dropdownPosition: "top-full left-0 pt-2",
19
18
  dropdownTrigger: "group-hover:pointer-events-auto group-hover:opacity-100",
20
- Icon: f,
19
+ Icon: m,
21
20
  iconClass: "transition-transform duration-200 group-hover:rotate-180"
22
21
  },
23
22
  nested: {
24
- liClass: "group/nested relative",
25
- triggerClass: "p-1 hover:bg-primary-100 w-full rounded",
26
- dropdownPosition: "top-0 left-full -mt-4 pl-6",
23
+ liClass: "group/nested relative flex items-center gap-1",
24
+ triggerClass: "px-5 py-2 hover:bg-primary-100 w-full",
25
+ dropdownPosition: "top-0 left-full pl-1",
27
26
  dropdownTrigger: "group-hover/nested:pointer-events-auto group-hover/nested:opacity-100",
28
- Icon: v,
27
+ Icon: f,
29
28
  iconClass: ""
30
29
  }
31
- }, o = d ? s.nested : s.topLevel, m = o.Icon;
32
- return /* @__PURE__ */ n("li", { className: `${o.liClass} `, children: [
30
+ }, o = p ? s.nested : s.topLevel, g = o.Icon;
31
+ return /* @__PURE__ */ n("li", { className: o.liClass, children: [
33
32
  /* @__PURE__ */ n(
34
- g,
33
+ u,
35
34
  {
36
35
  href: e ? void 0 : c ?? "#",
37
36
  role: e ? "button" : void 0,
38
- className: `text-small flex w-full items-center justify-between gap-1 font-medium text-nowrap text-neutral-800 transition-colors ${e ? "cursor-pointer" : ""} ${o.triggerClass} `,
37
+ className: `text-small flex w-full items-center justify-between gap-1 font-medium text-neutral-800 transition-colors ${e ? "cursor-pointer" : ""} ${o.triggerClass} `,
39
38
  "aria-haspopup": e ? "menu" : void 0,
40
39
  "aria-expanded": e ? "false" : void 0,
41
- title: e ? void 0 : l,
42
40
  children: [
43
41
  /* @__PURE__ */ n("span", { className: "flex items-center gap-1", children: [
44
- /* @__PURE__ */ t("span", { className: `text-medium ${p ? "font-bold" : ""}`, children: l }),
45
- i && /* @__PURE__ */ t("span", { className: "bg-secondary-200 text-extra-small rounded px-1 font-bold", children: i })
42
+ /* @__PURE__ */ t("span", { className: "text-base", children: a }),
43
+ l && /* @__PURE__ */ t("span", { className: "bg-secondary-200 text-extra-small rounded px-1 font-bold", children: l })
46
44
  ] }),
47
- e && /* @__PURE__ */ t(m, { className: o.iconClass, fill: "#000", width: 20, height: 20 })
45
+ e && /* @__PURE__ */ t(g, { className: o.iconClass, fill: "#000", width: 20, height: 20 })
48
46
  ]
49
47
  }
50
48
  ),
51
- u && /* @__PURE__ */ t(
49
+ d && /* @__PURE__ */ t(
52
50
  "div",
53
51
  {
54
52
  className: `pointer-events-none absolute z-50 min-w-48 opacity-0 transition-opacity duration-200 ${o.dropdownPosition} ${o.dropdownTrigger} `,
55
- children: /* @__PURE__ */ t("div", { className: "rounded-md border border-neutral-200 bg-white p-4 shadow-lg", children: /* @__PURE__ */ t("ul", { className: "flex flex-col gap-2", children: r.map((a) => /* @__PURE__ */ t(h, { ...a, isNested: !0 }, a.label)) }) })
53
+ children: /* @__PURE__ */ t("div", { className: "rounded-md border border-neutral-200 bg-white py-2 shadow-lg", children: /* @__PURE__ */ t("ul", { className: "flex flex-col", children: r.map((i) => /* @__PURE__ */ t(v, { ...i, isNested: !0 }, i.label)) }) })
56
54
  }
57
55
  )
58
56
  ] });
59
57
  };
60
58
  export {
61
- h as NavMenuItem
59
+ v as NavMenuItem
62
60
  };
@@ -0,0 +1,9 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+
3
+ export declare const PhoneButton: ({ phoneNumber, className }: PhoneButtonProps) => JSX.Element;
4
+
5
+ export interface PhoneButtonProps {
6
+ phoneNumber: string;
7
+ className?: string;
8
+ }
9
+
@@ -0,0 +1,16 @@
1
+ import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
+ import { PhoneIcon as r } from "./PhoneIcon.js";
3
+ const h = ({ phoneNumber: t, className: i = "" }) => /* @__PURE__ */ n(
4
+ "a",
5
+ {
6
+ href: `tel:${t}`,
7
+ className: `bg-primary-700 inline-flex w-full items-center justify-center gap-2 rounded py-2.75 text-[16px] font-bold text-white ${i}`,
8
+ children: [
9
+ /* @__PURE__ */ e(r, { fill: "white", width: 20, height: 20 }),
10
+ /* @__PURE__ */ e("span", { children: t })
11
+ ]
12
+ }
13
+ );
14
+ export {
15
+ h as PhoneButton
16
+ };
@@ -0,0 +1,8 @@
1
+ import { default as default_2 } from 'react';
2
+
3
+ export declare const PhoneIcon: default_2.FC<{
4
+ width?: number;
5
+ height?: number;
6
+ fill?: string;
7
+ }>;
8
+
@@ -0,0 +1,16 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import "react";
3
+ const p = ({
4
+ width: n = 24,
5
+ height: C = 24,
6
+ fill: r = "none"
7
+ }) => /* @__PURE__ */ o("svg", { viewBox: "0 0 24 24", width: n, height: C, fill: r, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ o("g", { id: "Icon/Symbol/phone_24px", children: /* @__PURE__ */ o(
8
+ "path",
9
+ {
10
+ id: "path",
11
+ d: "M20.01 15.38C18.78 15.38 17.59 15.18 16.48 14.82C16.13 14.7 15.74 14.79 15.47 15.06L13.9 17.03C11.07 15.68 8.42 13.13 7.01 10.2L8.96 8.54C9.23 8.26 9.31 7.87 9.2 7.52C8.83 6.41 8.64 5.22 8.64 3.99C8.64 3.45 8.19 3 7.65 3H4.19C3.65 3 3 3.24 3 3.99C3 13.28 10.73 21 20.01 21C20.72 21 21 20.37 21 19.82V16.37C21 15.83 20.55 15.38 20.01 15.38Z"
12
+ }
13
+ ) }) });
14
+ export {
15
+ p as PhoneIcon
16
+ };
@@ -74,7 +74,7 @@ const w = ({
74
74
  ] })
75
75
  ] }),
76
76
  /* @__PURE__ */ r("div", { className: "block lg:hidden", children: [
77
- /* @__PURE__ */ r("div", { className: "flex items-center gap-3 border-b border-neutral-200 bg-white py-1", children: [
77
+ /* @__PURE__ */ r("div", { className: "flex items-center gap-3 border-b border-neutral-200 bg-white px-4 py-3", children: [
78
78
  /* @__PURE__ */ e(
79
79
  "input",
80
80
  {