@opensite/ui 0.4.3 → 0.4.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.
- package/dist/navbar-animated-preview.cjs +6 -6
- package/dist/navbar-animated-preview.js +6 -6
- package/dist/navbar-centered-menu.cjs +6 -6
- package/dist/navbar-centered-menu.js +6 -6
- package/dist/navbar-dark-icons.cjs +4 -4
- package/dist/navbar-dark-icons.js +4 -4
- package/dist/navbar-dropdown-menu.cjs +6 -6
- package/dist/navbar-dropdown-menu.js +6 -6
- package/dist/navbar-education-platform.cjs +4 -4
- package/dist/navbar-education-platform.js +4 -4
- package/dist/navbar-enterprise-mega.cjs +6 -6
- package/dist/navbar-enterprise-mega.js +6 -6
- package/dist/navbar-feature-grid.cjs +4 -4
- package/dist/navbar-feature-grid.js +4 -4
- package/dist/navbar-floating-pill.cjs +4 -4
- package/dist/navbar-floating-pill.js +4 -4
- package/dist/navbar-icon-links.cjs +3 -3
- package/dist/navbar-icon-links.js +3 -3
- package/dist/navbar-image-preview.cjs +6 -6
- package/dist/navbar-image-preview.js +6 -6
- package/dist/navbar-mega-menu.cjs +14 -21
- package/dist/navbar-mega-menu.js +14 -21
- package/dist/navbar-multi-column-groups.cjs +4 -4
- package/dist/navbar-multi-column-groups.js +4 -4
- package/dist/navbar-platform-resources.cjs +4 -4
- package/dist/navbar-platform-resources.js +4 -4
- package/dist/navbar-search-focused.cjs +3 -3
- package/dist/navbar-search-focused.js +3 -3
- package/dist/navbar-sidebar-mobile.cjs +4 -4
- package/dist/navbar-sidebar-mobile.js +4 -4
- package/dist/navbar-simple-links.cjs +4 -4
- package/dist/navbar-simple-links.js +4 -4
- package/dist/navbar-split-cta.cjs +4 -4
- package/dist/navbar-split-cta.js +4 -4
- package/dist/navbar-sticky-compact.cjs +4 -4
- package/dist/navbar-sticky-compact.js +4 -4
- package/dist/navbar-tabbed-sections.cjs +4 -4
- package/dist/navbar-tabbed-sections.js +4 -4
- package/dist/navbar-transparent-overlay.cjs +3 -3
- package/dist/navbar-transparent-overlay.js +3 -3
- package/dist/registry.cjs +25 -27
- package/dist/registry.js +25 -27
- package/package.json +1 -1
package/dist/registry.cjs
CHANGED
|
@@ -48854,7 +48854,7 @@ function NavigationMenuList({
|
|
|
48854
48854
|
{
|
|
48855
48855
|
"data-slot": "navigation-menu-list",
|
|
48856
48856
|
className: cn(
|
|
48857
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
48857
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
48858
48858
|
className
|
|
48859
48859
|
),
|
|
48860
48860
|
...props
|
|
@@ -48875,7 +48875,7 @@ function NavigationMenuItem({
|
|
|
48875
48875
|
);
|
|
48876
48876
|
}
|
|
48877
48877
|
var navigationMenuTriggerStyle = classVarianceAuthority.cva(
|
|
48878
|
-
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-
|
|
48878
|
+
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-muted data-[state=open]:text-foreground data-[state=open]:focus:bg-muted data-[state=open]:bg-muted/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
|
|
48879
48879
|
);
|
|
48880
48880
|
function NavigationMenuTrigger({
|
|
48881
48881
|
className,
|
|
@@ -48895,7 +48895,7 @@ function NavigationMenuTrigger({
|
|
|
48895
48895
|
DynamicIcon,
|
|
48896
48896
|
{
|
|
48897
48897
|
name: "lucide/chevron-down",
|
|
48898
|
-
className: "relative top-[1px] ml-1 size-
|
|
48898
|
+
className: "relative top-[1px] ml-1 size-2.5 transition duration-300 group-data-[state=open]:rotate-180",
|
|
48899
48899
|
"aria-hidden": "true"
|
|
48900
48900
|
}
|
|
48901
48901
|
)
|
|
@@ -48953,7 +48953,7 @@ function NavigationMenuLink({
|
|
|
48953
48953
|
{
|
|
48954
48954
|
"data-slot": "navigation-menu-link",
|
|
48955
48955
|
className: cn(
|
|
48956
|
-
"data-[active=true]:focus:bg-
|
|
48956
|
+
"data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 data-[active=true]:text-foreground hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",
|
|
48957
48957
|
className
|
|
48958
48958
|
),
|
|
48959
48959
|
...props
|
|
@@ -49069,7 +49069,7 @@ var SubMenuLink = ({
|
|
|
49069
49069
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49070
49070
|
Pressable,
|
|
49071
49071
|
{
|
|
49072
|
-
className: "flex min-w-80 flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-
|
|
49072
|
+
className: "flex min-w-80 flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-foreground",
|
|
49073
49073
|
href: item.url,
|
|
49074
49074
|
children: [
|
|
49075
49075
|
item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
|
|
@@ -49092,7 +49092,7 @@ var renderMenuItem = (item, optixFlowConfig) => {
|
|
|
49092
49092
|
NavigationMenuLink,
|
|
49093
49093
|
{
|
|
49094
49094
|
href: item.url,
|
|
49095
|
-
className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-
|
|
49095
|
+
className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-foreground",
|
|
49096
49096
|
children: item.title
|
|
49097
49097
|
}
|
|
49098
49098
|
) }, item.title);
|
|
@@ -49287,7 +49287,7 @@ var SubMenuLink2 = ({ item }) => {
|
|
|
49287
49287
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49288
49288
|
Pressable,
|
|
49289
49289
|
{
|
|
49290
|
-
className: "flex flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-
|
|
49290
|
+
className: "flex flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-foreground",
|
|
49291
49291
|
href: item.url,
|
|
49292
49292
|
children: [
|
|
49293
49293
|
item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
|
|
@@ -49310,7 +49310,7 @@ var renderMenuItem2 = (item) => {
|
|
|
49310
49310
|
NavigationMenuLink,
|
|
49311
49311
|
{
|
|
49312
49312
|
href: item.url,
|
|
49313
|
-
className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-
|
|
49313
|
+
className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-foreground",
|
|
49314
49314
|
children: item.title
|
|
49315
49315
|
}
|
|
49316
49316
|
) }, item.title);
|
|
@@ -49504,7 +49504,7 @@ var DesktopMenuItem = ({
|
|
|
49504
49504
|
};
|
|
49505
49505
|
if (layout === "animated-image-preview" && link.links) {
|
|
49506
49506
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
|
|
49507
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-
|
|
49507
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: link.label }),
|
|
49508
49508
|
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "!rounded-2xl !p-0", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-h-[18.75rem] w-[45.25rem] grid-cols-[22.5rem_1fr] gap-4 p-3", children: [
|
|
49509
49509
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl", children: link.links.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
49510
49510
|
img.Img,
|
|
@@ -49546,14 +49546,14 @@ var DesktopMenuItem = ({
|
|
|
49546
49546
|
}
|
|
49547
49547
|
if (layout === "simple-grid" && link.links) {
|
|
49548
49548
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
|
|
49549
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-
|
|
49549
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: link.label }),
|
|
49550
49550
|
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[520px] p-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2", children: link.links.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49551
49551
|
NavigationMenuLink,
|
|
49552
49552
|
{
|
|
49553
49553
|
href: item.url,
|
|
49554
|
-
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-
|
|
49554
|
+
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-muted hover:text-foreground",
|
|
49555
49555
|
children: [
|
|
49556
|
-
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-
|
|
49556
|
+
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-16 w-16 shrink-0 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49557
49557
|
img.Img,
|
|
49558
49558
|
{
|
|
49559
49559
|
src: item.image,
|
|
@@ -49562,9 +49562,9 @@ var DesktopMenuItem = ({
|
|
|
49562
49562
|
optixFlowConfig
|
|
49563
49563
|
}
|
|
49564
49564
|
) }),
|
|
49565
|
-
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-
|
|
49565
|
+
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-16 w-16 shrink-0 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 20 }) : null }),
|
|
49566
49566
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
49567
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-
|
|
49567
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
49568
49568
|
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
49569
49569
|
] })
|
|
49570
49570
|
]
|
|
@@ -49575,7 +49575,7 @@ var DesktopMenuItem = ({
|
|
|
49575
49575
|
}
|
|
49576
49576
|
if (layout === "list-with-icons" && link.links) {
|
|
49577
49577
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
|
|
49578
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-
|
|
49578
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: link.label }),
|
|
49579
49579
|
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[400px] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-1", children: link.links.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49580
49580
|
NavigationMenuLink,
|
|
49581
49581
|
{
|
|
@@ -49658,9 +49658,7 @@ var NavbarMegaMenu = ({
|
|
|
49658
49658
|
logoClassName,
|
|
49659
49659
|
mobileMenuClassName,
|
|
49660
49660
|
logo = {
|
|
49661
|
-
url: "/"
|
|
49662
|
-
desktopSrc: logoPlaceholders.darkHorizontalLogo,
|
|
49663
|
-
mobileSrc: logoPlaceholders.logoMark
|
|
49661
|
+
url: "/"
|
|
49664
49662
|
},
|
|
49665
49663
|
logoSlot,
|
|
49666
49664
|
menuLinks,
|
|
@@ -49686,7 +49684,7 @@ var NavbarMegaMenu = ({
|
|
|
49686
49684
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49687
49685
|
img.Img,
|
|
49688
49686
|
{
|
|
49689
|
-
src: logo.desktopSrc
|
|
49687
|
+
src: logo.desktopSrc,
|
|
49690
49688
|
className: cn("hidden h-7 dark:invert md:block", logo.className),
|
|
49691
49689
|
alt: logo.alt || "Logo",
|
|
49692
49690
|
optixFlowConfig
|
|
@@ -49695,7 +49693,7 @@ var NavbarMegaMenu = ({
|
|
|
49695
49693
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49696
49694
|
img.Img,
|
|
49697
49695
|
{
|
|
49698
|
-
src: logo.mobileSrc
|
|
49696
|
+
src: logo.mobileSrc,
|
|
49699
49697
|
className: cn("h-7 dark:invert md:hidden", logo.className),
|
|
49700
49698
|
alt: logo.alt || "Logo",
|
|
49701
49699
|
optixFlowConfig
|
|
@@ -50065,7 +50063,7 @@ var DesktopMenuItem2 = ({
|
|
|
50065
50063
|
const effectiveLayout = item.layout || "solutions-with-platform";
|
|
50066
50064
|
if (hasDropdown) {
|
|
50067
50065
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
50068
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-
|
|
50066
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: item.label }),
|
|
50069
50067
|
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "rounded-xl! border-0! p-0!", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-dvw px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container", children: renderDropdownContent(
|
|
50070
50068
|
{ ...item, layout: effectiveLayout },
|
|
50071
50069
|
optixFlowConfig
|
|
@@ -50076,7 +50074,7 @@ var DesktopMenuItem2 = ({
|
|
|
50076
50074
|
NavigationMenuLink,
|
|
50077
50075
|
{
|
|
50078
50076
|
href: item.href,
|
|
50079
|
-
className: "h-auto bg-transparent px-
|
|
50077
|
+
className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground",
|
|
50080
50078
|
children: item.label
|
|
50081
50079
|
}
|
|
50082
50080
|
) }, `desktop-menu-item-${index}`);
|
|
@@ -51837,7 +51835,7 @@ var DesktopMenuItem3 = ({
|
|
|
51837
51835
|
};
|
|
51838
51836
|
if (item.links) {
|
|
51839
51837
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
51840
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "bg-transparent", children: item.title }),
|
|
51838
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "bg-transparent px-3 py-2 text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: item.title }),
|
|
51841
51839
|
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "rounded-2xl! p-0!", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-h-75 w-181 grid-cols-[22.5rem_1fr] gap-4 p-3", children: [
|
|
51842
51840
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl", children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
51843
51841
|
img.Img,
|
|
@@ -51878,7 +51876,7 @@ var DesktopMenuItem3 = ({
|
|
|
51878
51876
|
NavigationMenuItem,
|
|
51879
51877
|
{
|
|
51880
51878
|
value: `${index}`,
|
|
51881
|
-
className: `${navigationMenuTriggerStyle()} bg-transparent`,
|
|
51879
|
+
className: `${navigationMenuTriggerStyle()} bg-transparent text-foreground/80 hover:bg-muted hover:text-foreground`,
|
|
51882
51880
|
children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuLink, { href: item.url, children: item.title })
|
|
51883
51881
|
},
|
|
51884
51882
|
`desktop-menu-item-${index}`
|
|
@@ -52546,7 +52544,7 @@ var DesktopMenuItem5 = ({
|
|
|
52546
52544
|
);
|
|
52547
52545
|
if (hasDropdown) {
|
|
52548
52546
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
52549
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-
|
|
52547
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: item.label }),
|
|
52550
52548
|
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "hidden rounded-xl! border-0! p-0! xl:block", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-dvw animate-[fade-in-slide-down_0.35s_cubic-bezier(0.33,1,0.68,1)_forwards] px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container", children: renderDropdownContent2(item, optixFlowConfig) }) }) })
|
|
52551
52549
|
] }, `desktop-menu-item-${index}`);
|
|
52552
52550
|
}
|
|
@@ -52554,7 +52552,7 @@ var DesktopMenuItem5 = ({
|
|
|
52554
52552
|
NavigationMenuLink,
|
|
52555
52553
|
{
|
|
52556
52554
|
href: item.href,
|
|
52557
|
-
className: `${navigationMenuTriggerStyle()} bg-transparent px-
|
|
52555
|
+
className: `${navigationMenuTriggerStyle()} bg-transparent px-3 py-2 hover:bg-muted focus:bg-muted h-fit font-normal text-foreground/80`,
|
|
52558
52556
|
children: item.label
|
|
52559
52557
|
}
|
|
52560
52558
|
) }, `desktop-menu-item-${index}`);
|
|
@@ -54730,7 +54728,7 @@ var NavbarSimpleLinks = ({
|
|
|
54730
54728
|
{
|
|
54731
54729
|
"data-nav-item": item.name,
|
|
54732
54730
|
onClick: () => setActiveItem(item.name),
|
|
54733
|
-
className: `relative cursor-pointer text-sm font-medium hover:bg-
|
|
54731
|
+
className: `relative cursor-pointer rounded-md px-3 py-2 text-sm font-medium transition-colors hover:bg-muted ${activeItem === item.name ? "text-foreground" : "text-muted-foreground hover:text-foreground"}`,
|
|
54734
54732
|
children: item.name
|
|
54735
54733
|
}
|
|
54736
54734
|
) }) }, item.name));
|
package/dist/registry.js
CHANGED
|
@@ -48814,7 +48814,7 @@ function NavigationMenuList({
|
|
|
48814
48814
|
{
|
|
48815
48815
|
"data-slot": "navigation-menu-list",
|
|
48816
48816
|
className: cn(
|
|
48817
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
48817
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
48818
48818
|
className
|
|
48819
48819
|
),
|
|
48820
48820
|
...props
|
|
@@ -48835,7 +48835,7 @@ function NavigationMenuItem({
|
|
|
48835
48835
|
);
|
|
48836
48836
|
}
|
|
48837
48837
|
var navigationMenuTriggerStyle = cva(
|
|
48838
|
-
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-
|
|
48838
|
+
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-muted data-[state=open]:text-foreground data-[state=open]:focus:bg-muted data-[state=open]:bg-muted/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
|
|
48839
48839
|
);
|
|
48840
48840
|
function NavigationMenuTrigger({
|
|
48841
48841
|
className,
|
|
@@ -48855,7 +48855,7 @@ function NavigationMenuTrigger({
|
|
|
48855
48855
|
DynamicIcon,
|
|
48856
48856
|
{
|
|
48857
48857
|
name: "lucide/chevron-down",
|
|
48858
|
-
className: "relative top-[1px] ml-1 size-
|
|
48858
|
+
className: "relative top-[1px] ml-1 size-2.5 transition duration-300 group-data-[state=open]:rotate-180",
|
|
48859
48859
|
"aria-hidden": "true"
|
|
48860
48860
|
}
|
|
48861
48861
|
)
|
|
@@ -48913,7 +48913,7 @@ function NavigationMenuLink({
|
|
|
48913
48913
|
{
|
|
48914
48914
|
"data-slot": "navigation-menu-link",
|
|
48915
48915
|
className: cn(
|
|
48916
|
-
"data-[active=true]:focus:bg-
|
|
48916
|
+
"data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 data-[active=true]:text-foreground hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",
|
|
48917
48917
|
className
|
|
48918
48918
|
),
|
|
48919
48919
|
...props
|
|
@@ -49029,7 +49029,7 @@ var SubMenuLink = ({
|
|
|
49029
49029
|
return /* @__PURE__ */ jsxs(
|
|
49030
49030
|
Pressable,
|
|
49031
49031
|
{
|
|
49032
|
-
className: "flex min-w-80 flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-
|
|
49032
|
+
className: "flex min-w-80 flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-foreground",
|
|
49033
49033
|
href: item.url,
|
|
49034
49034
|
children: [
|
|
49035
49035
|
item.icon && /* @__PURE__ */ jsx("div", { className: "text-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
|
|
@@ -49052,7 +49052,7 @@ var renderMenuItem = (item, optixFlowConfig) => {
|
|
|
49052
49052
|
NavigationMenuLink,
|
|
49053
49053
|
{
|
|
49054
49054
|
href: item.url,
|
|
49055
|
-
className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-
|
|
49055
|
+
className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-foreground",
|
|
49056
49056
|
children: item.title
|
|
49057
49057
|
}
|
|
49058
49058
|
) }, item.title);
|
|
@@ -49247,7 +49247,7 @@ var SubMenuLink2 = ({ item }) => {
|
|
|
49247
49247
|
return /* @__PURE__ */ jsxs(
|
|
49248
49248
|
Pressable,
|
|
49249
49249
|
{
|
|
49250
|
-
className: "flex flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-
|
|
49250
|
+
className: "flex flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-foreground",
|
|
49251
49251
|
href: item.url,
|
|
49252
49252
|
children: [
|
|
49253
49253
|
item.icon && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
|
|
@@ -49270,7 +49270,7 @@ var renderMenuItem2 = (item) => {
|
|
|
49270
49270
|
NavigationMenuLink,
|
|
49271
49271
|
{
|
|
49272
49272
|
href: item.url,
|
|
49273
|
-
className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-
|
|
49273
|
+
className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-foreground",
|
|
49274
49274
|
children: item.title
|
|
49275
49275
|
}
|
|
49276
49276
|
) }, item.title);
|
|
@@ -49464,7 +49464,7 @@ var DesktopMenuItem = ({
|
|
|
49464
49464
|
};
|
|
49465
49465
|
if (layout === "animated-image-preview" && link.links) {
|
|
49466
49466
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
|
|
49467
|
-
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-
|
|
49467
|
+
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: link.label }),
|
|
49468
49468
|
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "!rounded-2xl !p-0", children: /* @__PURE__ */ jsxs("div", { className: "grid min-h-[18.75rem] w-[45.25rem] grid-cols-[22.5rem_1fr] gap-4 p-3", children: [
|
|
49469
49469
|
/* @__PURE__ */ jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl", children: link.links.map((item, idx) => /* @__PURE__ */ jsx(
|
|
49470
49470
|
Img,
|
|
@@ -49506,14 +49506,14 @@ var DesktopMenuItem = ({
|
|
|
49506
49506
|
}
|
|
49507
49507
|
if (layout === "simple-grid" && link.links) {
|
|
49508
49508
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
|
|
49509
|
-
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-
|
|
49509
|
+
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: link.label }),
|
|
49510
49510
|
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[520px] p-6", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2", children: link.links.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
49511
49511
|
NavigationMenuLink,
|
|
49512
49512
|
{
|
|
49513
49513
|
href: item.url,
|
|
49514
|
-
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-
|
|
49514
|
+
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-muted hover:text-foreground",
|
|
49515
49515
|
children: [
|
|
49516
|
-
item.image && /* @__PURE__ */ jsx("div", { className: "h-
|
|
49516
|
+
item.image && /* @__PURE__ */ jsx("div", { className: "h-16 w-16 shrink-0 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
|
|
49517
49517
|
Img,
|
|
49518
49518
|
{
|
|
49519
49519
|
src: item.image,
|
|
@@ -49522,9 +49522,9 @@ var DesktopMenuItem = ({
|
|
|
49522
49522
|
optixFlowConfig
|
|
49523
49523
|
}
|
|
49524
49524
|
) }),
|
|
49525
|
-
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "flex h-
|
|
49525
|
+
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "flex h-16 w-16 shrink-0 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 20 }) : null }),
|
|
49526
49526
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
49527
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
49527
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
49528
49528
|
item.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
49529
49529
|
] })
|
|
49530
49530
|
]
|
|
@@ -49535,7 +49535,7 @@ var DesktopMenuItem = ({
|
|
|
49535
49535
|
}
|
|
49536
49536
|
if (layout === "list-with-icons" && link.links) {
|
|
49537
49537
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
|
|
49538
|
-
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-
|
|
49538
|
+
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: link.label }),
|
|
49539
49539
|
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[400px] p-4", children: /* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-1", children: link.links.map((item, itemIndex) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(
|
|
49540
49540
|
NavigationMenuLink,
|
|
49541
49541
|
{
|
|
@@ -49618,9 +49618,7 @@ var NavbarMegaMenu = ({
|
|
|
49618
49618
|
logoClassName,
|
|
49619
49619
|
mobileMenuClassName,
|
|
49620
49620
|
logo = {
|
|
49621
|
-
url: "/"
|
|
49622
|
-
desktopSrc: logoPlaceholders.darkHorizontalLogo,
|
|
49623
|
-
mobileSrc: logoPlaceholders.logoMark
|
|
49621
|
+
url: "/"
|
|
49624
49622
|
},
|
|
49625
49623
|
logoSlot,
|
|
49626
49624
|
menuLinks,
|
|
@@ -49646,7 +49644,7 @@ var NavbarMegaMenu = ({
|
|
|
49646
49644
|
/* @__PURE__ */ jsx(
|
|
49647
49645
|
Img,
|
|
49648
49646
|
{
|
|
49649
|
-
src: logo.desktopSrc
|
|
49647
|
+
src: logo.desktopSrc,
|
|
49650
49648
|
className: cn("hidden h-7 dark:invert md:block", logo.className),
|
|
49651
49649
|
alt: logo.alt || "Logo",
|
|
49652
49650
|
optixFlowConfig
|
|
@@ -49655,7 +49653,7 @@ var NavbarMegaMenu = ({
|
|
|
49655
49653
|
/* @__PURE__ */ jsx(
|
|
49656
49654
|
Img,
|
|
49657
49655
|
{
|
|
49658
|
-
src: logo.mobileSrc
|
|
49656
|
+
src: logo.mobileSrc,
|
|
49659
49657
|
className: cn("h-7 dark:invert md:hidden", logo.className),
|
|
49660
49658
|
alt: logo.alt || "Logo",
|
|
49661
49659
|
optixFlowConfig
|
|
@@ -50025,7 +50023,7 @@ var DesktopMenuItem2 = ({
|
|
|
50025
50023
|
const effectiveLayout = item.layout || "solutions-with-platform";
|
|
50026
50024
|
if (hasDropdown) {
|
|
50027
50025
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
50028
|
-
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-
|
|
50026
|
+
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: item.label }),
|
|
50029
50027
|
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "rounded-xl! border-0! p-0!", children: /* @__PURE__ */ jsx("div", { className: "w-dvw px-8 pt-6 pb-12", children: /* @__PURE__ */ jsx("div", { className: "container", children: renderDropdownContent(
|
|
50030
50028
|
{ ...item, layout: effectiveLayout },
|
|
50031
50029
|
optixFlowConfig
|
|
@@ -50036,7 +50034,7 @@ var DesktopMenuItem2 = ({
|
|
|
50036
50034
|
NavigationMenuLink,
|
|
50037
50035
|
{
|
|
50038
50036
|
href: item.href,
|
|
50039
|
-
className: "h-auto bg-transparent px-
|
|
50037
|
+
className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground",
|
|
50040
50038
|
children: item.label
|
|
50041
50039
|
}
|
|
50042
50040
|
) }, `desktop-menu-item-${index}`);
|
|
@@ -51797,7 +51795,7 @@ var DesktopMenuItem3 = ({
|
|
|
51797
51795
|
};
|
|
51798
51796
|
if (item.links) {
|
|
51799
51797
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
51800
|
-
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "bg-transparent", children: item.title }),
|
|
51798
|
+
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "bg-transparent px-3 py-2 text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: item.title }),
|
|
51801
51799
|
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "rounded-2xl! p-0!", children: /* @__PURE__ */ jsxs("div", { className: "grid min-h-75 w-181 grid-cols-[22.5rem_1fr] gap-4 p-3", children: [
|
|
51802
51800
|
/* @__PURE__ */ jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl", children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsx(
|
|
51803
51801
|
Img,
|
|
@@ -51838,7 +51836,7 @@ var DesktopMenuItem3 = ({
|
|
|
51838
51836
|
NavigationMenuItem,
|
|
51839
51837
|
{
|
|
51840
51838
|
value: `${index}`,
|
|
51841
|
-
className: `${navigationMenuTriggerStyle()} bg-transparent`,
|
|
51839
|
+
className: `${navigationMenuTriggerStyle()} bg-transparent text-foreground/80 hover:bg-muted hover:text-foreground`,
|
|
51842
51840
|
children: /* @__PURE__ */ jsx(NavigationMenuLink, { href: item.url, children: item.title })
|
|
51843
51841
|
},
|
|
51844
51842
|
`desktop-menu-item-${index}`
|
|
@@ -52506,7 +52504,7 @@ var DesktopMenuItem5 = ({
|
|
|
52506
52504
|
);
|
|
52507
52505
|
if (hasDropdown) {
|
|
52508
52506
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
52509
|
-
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-
|
|
52507
|
+
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: item.label }),
|
|
52510
52508
|
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "hidden rounded-xl! border-0! p-0! xl:block", children: /* @__PURE__ */ jsx("div", { className: "w-dvw animate-[fade-in-slide-down_0.35s_cubic-bezier(0.33,1,0.68,1)_forwards] px-8 pt-6 pb-12", children: /* @__PURE__ */ jsx("div", { className: "container", children: renderDropdownContent2(item, optixFlowConfig) }) }) })
|
|
52511
52509
|
] }, `desktop-menu-item-${index}`);
|
|
52512
52510
|
}
|
|
@@ -52514,7 +52512,7 @@ var DesktopMenuItem5 = ({
|
|
|
52514
52512
|
NavigationMenuLink,
|
|
52515
52513
|
{
|
|
52516
52514
|
href: item.href,
|
|
52517
|
-
className: `${navigationMenuTriggerStyle()} bg-transparent px-
|
|
52515
|
+
className: `${navigationMenuTriggerStyle()} bg-transparent px-3 py-2 hover:bg-muted focus:bg-muted h-fit font-normal text-foreground/80`,
|
|
52518
52516
|
children: item.label
|
|
52519
52517
|
}
|
|
52520
52518
|
) }, `desktop-menu-item-${index}`);
|
|
@@ -54690,7 +54688,7 @@ var NavbarSimpleLinks = ({
|
|
|
54690
54688
|
{
|
|
54691
54689
|
"data-nav-item": item.name,
|
|
54692
54690
|
onClick: () => setActiveItem(item.name),
|
|
54693
|
-
className: `relative cursor-pointer text-sm font-medium hover:bg-
|
|
54691
|
+
className: `relative cursor-pointer rounded-md px-3 py-2 text-sm font-medium transition-colors hover:bg-muted ${activeItem === item.name ? "text-foreground" : "text-muted-foreground hover:text-foreground"}`,
|
|
54694
54692
|
children: item.name
|
|
54695
54693
|
}
|
|
54696
54694
|
) }) }, item.name));
|