@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
|
@@ -1015,7 +1015,7 @@ function NavigationMenuList({
|
|
|
1015
1015
|
{
|
|
1016
1016
|
"data-slot": "navigation-menu-list",
|
|
1017
1017
|
className: cn(
|
|
1018
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
1018
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
1019
1019
|
className
|
|
1020
1020
|
),
|
|
1021
1021
|
...props
|
|
@@ -1036,7 +1036,7 @@ function NavigationMenuItem({
|
|
|
1036
1036
|
);
|
|
1037
1037
|
}
|
|
1038
1038
|
var navigationMenuTriggerStyle = classVarianceAuthority.cva(
|
|
1039
|
-
"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-
|
|
1039
|
+
"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"
|
|
1040
1040
|
);
|
|
1041
1041
|
function NavigationMenuTrigger({
|
|
1042
1042
|
className,
|
|
@@ -1056,7 +1056,7 @@ function NavigationMenuTrigger({
|
|
|
1056
1056
|
DynamicIcon,
|
|
1057
1057
|
{
|
|
1058
1058
|
name: "lucide/chevron-down",
|
|
1059
|
-
className: "relative top-[1px] ml-1 size-
|
|
1059
|
+
className: "relative top-[1px] ml-1 size-2.5 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1060
1060
|
"aria-hidden": "true"
|
|
1061
1061
|
}
|
|
1062
1062
|
)
|
|
@@ -1114,7 +1114,7 @@ function NavigationMenuLink({
|
|
|
1114
1114
|
{
|
|
1115
1115
|
"data-slot": "navigation-menu-link",
|
|
1116
1116
|
className: cn(
|
|
1117
|
-
"data-[active=true]:focus:bg-
|
|
1117
|
+
"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",
|
|
1118
1118
|
className
|
|
1119
1119
|
),
|
|
1120
1120
|
...props
|
|
@@ -1565,7 +1565,7 @@ var DesktopMenuItem = ({
|
|
|
1565
1565
|
);
|
|
1566
1566
|
if (hasDropdown) {
|
|
1567
1567
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
1568
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-
|
|
1568
|
+
/* @__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 }),
|
|
1569
1569
|
/* @__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: renderDropdownContent(item, optixFlowConfig) }) }) })
|
|
1570
1570
|
] }, `desktop-menu-item-${index}`);
|
|
1571
1571
|
}
|
|
@@ -1573,7 +1573,7 @@ var DesktopMenuItem = ({
|
|
|
1573
1573
|
NavigationMenuLink,
|
|
1574
1574
|
{
|
|
1575
1575
|
href: item.href,
|
|
1576
|
-
className: `${navigationMenuTriggerStyle()} bg-transparent px-
|
|
1576
|
+
className: `${navigationMenuTriggerStyle()} bg-transparent px-3 py-2 hover:bg-muted focus:bg-muted h-fit font-normal text-foreground/80`,
|
|
1577
1577
|
children: item.label
|
|
1578
1578
|
}
|
|
1579
1579
|
) }, `desktop-menu-item-${index}`);
|
|
@@ -989,7 +989,7 @@ function NavigationMenuList({
|
|
|
989
989
|
{
|
|
990
990
|
"data-slot": "navigation-menu-list",
|
|
991
991
|
className: cn(
|
|
992
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
992
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
993
993
|
className
|
|
994
994
|
),
|
|
995
995
|
...props
|
|
@@ -1010,7 +1010,7 @@ function NavigationMenuItem({
|
|
|
1010
1010
|
);
|
|
1011
1011
|
}
|
|
1012
1012
|
var navigationMenuTriggerStyle = cva(
|
|
1013
|
-
"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-
|
|
1013
|
+
"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"
|
|
1014
1014
|
);
|
|
1015
1015
|
function NavigationMenuTrigger({
|
|
1016
1016
|
className,
|
|
@@ -1030,7 +1030,7 @@ function NavigationMenuTrigger({
|
|
|
1030
1030
|
DynamicIcon,
|
|
1031
1031
|
{
|
|
1032
1032
|
name: "lucide/chevron-down",
|
|
1033
|
-
className: "relative top-[1px] ml-1 size-
|
|
1033
|
+
className: "relative top-[1px] ml-1 size-2.5 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1034
1034
|
"aria-hidden": "true"
|
|
1035
1035
|
}
|
|
1036
1036
|
)
|
|
@@ -1088,7 +1088,7 @@ function NavigationMenuLink({
|
|
|
1088
1088
|
{
|
|
1089
1089
|
"data-slot": "navigation-menu-link",
|
|
1090
1090
|
className: cn(
|
|
1091
|
-
"data-[active=true]:focus:bg-
|
|
1091
|
+
"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",
|
|
1092
1092
|
className
|
|
1093
1093
|
),
|
|
1094
1094
|
...props
|
|
@@ -1539,7 +1539,7 @@ var DesktopMenuItem = ({
|
|
|
1539
1539
|
);
|
|
1540
1540
|
if (hasDropdown) {
|
|
1541
1541
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
1542
|
-
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-
|
|
1542
|
+
/* @__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 }),
|
|
1543
1543
|
/* @__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: renderDropdownContent(item, optixFlowConfig) }) }) })
|
|
1544
1544
|
] }, `desktop-menu-item-${index}`);
|
|
1545
1545
|
}
|
|
@@ -1547,7 +1547,7 @@ var DesktopMenuItem = ({
|
|
|
1547
1547
|
NavigationMenuLink,
|
|
1548
1548
|
{
|
|
1549
1549
|
href: item.href,
|
|
1550
|
-
className: `${navigationMenuTriggerStyle()} bg-transparent px-
|
|
1550
|
+
className: `${navigationMenuTriggerStyle()} bg-transparent px-3 py-2 hover:bg-muted focus:bg-muted h-fit font-normal text-foreground/80`,
|
|
1551
1551
|
children: item.label
|
|
1552
1552
|
}
|
|
1553
1553
|
) }, `desktop-menu-item-${index}`);
|
|
@@ -987,7 +987,7 @@ function NavigationMenuList({
|
|
|
987
987
|
{
|
|
988
988
|
"data-slot": "navigation-menu-list",
|
|
989
989
|
className: cn(
|
|
990
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
990
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
991
991
|
className
|
|
992
992
|
),
|
|
993
993
|
...props
|
|
@@ -1008,7 +1008,7 @@ function NavigationMenuItem({
|
|
|
1008
1008
|
);
|
|
1009
1009
|
}
|
|
1010
1010
|
var navigationMenuTriggerStyle = classVarianceAuthority.cva(
|
|
1011
|
-
"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-
|
|
1011
|
+
"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"
|
|
1012
1012
|
);
|
|
1013
1013
|
function NavigationMenuTrigger({
|
|
1014
1014
|
className,
|
|
@@ -1028,7 +1028,7 @@ function NavigationMenuTrigger({
|
|
|
1028
1028
|
DynamicIcon,
|
|
1029
1029
|
{
|
|
1030
1030
|
name: "lucide/chevron-down",
|
|
1031
|
-
className: "relative top-[1px] ml-1 size-
|
|
1031
|
+
className: "relative top-[1px] ml-1 size-2.5 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1032
1032
|
"aria-hidden": "true"
|
|
1033
1033
|
}
|
|
1034
1034
|
)
|
|
@@ -1062,7 +1062,7 @@ function NavigationMenuLink({
|
|
|
1062
1062
|
{
|
|
1063
1063
|
"data-slot": "navigation-menu-link",
|
|
1064
1064
|
className: cn(
|
|
1065
|
-
"data-[active=true]:focus:bg-
|
|
1065
|
+
"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",
|
|
1066
1066
|
className
|
|
1067
1067
|
),
|
|
1068
1068
|
...props
|
|
@@ -1179,7 +1179,7 @@ var SubMenuLink = ({ item }) => {
|
|
|
1179
1179
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1180
1180
|
Pressable,
|
|
1181
1181
|
{
|
|
1182
|
-
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-
|
|
1182
|
+
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",
|
|
1183
1183
|
href: item.url,
|
|
1184
1184
|
children: [
|
|
1185
1185
|
item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
|
|
@@ -1202,7 +1202,7 @@ var renderMenuItem = (item) => {
|
|
|
1202
1202
|
NavigationMenuLink,
|
|
1203
1203
|
{
|
|
1204
1204
|
href: item.url,
|
|
1205
|
-
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-
|
|
1205
|
+
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",
|
|
1206
1206
|
children: item.title
|
|
1207
1207
|
}
|
|
1208
1208
|
) }, item.title);
|
|
@@ -963,7 +963,7 @@ function NavigationMenuList({
|
|
|
963
963
|
{
|
|
964
964
|
"data-slot": "navigation-menu-list",
|
|
965
965
|
className: cn(
|
|
966
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
966
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
967
967
|
className
|
|
968
968
|
),
|
|
969
969
|
...props
|
|
@@ -984,7 +984,7 @@ function NavigationMenuItem({
|
|
|
984
984
|
);
|
|
985
985
|
}
|
|
986
986
|
var navigationMenuTriggerStyle = cva(
|
|
987
|
-
"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-
|
|
987
|
+
"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"
|
|
988
988
|
);
|
|
989
989
|
function NavigationMenuTrigger({
|
|
990
990
|
className,
|
|
@@ -1004,7 +1004,7 @@ function NavigationMenuTrigger({
|
|
|
1004
1004
|
DynamicIcon,
|
|
1005
1005
|
{
|
|
1006
1006
|
name: "lucide/chevron-down",
|
|
1007
|
-
className: "relative top-[1px] ml-1 size-
|
|
1007
|
+
className: "relative top-[1px] ml-1 size-2.5 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1008
1008
|
"aria-hidden": "true"
|
|
1009
1009
|
}
|
|
1010
1010
|
)
|
|
@@ -1038,7 +1038,7 @@ function NavigationMenuLink({
|
|
|
1038
1038
|
{
|
|
1039
1039
|
"data-slot": "navigation-menu-link",
|
|
1040
1040
|
className: cn(
|
|
1041
|
-
"data-[active=true]:focus:bg-
|
|
1041
|
+
"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",
|
|
1042
1042
|
className
|
|
1043
1043
|
),
|
|
1044
1044
|
...props
|
|
@@ -1155,7 +1155,7 @@ var SubMenuLink = ({ item }) => {
|
|
|
1155
1155
|
return /* @__PURE__ */ jsxs(
|
|
1156
1156
|
Pressable,
|
|
1157
1157
|
{
|
|
1158
|
-
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-
|
|
1158
|
+
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",
|
|
1159
1159
|
href: item.url,
|
|
1160
1160
|
children: [
|
|
1161
1161
|
item.icon && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
|
|
@@ -1178,7 +1178,7 @@ var renderMenuItem = (item) => {
|
|
|
1178
1178
|
NavigationMenuLink,
|
|
1179
1179
|
{
|
|
1180
1180
|
href: item.url,
|
|
1181
|
-
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-
|
|
1181
|
+
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",
|
|
1182
1182
|
children: item.title
|
|
1183
1183
|
}
|
|
1184
1184
|
) }, item.title);
|
|
@@ -1010,7 +1010,7 @@ function NavigationMenuList({
|
|
|
1010
1010
|
{
|
|
1011
1011
|
"data-slot": "navigation-menu-list",
|
|
1012
1012
|
className: cn(
|
|
1013
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
1013
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
1014
1014
|
className
|
|
1015
1015
|
),
|
|
1016
1016
|
...props
|
|
@@ -1031,7 +1031,7 @@ function NavigationMenuItem({
|
|
|
1031
1031
|
);
|
|
1032
1032
|
}
|
|
1033
1033
|
var navigationMenuTriggerStyle = classVarianceAuthority.cva(
|
|
1034
|
-
"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-
|
|
1034
|
+
"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"
|
|
1035
1035
|
);
|
|
1036
1036
|
function NavigationMenuTrigger({
|
|
1037
1037
|
className,
|
|
@@ -1051,7 +1051,7 @@ function NavigationMenuTrigger({
|
|
|
1051
1051
|
DynamicIcon,
|
|
1052
1052
|
{
|
|
1053
1053
|
name: "lucide/chevron-down",
|
|
1054
|
-
className: "relative top-[1px] ml-1 size-
|
|
1054
|
+
className: "relative top-[1px] ml-1 size-2.5 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1055
1055
|
"aria-hidden": "true"
|
|
1056
1056
|
}
|
|
1057
1057
|
)
|
|
@@ -1109,7 +1109,7 @@ function NavigationMenuLink({
|
|
|
1109
1109
|
{
|
|
1110
1110
|
"data-slot": "navigation-menu-link",
|
|
1111
1111
|
className: cn(
|
|
1112
|
-
"data-[active=true]:focus:bg-
|
|
1112
|
+
"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",
|
|
1113
1113
|
className
|
|
1114
1114
|
),
|
|
1115
1115
|
...props
|
|
@@ -986,7 +986,7 @@ function NavigationMenuList({
|
|
|
986
986
|
{
|
|
987
987
|
"data-slot": "navigation-menu-list",
|
|
988
988
|
className: cn(
|
|
989
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
989
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
990
990
|
className
|
|
991
991
|
),
|
|
992
992
|
...props
|
|
@@ -1007,7 +1007,7 @@ function NavigationMenuItem({
|
|
|
1007
1007
|
);
|
|
1008
1008
|
}
|
|
1009
1009
|
var navigationMenuTriggerStyle = cva(
|
|
1010
|
-
"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-
|
|
1010
|
+
"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"
|
|
1011
1011
|
);
|
|
1012
1012
|
function NavigationMenuTrigger({
|
|
1013
1013
|
className,
|
|
@@ -1027,7 +1027,7 @@ function NavigationMenuTrigger({
|
|
|
1027
1027
|
DynamicIcon,
|
|
1028
1028
|
{
|
|
1029
1029
|
name: "lucide/chevron-down",
|
|
1030
|
-
className: "relative top-[1px] ml-1 size-
|
|
1030
|
+
className: "relative top-[1px] ml-1 size-2.5 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1031
1031
|
"aria-hidden": "true"
|
|
1032
1032
|
}
|
|
1033
1033
|
)
|
|
@@ -1085,7 +1085,7 @@ function NavigationMenuLink({
|
|
|
1085
1085
|
{
|
|
1086
1086
|
"data-slot": "navigation-menu-link",
|
|
1087
1087
|
className: cn(
|
|
1088
|
-
"data-[active=true]:focus:bg-
|
|
1088
|
+
"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",
|
|
1089
1089
|
className
|
|
1090
1090
|
),
|
|
1091
1091
|
...props
|
|
@@ -1010,7 +1010,7 @@ function NavigationMenuList({
|
|
|
1010
1010
|
{
|
|
1011
1011
|
"data-slot": "navigation-menu-list",
|
|
1012
1012
|
className: cn(
|
|
1013
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
1013
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
1014
1014
|
className
|
|
1015
1015
|
),
|
|
1016
1016
|
...props
|
|
@@ -1031,7 +1031,7 @@ function NavigationMenuItem({
|
|
|
1031
1031
|
);
|
|
1032
1032
|
}
|
|
1033
1033
|
var navigationMenuTriggerStyle = classVarianceAuthority.cva(
|
|
1034
|
-
"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-
|
|
1034
|
+
"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"
|
|
1035
1035
|
);
|
|
1036
1036
|
function NavigationMenuTrigger({
|
|
1037
1037
|
className,
|
|
@@ -1051,7 +1051,7 @@ function NavigationMenuTrigger({
|
|
|
1051
1051
|
DynamicIcon,
|
|
1052
1052
|
{
|
|
1053
1053
|
name: "lucide/chevron-down",
|
|
1054
|
-
className: "relative top-[1px] ml-1 size-
|
|
1054
|
+
className: "relative top-[1px] ml-1 size-2.5 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1055
1055
|
"aria-hidden": "true"
|
|
1056
1056
|
}
|
|
1057
1057
|
)
|
|
@@ -1109,7 +1109,7 @@ function NavigationMenuLink({
|
|
|
1109
1109
|
{
|
|
1110
1110
|
"data-slot": "navigation-menu-link",
|
|
1111
1111
|
className: cn(
|
|
1112
|
-
"data-[active=true]:focus:bg-
|
|
1112
|
+
"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",
|
|
1113
1113
|
className
|
|
1114
1114
|
),
|
|
1115
1115
|
...props
|
|
@@ -1211,7 +1211,7 @@ var SubMenuLink = ({
|
|
|
1211
1211
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1212
1212
|
Pressable,
|
|
1213
1213
|
{
|
|
1214
|
-
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-
|
|
1214
|
+
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",
|
|
1215
1215
|
href: item.url,
|
|
1216
1216
|
children: [
|
|
1217
1217
|
item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
|
|
@@ -1234,7 +1234,7 @@ var renderMenuItem = (item, optixFlowConfig) => {
|
|
|
1234
1234
|
NavigationMenuLink,
|
|
1235
1235
|
{
|
|
1236
1236
|
href: item.url,
|
|
1237
|
-
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-
|
|
1237
|
+
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",
|
|
1238
1238
|
children: item.title
|
|
1239
1239
|
}
|
|
1240
1240
|
) }, item.title);
|
|
@@ -986,7 +986,7 @@ function NavigationMenuList({
|
|
|
986
986
|
{
|
|
987
987
|
"data-slot": "navigation-menu-list",
|
|
988
988
|
className: cn(
|
|
989
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
989
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
990
990
|
className
|
|
991
991
|
),
|
|
992
992
|
...props
|
|
@@ -1007,7 +1007,7 @@ function NavigationMenuItem({
|
|
|
1007
1007
|
);
|
|
1008
1008
|
}
|
|
1009
1009
|
var navigationMenuTriggerStyle = cva(
|
|
1010
|
-
"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-
|
|
1010
|
+
"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"
|
|
1011
1011
|
);
|
|
1012
1012
|
function NavigationMenuTrigger({
|
|
1013
1013
|
className,
|
|
@@ -1027,7 +1027,7 @@ function NavigationMenuTrigger({
|
|
|
1027
1027
|
DynamicIcon,
|
|
1028
1028
|
{
|
|
1029
1029
|
name: "lucide/chevron-down",
|
|
1030
|
-
className: "relative top-[1px] ml-1 size-
|
|
1030
|
+
className: "relative top-[1px] ml-1 size-2.5 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1031
1031
|
"aria-hidden": "true"
|
|
1032
1032
|
}
|
|
1033
1033
|
)
|
|
@@ -1085,7 +1085,7 @@ function NavigationMenuLink({
|
|
|
1085
1085
|
{
|
|
1086
1086
|
"data-slot": "navigation-menu-link",
|
|
1087
1087
|
className: cn(
|
|
1088
|
-
"data-[active=true]:focus:bg-
|
|
1088
|
+
"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",
|
|
1089
1089
|
className
|
|
1090
1090
|
),
|
|
1091
1091
|
...props
|
|
@@ -1187,7 +1187,7 @@ var SubMenuLink = ({
|
|
|
1187
1187
|
return /* @__PURE__ */ jsxs(
|
|
1188
1188
|
Pressable,
|
|
1189
1189
|
{
|
|
1190
|
-
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-
|
|
1190
|
+
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",
|
|
1191
1191
|
href: item.url,
|
|
1192
1192
|
children: [
|
|
1193
1193
|
item.icon && /* @__PURE__ */ jsx("div", { className: "text-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
|
|
@@ -1210,7 +1210,7 @@ var renderMenuItem = (item, optixFlowConfig) => {
|
|
|
1210
1210
|
NavigationMenuLink,
|
|
1211
1211
|
{
|
|
1212
1212
|
href: item.url,
|
|
1213
|
-
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-
|
|
1213
|
+
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",
|
|
1214
1214
|
children: item.title
|
|
1215
1215
|
}
|
|
1216
1216
|
) }, item.title);
|
|
@@ -1010,7 +1010,7 @@ function NavigationMenuList({
|
|
|
1010
1010
|
{
|
|
1011
1011
|
"data-slot": "navigation-menu-list",
|
|
1012
1012
|
className: cn(
|
|
1013
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
1013
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
1014
1014
|
className
|
|
1015
1015
|
),
|
|
1016
1016
|
...props
|
|
@@ -1031,7 +1031,7 @@ function NavigationMenuItem({
|
|
|
1031
1031
|
);
|
|
1032
1032
|
}
|
|
1033
1033
|
var navigationMenuTriggerStyle = classVarianceAuthority.cva(
|
|
1034
|
-
"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-
|
|
1034
|
+
"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"
|
|
1035
1035
|
);
|
|
1036
1036
|
function NavigationMenuTrigger({
|
|
1037
1037
|
className,
|
|
@@ -1051,7 +1051,7 @@ function NavigationMenuTrigger({
|
|
|
1051
1051
|
DynamicIcon,
|
|
1052
1052
|
{
|
|
1053
1053
|
name: "lucide/chevron-down",
|
|
1054
|
-
className: "relative top-[1px] ml-1 size-
|
|
1054
|
+
className: "relative top-[1px] ml-1 size-2.5 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1055
1055
|
"aria-hidden": "true"
|
|
1056
1056
|
}
|
|
1057
1057
|
)
|
|
@@ -1109,7 +1109,7 @@ function NavigationMenuLink({
|
|
|
1109
1109
|
{
|
|
1110
1110
|
"data-slot": "navigation-menu-link",
|
|
1111
1111
|
className: cn(
|
|
1112
|
-
"data-[active=true]:focus:bg-
|
|
1112
|
+
"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",
|
|
1113
1113
|
className
|
|
1114
1114
|
),
|
|
1115
1115
|
...props
|
|
@@ -986,7 +986,7 @@ function NavigationMenuList({
|
|
|
986
986
|
{
|
|
987
987
|
"data-slot": "navigation-menu-list",
|
|
988
988
|
className: cn(
|
|
989
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
989
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
990
990
|
className
|
|
991
991
|
),
|
|
992
992
|
...props
|
|
@@ -1007,7 +1007,7 @@ function NavigationMenuItem({
|
|
|
1007
1007
|
);
|
|
1008
1008
|
}
|
|
1009
1009
|
var navigationMenuTriggerStyle = cva(
|
|
1010
|
-
"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-
|
|
1010
|
+
"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"
|
|
1011
1011
|
);
|
|
1012
1012
|
function NavigationMenuTrigger({
|
|
1013
1013
|
className,
|
|
@@ -1027,7 +1027,7 @@ function NavigationMenuTrigger({
|
|
|
1027
1027
|
DynamicIcon,
|
|
1028
1028
|
{
|
|
1029
1029
|
name: "lucide/chevron-down",
|
|
1030
|
-
className: "relative top-[1px] ml-1 size-
|
|
1030
|
+
className: "relative top-[1px] ml-1 size-2.5 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1031
1031
|
"aria-hidden": "true"
|
|
1032
1032
|
}
|
|
1033
1033
|
)
|
|
@@ -1085,7 +1085,7 @@ function NavigationMenuLink({
|
|
|
1085
1085
|
{
|
|
1086
1086
|
"data-slot": "navigation-menu-link",
|
|
1087
1087
|
className: cn(
|
|
1088
|
-
"data-[active=true]:focus:bg-
|
|
1088
|
+
"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",
|
|
1089
1089
|
className
|
|
1090
1090
|
),
|
|
1091
1091
|
...props
|
|
@@ -1010,7 +1010,7 @@ function NavigationMenuList({
|
|
|
1010
1010
|
{
|
|
1011
1011
|
"data-slot": "navigation-menu-list",
|
|
1012
1012
|
className: cn(
|
|
1013
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
1013
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
1014
1014
|
className
|
|
1015
1015
|
),
|
|
1016
1016
|
...props
|
|
@@ -1031,7 +1031,7 @@ function NavigationMenuItem({
|
|
|
1031
1031
|
);
|
|
1032
1032
|
}
|
|
1033
1033
|
var navigationMenuTriggerStyle = classVarianceAuthority.cva(
|
|
1034
|
-
"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-
|
|
1034
|
+
"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"
|
|
1035
1035
|
);
|
|
1036
1036
|
function NavigationMenuTrigger({
|
|
1037
1037
|
className,
|
|
@@ -1051,7 +1051,7 @@ function NavigationMenuTrigger({
|
|
|
1051
1051
|
DynamicIcon,
|
|
1052
1052
|
{
|
|
1053
1053
|
name: "lucide/chevron-down",
|
|
1054
|
-
className: "relative top-[1px] ml-1 size-
|
|
1054
|
+
className: "relative top-[1px] ml-1 size-2.5 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1055
1055
|
"aria-hidden": "true"
|
|
1056
1056
|
}
|
|
1057
1057
|
)
|
|
@@ -1109,7 +1109,7 @@ function NavigationMenuLink({
|
|
|
1109
1109
|
{
|
|
1110
1110
|
"data-slot": "navigation-menu-link",
|
|
1111
1111
|
className: cn(
|
|
1112
|
-
"data-[active=true]:focus:bg-
|
|
1112
|
+
"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",
|
|
1113
1113
|
className
|
|
1114
1114
|
),
|
|
1115
1115
|
...props
|
|
@@ -1365,7 +1365,7 @@ var DesktopMenuItem = ({
|
|
|
1365
1365
|
const effectiveLayout = item.layout || "solutions-with-platform";
|
|
1366
1366
|
if (hasDropdown) {
|
|
1367
1367
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
1368
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-
|
|
1368
|
+
/* @__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 }),
|
|
1369
1369
|
/* @__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(
|
|
1370
1370
|
{ ...item, layout: effectiveLayout },
|
|
1371
1371
|
optixFlowConfig
|
|
@@ -1376,7 +1376,7 @@ var DesktopMenuItem = ({
|
|
|
1376
1376
|
NavigationMenuLink,
|
|
1377
1377
|
{
|
|
1378
1378
|
href: item.href,
|
|
1379
|
-
className: "h-auto bg-transparent px-
|
|
1379
|
+
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",
|
|
1380
1380
|
children: item.label
|
|
1381
1381
|
}
|
|
1382
1382
|
) }, `desktop-menu-item-${index}`);
|
|
@@ -986,7 +986,7 @@ function NavigationMenuList({
|
|
|
986
986
|
{
|
|
987
987
|
"data-slot": "navigation-menu-list",
|
|
988
988
|
className: cn(
|
|
989
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
989
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
990
990
|
className
|
|
991
991
|
),
|
|
992
992
|
...props
|
|
@@ -1007,7 +1007,7 @@ function NavigationMenuItem({
|
|
|
1007
1007
|
);
|
|
1008
1008
|
}
|
|
1009
1009
|
var navigationMenuTriggerStyle = cva(
|
|
1010
|
-
"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-
|
|
1010
|
+
"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"
|
|
1011
1011
|
);
|
|
1012
1012
|
function NavigationMenuTrigger({
|
|
1013
1013
|
className,
|
|
@@ -1027,7 +1027,7 @@ function NavigationMenuTrigger({
|
|
|
1027
1027
|
DynamicIcon,
|
|
1028
1028
|
{
|
|
1029
1029
|
name: "lucide/chevron-down",
|
|
1030
|
-
className: "relative top-[1px] ml-1 size-
|
|
1030
|
+
className: "relative top-[1px] ml-1 size-2.5 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1031
1031
|
"aria-hidden": "true"
|
|
1032
1032
|
}
|
|
1033
1033
|
)
|
|
@@ -1085,7 +1085,7 @@ function NavigationMenuLink({
|
|
|
1085
1085
|
{
|
|
1086
1086
|
"data-slot": "navigation-menu-link",
|
|
1087
1087
|
className: cn(
|
|
1088
|
-
"data-[active=true]:focus:bg-
|
|
1088
|
+
"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",
|
|
1089
1089
|
className
|
|
1090
1090
|
),
|
|
1091
1091
|
...props
|
|
@@ -1341,7 +1341,7 @@ var DesktopMenuItem = ({
|
|
|
1341
1341
|
const effectiveLayout = item.layout || "solutions-with-platform";
|
|
1342
1342
|
if (hasDropdown) {
|
|
1343
1343
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
1344
|
-
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-
|
|
1344
|
+
/* @__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 }),
|
|
1345
1345
|
/* @__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(
|
|
1346
1346
|
{ ...item, layout: effectiveLayout },
|
|
1347
1347
|
optixFlowConfig
|
|
@@ -1352,7 +1352,7 @@ var DesktopMenuItem = ({
|
|
|
1352
1352
|
NavigationMenuLink,
|
|
1353
1353
|
{
|
|
1354
1354
|
href: item.href,
|
|
1355
|
-
className: "h-auto bg-transparent px-
|
|
1355
|
+
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",
|
|
1356
1356
|
children: item.label
|
|
1357
1357
|
}
|
|
1358
1358
|
) }, `desktop-menu-item-${index}`);
|