@opensite/ui 0.4.4 → 0.4.5
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 +12 -7
- package/dist/navbar-animated-preview.d.cts +4 -63
- package/dist/navbar-animated-preview.d.ts +4 -63
- package/dist/navbar-animated-preview.js +12 -7
- package/dist/navbar-centered-menu.cjs +55 -46
- package/dist/navbar-centered-menu.d.cts +2 -10
- package/dist/navbar-centered-menu.d.ts +2 -10
- package/dist/navbar-centered-menu.js +55 -46
- package/dist/navbar-dark-icons.cjs +1 -1
- package/dist/navbar-dark-icons.d.cts +1 -10
- package/dist/navbar-dark-icons.d.ts +1 -10
- package/dist/navbar-dark-icons.js +1 -1
- package/dist/navbar-dropdown-menu.cjs +54 -45
- package/dist/navbar-dropdown-menu.d.cts +3 -11
- package/dist/navbar-dropdown-menu.d.ts +3 -11
- package/dist/navbar-dropdown-menu.js +54 -45
- package/dist/navbar-education-platform.cjs +1 -1
- package/dist/navbar-education-platform.d.cts +1 -10
- package/dist/navbar-education-platform.d.ts +1 -10
- package/dist/navbar-education-platform.js +1 -1
- package/dist/navbar-enterprise-mega.cjs +2 -2
- package/dist/navbar-enterprise-mega.d.cts +2 -36
- package/dist/navbar-enterprise-mega.d.ts +2 -36
- package/dist/navbar-enterprise-mega.js +2 -2
- package/dist/navbar-feature-grid.cjs +1 -1
- package/dist/navbar-feature-grid.d.cts +1 -10
- package/dist/navbar-feature-grid.d.ts +1 -10
- package/dist/navbar-feature-grid.js +1 -1
- package/dist/navbar-floating-pill.cjs +1 -1
- package/dist/navbar-floating-pill.d.cts +1 -10
- package/dist/navbar-floating-pill.d.ts +1 -10
- package/dist/navbar-floating-pill.js +1 -1
- package/dist/navbar-fullscreen-menu.d.cts +1 -10
- package/dist/navbar-fullscreen-menu.d.ts +1 -10
- package/dist/navbar-icon-links.d.cts +4 -10
- package/dist/navbar-icon-links.d.ts +4 -10
- package/dist/navbar-image-preview.cjs +11 -6
- package/dist/navbar-image-preview.d.cts +6 -16
- package/dist/navbar-image-preview.d.ts +6 -16
- package/dist/navbar-image-preview.js +11 -6
- package/dist/navbar-mega-menu.cjs +16 -11
- package/dist/navbar-mega-menu.d.cts +3 -73
- package/dist/navbar-mega-menu.d.ts +3 -73
- package/dist/navbar-mega-menu.js +16 -11
- package/dist/navbar-multi-column-groups.cjs +1 -1
- package/dist/navbar-multi-column-groups.d.cts +1 -10
- package/dist/navbar-multi-column-groups.d.ts +1 -10
- package/dist/navbar-multi-column-groups.js +1 -1
- package/dist/navbar-platform-resources.cjs +17 -12
- package/dist/navbar-platform-resources.d.cts +2 -36
- package/dist/navbar-platform-resources.d.ts +2 -36
- package/dist/navbar-platform-resources.js +17 -12
- package/dist/navbar-search-focused.d.cts +1 -10
- package/dist/navbar-search-focused.d.ts +1 -10
- package/dist/navbar-sidebar-mobile.cjs +1 -1
- package/dist/navbar-sidebar-mobile.d.cts +1 -10
- package/dist/navbar-sidebar-mobile.d.ts +1 -10
- package/dist/navbar-sidebar-mobile.js +1 -1
- package/dist/navbar-simple-links.cjs +54 -45
- package/dist/navbar-simple-links.d.cts +1 -10
- package/dist/navbar-simple-links.d.ts +1 -10
- package/dist/navbar-simple-links.js +54 -45
- package/dist/navbar-split-cta.cjs +1 -1
- package/dist/navbar-split-cta.d.cts +1 -10
- package/dist/navbar-split-cta.d.ts +1 -10
- package/dist/navbar-split-cta.js +1 -1
- package/dist/navbar-sticky-compact.cjs +1 -1
- package/dist/navbar-sticky-compact.d.cts +1 -10
- package/dist/navbar-sticky-compact.d.ts +1 -10
- package/dist/navbar-sticky-compact.js +1 -1
- package/dist/navbar-tabbed-sections.cjs +1 -1
- package/dist/navbar-tabbed-sections.d.cts +1 -10
- package/dist/navbar-tabbed-sections.d.ts +1 -10
- package/dist/navbar-tabbed-sections.js +1 -1
- package/dist/navbar-transparent-overlay.d.cts +1 -10
- package/dist/navbar-transparent-overlay.d.ts +1 -10
- package/dist/registry.cjs +200 -168
- package/dist/registry.js +200 -168
- package/dist/types-D2b35ylu.d.cts +98 -0
- package/dist/types-D2b35ylu.d.ts +98 -0
- package/package.json +1 -1
package/dist/registry.cjs
CHANGED
|
@@ -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-2
|
|
48898
|
+
className: "relative top-[1px] ml-1 size-2 transition duration-300 group-data-[state=open]:rotate-180",
|
|
48899
48899
|
"aria-hidden": "true"
|
|
48900
48900
|
}
|
|
48901
48901
|
)
|
|
@@ -49213,55 +49213,64 @@ var NavbarDropdownMenu = ({
|
|
|
49213
49213
|
className: cn(className),
|
|
49214
49214
|
pattern,
|
|
49215
49215
|
patternOpacity,
|
|
49216
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49217
|
-
|
|
49218
|
-
|
|
49219
|
-
|
|
49220
|
-
|
|
49221
|
-
|
|
49222
|
-
|
|
49223
|
-
|
|
49224
|
-
|
|
49225
|
-
|
|
49226
|
-
renderLogo(),
|
|
49227
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: navigationMenuClassName, children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: renderMenu() }) }) })
|
|
49228
|
-
] }),
|
|
49229
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
|
|
49230
|
-
]
|
|
49231
|
-
}
|
|
49232
|
-
),
|
|
49233
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
49234
|
-
renderLogo(),
|
|
49235
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
|
|
49236
|
-
/* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49237
|
-
Pressable,
|
|
49216
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49217
|
+
"div",
|
|
49218
|
+
{
|
|
49219
|
+
className: cn(
|
|
49220
|
+
"container border-b border-border/50 shadow-sm",
|
|
49221
|
+
containerClassName
|
|
49222
|
+
),
|
|
49223
|
+
children: [
|
|
49224
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
49225
|
+
"nav",
|
|
49238
49226
|
{
|
|
49239
|
-
|
|
49240
|
-
|
|
49241
|
-
|
|
49242
|
-
|
|
49243
|
-
|
|
49244
|
-
|
|
49227
|
+
className: cn(
|
|
49228
|
+
"hidden items-center justify-between lg:flex",
|
|
49229
|
+
desktopNavClassName
|
|
49230
|
+
),
|
|
49231
|
+
children: [
|
|
49232
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-6", children: [
|
|
49233
|
+
renderLogo(),
|
|
49234
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: navigationMenuClassName, children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: renderMenu() }) }) })
|
|
49235
|
+
] }),
|
|
49236
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
|
|
49237
|
+
]
|
|
49245
49238
|
}
|
|
49246
|
-
)
|
|
49247
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
49248
|
-
|
|
49249
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
49250
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49251
|
-
|
|
49239
|
+
),
|
|
49240
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
49241
|
+
renderLogo(),
|
|
49242
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
|
|
49243
|
+
/* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49244
|
+
Pressable,
|
|
49252
49245
|
{
|
|
49253
|
-
|
|
49254
|
-
|
|
49255
|
-
|
|
49256
|
-
|
|
49246
|
+
variant: "outline",
|
|
49247
|
+
size: "icon",
|
|
49248
|
+
asButton: true,
|
|
49249
|
+
onClick: () => {
|
|
49250
|
+
},
|
|
49251
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
|
|
49257
49252
|
}
|
|
49258
|
-
),
|
|
49259
|
-
/* @__PURE__ */ jsxRuntime.
|
|
49253
|
+
) }),
|
|
49254
|
+
/* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { className: "overflow-y-auto", children: [
|
|
49255
|
+
/* @__PURE__ */ jsxRuntime.jsx(SheetHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: renderLogo() }) }),
|
|
49256
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
|
|
49257
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49258
|
+
Accordion,
|
|
49259
|
+
{
|
|
49260
|
+
type: "single",
|
|
49261
|
+
collapsible: true,
|
|
49262
|
+
className: "flex w-full flex-col gap-4",
|
|
49263
|
+
children: renderMobileMenu()
|
|
49264
|
+
}
|
|
49265
|
+
),
|
|
49266
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
|
|
49267
|
+
] })
|
|
49268
|
+
] })
|
|
49260
49269
|
] })
|
|
49261
|
-
] })
|
|
49262
|
-
]
|
|
49263
|
-
|
|
49264
|
-
|
|
49270
|
+
] }) })
|
|
49271
|
+
]
|
|
49272
|
+
}
|
|
49273
|
+
)
|
|
49265
49274
|
}
|
|
49266
49275
|
);
|
|
49267
49276
|
};
|
|
@@ -49424,59 +49433,73 @@ var NavbarCenteredMenu = ({
|
|
|
49424
49433
|
className: cn(className),
|
|
49425
49434
|
pattern,
|
|
49426
49435
|
patternOpacity,
|
|
49427
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49428
|
-
|
|
49429
|
-
|
|
49430
|
-
|
|
49431
|
-
|
|
49432
|
-
|
|
49433
|
-
|
|
49434
|
-
|
|
49435
|
-
|
|
49436
|
-
|
|
49437
|
-
className: navigationMenuClassName,
|
|
49438
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { className: "relative", children: renderMenu() })
|
|
49439
|
-
}
|
|
49440
|
-
) }) }),
|
|
49441
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
|
|
49442
|
-
]
|
|
49443
|
-
}
|
|
49444
|
-
),
|
|
49445
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
49446
|
-
renderLogo(),
|
|
49447
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
|
|
49448
|
-
/* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49449
|
-
Pressable,
|
|
49436
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49437
|
+
"div",
|
|
49438
|
+
{
|
|
49439
|
+
className: cn(
|
|
49440
|
+
"container border-b border-border/50 shadow-sm",
|
|
49441
|
+
containerClassName
|
|
49442
|
+
),
|
|
49443
|
+
children: [
|
|
49444
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
49445
|
+
"nav",
|
|
49450
49446
|
{
|
|
49451
|
-
|
|
49452
|
-
|
|
49453
|
-
|
|
49454
|
-
|
|
49455
|
-
|
|
49456
|
-
|
|
49447
|
+
className: cn("hidden justify-between lg:flex", desktopNavClassName),
|
|
49448
|
+
children: [
|
|
49449
|
+
renderLogo(),
|
|
49450
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49451
|
+
NavigationMenuWithoutViewport,
|
|
49452
|
+
{
|
|
49453
|
+
className: navigationMenuClassName,
|
|
49454
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { className: "relative", children: renderMenu() })
|
|
49455
|
+
}
|
|
49456
|
+
) }) }),
|
|
49457
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
|
|
49458
|
+
]
|
|
49457
49459
|
}
|
|
49458
|
-
)
|
|
49459
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
49460
|
-
|
|
49461
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
49462
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49463
|
-
|
|
49460
|
+
),
|
|
49461
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
49462
|
+
renderLogo(),
|
|
49463
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
|
|
49464
|
+
/* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49465
|
+
Pressable,
|
|
49464
49466
|
{
|
|
49465
|
-
|
|
49466
|
-
|
|
49467
|
-
|
|
49468
|
-
|
|
49467
|
+
variant: "outline",
|
|
49468
|
+
size: "icon",
|
|
49469
|
+
asButton: true,
|
|
49470
|
+
onClick: () => {
|
|
49471
|
+
},
|
|
49472
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
|
|
49469
49473
|
}
|
|
49470
|
-
),
|
|
49471
|
-
/* @__PURE__ */ jsxRuntime.
|
|
49474
|
+
) }),
|
|
49475
|
+
/* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { className: "overflow-y-auto", children: [
|
|
49476
|
+
/* @__PURE__ */ jsxRuntime.jsx(SheetHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: renderLogo() }) }),
|
|
49477
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
|
|
49478
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49479
|
+
Accordion,
|
|
49480
|
+
{
|
|
49481
|
+
type: "single",
|
|
49482
|
+
collapsible: true,
|
|
49483
|
+
className: "flex w-full flex-col gap-4",
|
|
49484
|
+
children: renderMobileMenu()
|
|
49485
|
+
}
|
|
49486
|
+
),
|
|
49487
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
|
|
49488
|
+
] })
|
|
49489
|
+
] })
|
|
49472
49490
|
] })
|
|
49473
|
-
] })
|
|
49474
|
-
]
|
|
49475
|
-
|
|
49476
|
-
|
|
49491
|
+
] }) })
|
|
49492
|
+
]
|
|
49493
|
+
}
|
|
49494
|
+
)
|
|
49477
49495
|
}
|
|
49478
49496
|
);
|
|
49479
49497
|
};
|
|
49498
|
+
|
|
49499
|
+
// components/blocks/navbars/types.ts
|
|
49500
|
+
function getLinkUrl(item) {
|
|
49501
|
+
return item.href || item.url || "#";
|
|
49502
|
+
}
|
|
49480
49503
|
var DesktopMenuItem = ({
|
|
49481
49504
|
link,
|
|
49482
49505
|
index,
|
|
@@ -49529,14 +49552,14 @@ var DesktopMenuItem = ({
|
|
|
49529
49552
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { children: link.links.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49530
49553
|
NavigationMenuLink,
|
|
49531
49554
|
{
|
|
49532
|
-
href: item
|
|
49555
|
+
href: getLinkUrl(item),
|
|
49533
49556
|
className: "flex items-center gap-4 rounded-lg px-4 py-3 hover:bg-muted",
|
|
49534
49557
|
"data-index": idx,
|
|
49535
49558
|
onMouseEnter: handleMouseEnter,
|
|
49536
49559
|
onMouseLeave: handleMouseLeave,
|
|
49537
49560
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
49538
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "leading-normal font-medium", children: item.label }),
|
|
49539
|
-
item.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "leading-normal text-muted-foreground", children: item.description })
|
|
49561
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm leading-normal font-medium", children: item.label }),
|
|
49562
|
+
item.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs leading-normal text-muted-foreground", children: item.description })
|
|
49540
49563
|
] })
|
|
49541
49564
|
}
|
|
49542
49565
|
) }, `desktop-nav-sublink-${idx}`)) })
|
|
@@ -49547,13 +49570,13 @@ var DesktopMenuItem = ({
|
|
|
49547
49570
|
if (layout === "simple-grid" && link.links) {
|
|
49548
49571
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
|
|
49549
49572
|
/* @__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
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[
|
|
49573
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[700px] 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
49574
|
NavigationMenuLink,
|
|
49552
49575
|
{
|
|
49553
|
-
href: item
|
|
49576
|
+
href: getLinkUrl(item),
|
|
49554
49577
|
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-muted hover:text-foreground",
|
|
49555
49578
|
children: [
|
|
49556
|
-
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-
|
|
49579
|
+
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-20 w-20 shrink-0 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49557
49580
|
img.Img,
|
|
49558
49581
|
{
|
|
49559
49582
|
src: item.image,
|
|
@@ -49562,7 +49585,7 @@ var DesktopMenuItem = ({
|
|
|
49562
49585
|
optixFlowConfig
|
|
49563
49586
|
}
|
|
49564
49587
|
) }),
|
|
49565
|
-
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-
|
|
49588
|
+
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-10 w-10 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
49589
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
49567
49590
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
49568
49591
|
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
@@ -49579,7 +49602,7 @@ var DesktopMenuItem = ({
|
|
|
49579
49602
|
/* @__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
49603
|
NavigationMenuLink,
|
|
49581
49604
|
{
|
|
49582
|
-
href: item
|
|
49605
|
+
href: getLinkUrl(item),
|
|
49583
49606
|
className: "flex items-start gap-3 rounded-lg p-3 hover:bg-muted",
|
|
49584
49607
|
children: [
|
|
49585
49608
|
(item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-8 w-8 items-center justify-center rounded-md bg-muted/40 text-muted-foreground", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 16 }) : null }),
|
|
@@ -49623,7 +49646,7 @@ var MobileSubmenu = ({
|
|
|
49623
49646
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49624
49647
|
Pressable,
|
|
49625
49648
|
{
|
|
49626
|
-
href: item
|
|
49649
|
+
href: getLinkUrl(item),
|
|
49627
49650
|
className: "flex items-start gap-4 border-b border-border px-8 py-5",
|
|
49628
49651
|
children: [
|
|
49629
49652
|
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -49738,7 +49761,7 @@ var NavbarMegaMenu = ({
|
|
|
49738
49761
|
navClassName
|
|
49739
49762
|
),
|
|
49740
49763
|
children: [
|
|
49741
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center justify-between gap-12 py-4", children: [
|
|
49764
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center justify-between gap-12 border-b border-border/50 py-4 shadow-sm", children: [
|
|
49742
49765
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
49743
49766
|
(!open || submenuIndex === null) && renderLogo(),
|
|
49744
49767
|
open && submenuIndex !== null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -49978,7 +50001,7 @@ var NavbarEnterpriseMega = ({
|
|
|
49978
50001
|
background,
|
|
49979
50002
|
spacing,
|
|
49980
50003
|
className: cn(
|
|
49981
|
-
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center border-b",
|
|
50004
|
+
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center border-b border-border/50 shadow-sm",
|
|
49982
50005
|
className
|
|
49983
50006
|
),
|
|
49984
50007
|
pattern,
|
|
@@ -51185,7 +51208,7 @@ var NavbarPlatformResources = ({
|
|
|
51185
51208
|
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[640px] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51186
51209
|
NavigationMenuLink,
|
|
51187
51210
|
{
|
|
51188
|
-
href: item
|
|
51211
|
+
href: getLinkUrl(item),
|
|
51189
51212
|
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
|
|
51190
51213
|
children: [
|
|
51191
51214
|
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -51214,7 +51237,7 @@ var NavbarPlatformResources = ({
|
|
|
51214
51237
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
51215
51238
|
NavigationMenuLink,
|
|
51216
51239
|
{
|
|
51217
|
-
href: featuredItem
|
|
51240
|
+
href: getLinkUrl(featuredItem),
|
|
51218
51241
|
className: "group w-1/3 p-0 hover:bg-transparent",
|
|
51219
51242
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "overflow-clip rounded-lg border border-input bg-background", children: [
|
|
51220
51243
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -51238,7 +51261,7 @@ var NavbarPlatformResources = ({
|
|
|
51238
51261
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2 lg:gap-8", children: gridItems.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51239
51262
|
NavigationMenuLink,
|
|
51240
51263
|
{
|
|
51241
|
-
href: item
|
|
51264
|
+
href: getLinkUrl(item),
|
|
51242
51265
|
className: "group block p-4",
|
|
51243
51266
|
children: [
|
|
51244
51267
|
(item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-5 group-hover:opacity-60", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 20 }) : null }),
|
|
@@ -51259,7 +51282,7 @@ var NavbarPlatformResources = ({
|
|
|
51259
51282
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-4", children: link.dropdownGroups[0].links.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51260
51283
|
NavigationMenuLink,
|
|
51261
51284
|
{
|
|
51262
|
-
href: item
|
|
51285
|
+
href: getLinkUrl(item),
|
|
51263
51286
|
className: "group flex flex-row items-center gap-5",
|
|
51264
51287
|
children: [
|
|
51265
51288
|
(item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "group-hover:opacity-60", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 16 }) : null }),
|
|
@@ -51272,7 +51295,7 @@ var NavbarPlatformResources = ({
|
|
|
51272
51295
|
ctaItem && /* @__PURE__ */ jsxRuntime.jsx(
|
|
51273
51296
|
NavigationMenuLink,
|
|
51274
51297
|
{
|
|
51275
|
-
href: ctaItem
|
|
51298
|
+
href: getLinkUrl(ctaItem),
|
|
51276
51299
|
className: "group flex-1 p-0 hover:bg-transparent",
|
|
51277
51300
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full rounded-lg border border-input bg-background p-0 hover:bg-transparent", children: [
|
|
51278
51301
|
ctaItem.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-2/5 max-w-[310px] shrink-0 overflow-clip rounded-tl-lg rounded-bl-lg", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -51306,7 +51329,7 @@ var NavbarPlatformResources = ({
|
|
|
51306
51329
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "-ml-2.5 space-y-2.5", children: listItems.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51307
51330
|
NavigationMenuLink,
|
|
51308
51331
|
{
|
|
51309
|
-
href: item
|
|
51332
|
+
href: getLinkUrl(item),
|
|
51310
51333
|
className: "group flex flex-row items-center gap-2.5 rounded-md p-2.5 focus:text-accent-foreground",
|
|
51311
51334
|
children: [
|
|
51312
51335
|
(item.icon || item.iconName) && (item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 16 }) : null),
|
|
@@ -51319,7 +51342,7 @@ var NavbarPlatformResources = ({
|
|
|
51319
51342
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-[716px] flex-1 space-y-6", children: showcaseItems.map((showcase, showcaseIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51320
51343
|
NavigationMenuLink,
|
|
51321
51344
|
{
|
|
51322
|
-
href: showcase
|
|
51345
|
+
href: getLinkUrl(showcase),
|
|
51323
51346
|
className: "flex flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
51324
51347
|
children: [
|
|
51325
51348
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
|
|
@@ -51353,7 +51376,7 @@ var NavbarPlatformResources = ({
|
|
|
51353
51376
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid flex-1 grid-cols-1 gap-6 md:grid-cols-2", children: group.links.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
51354
51377
|
NavigationMenuLink,
|
|
51355
51378
|
{
|
|
51356
|
-
href: item
|
|
51379
|
+
href: getLinkUrl(item),
|
|
51357
51380
|
className: "flex h-full flex-col overflow-clip rounded-lg border border-input bg-background p-5 hover:bg-accent hover:text-accent-foreground xl:p-8",
|
|
51358
51381
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto", children: [
|
|
51359
51382
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-base", children: item.label }),
|
|
@@ -51370,7 +51393,7 @@ var NavbarPlatformResources = ({
|
|
|
51370
51393
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
51371
51394
|
NavigationMenuLink,
|
|
51372
51395
|
{
|
|
51373
|
-
href: ctaItem
|
|
51396
|
+
href: getLinkUrl(ctaItem),
|
|
51374
51397
|
className: "mb-6 flex flex-row overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
51375
51398
|
children: [
|
|
51376
51399
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
|
|
@@ -51399,7 +51422,7 @@ var NavbarPlatformResources = ({
|
|
|
51399
51422
|
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[640px] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51400
51423
|
NavigationMenuLink,
|
|
51401
51424
|
{
|
|
51402
|
-
href: item
|
|
51425
|
+
href: getLinkUrl(item),
|
|
51403
51426
|
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
|
|
51404
51427
|
children: [
|
|
51405
51428
|
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -51539,7 +51562,7 @@ var NavbarPlatformResources = ({
|
|
|
51539
51562
|
/* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "px-2 pb-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51540
51563
|
Pressable,
|
|
51541
51564
|
{
|
|
51542
|
-
href: item
|
|
51565
|
+
href: getLinkUrl(item),
|
|
51543
51566
|
className: "group flex items-start gap-4 rounded-lg p-2 hover:bg-muted",
|
|
51544
51567
|
children: [
|
|
51545
51568
|
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -51755,7 +51778,7 @@ var NavbarImagePreview = ({
|
|
|
51755
51778
|
containerClassName
|
|
51756
51779
|
),
|
|
51757
51780
|
ref: navRef,
|
|
51758
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container border-b", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51781
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container border-b border-border/50 shadow-sm", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51759
51782
|
"div",
|
|
51760
51783
|
{
|
|
51761
51784
|
className: cn(
|
|
@@ -51857,14 +51880,14 @@ var DesktopMenuItem3 = ({
|
|
|
51857
51880
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
51858
51881
|
Pressable,
|
|
51859
51882
|
{
|
|
51860
|
-
href: link
|
|
51883
|
+
href: getLinkUrl(link),
|
|
51861
51884
|
className: "flex items-center gap-4 rounded-lg px-4 py-3 hover:bg-muted",
|
|
51862
51885
|
"data-index": linkIndex,
|
|
51863
51886
|
onMouseEnter: handleMouseEnter,
|
|
51864
51887
|
onMouseLeave: handleMouseLeave,
|
|
51865
51888
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
51866
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "leading-normal font-medium", children: link.label }),
|
|
51867
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "leading-normal text-muted-foreground", children: link.description })
|
|
51889
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm leading-normal font-medium", children: link.label }),
|
|
51890
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs leading-normal text-muted-foreground", children: link.description })
|
|
51868
51891
|
] })
|
|
51869
51892
|
}
|
|
51870
51893
|
) }, `desktop-nav-sublink-${linkIndex}`)) })
|
|
@@ -51907,7 +51930,7 @@ var MobileNavigationMenu2 = ({
|
|
|
51907
51930
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-3", children: item.links?.map((link, i) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
51908
51931
|
Pressable,
|
|
51909
51932
|
{
|
|
51910
|
-
href: link
|
|
51933
|
+
href: getLinkUrl(link),
|
|
51911
51934
|
className: cn(
|
|
51912
51935
|
"text-primary-foreground leading-normal font-medium",
|
|
51913
51936
|
index === 0 ? "text-2xl" : "text-base"
|
|
@@ -52475,7 +52498,7 @@ var NavbarAnimatedPreview = ({
|
|
|
52475
52498
|
NavigationMenu,
|
|
52476
52499
|
{
|
|
52477
52500
|
className: cn(
|
|
52478
|
-
"h-20 max-w-full after:absolute after:inset-0 after:z-998 after:block after:size-full after:bg-background after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
|
|
52501
|
+
"h-20 max-w-full border-b border-border/50 shadow-sm after:absolute after:inset-0 after:z-998 after:block after:size-full after:bg-background after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
|
|
52479
52502
|
navigationMenuClassName
|
|
52480
52503
|
),
|
|
52481
52504
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -52723,7 +52746,7 @@ var FeaturedImageLink = ({
|
|
|
52723
52746
|
optixFlowConfig
|
|
52724
52747
|
}) => {
|
|
52725
52748
|
if (!link) return null;
|
|
52726
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden xl:block", children: /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: link.url, className: "w-full max-w-147.5", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
52749
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden xl:block", children: /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: link.url || "#", className: "w-full max-w-147.5", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
52727
52750
|
AspectRatio,
|
|
52728
52751
|
{
|
|
52729
52752
|
ratio: 1.77245509,
|
|
@@ -52757,7 +52780,7 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
|
|
|
52757
52780
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
52758
52781
|
Pressable,
|
|
52759
52782
|
{
|
|
52760
|
-
href: link
|
|
52783
|
+
href: getLinkUrl(link),
|
|
52761
52784
|
className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-8 py-7",
|
|
52762
52785
|
children: [
|
|
52763
52786
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full items-center gap-6", children: [
|
|
@@ -52793,7 +52816,7 @@ var NavLink = React13.forwardRef(
|
|
|
52793
52816
|
Pressable,
|
|
52794
52817
|
{
|
|
52795
52818
|
ref,
|
|
52796
|
-
href: link
|
|
52819
|
+
href: getLinkUrl(link),
|
|
52797
52820
|
className: "flex w-full gap-2 transition-opacity duration-300",
|
|
52798
52821
|
onMouseEnter,
|
|
52799
52822
|
onMouseLeave,
|
|
@@ -52807,8 +52830,8 @@ var NavLink = React13.forwardRef(
|
|
|
52807
52830
|
}
|
|
52808
52831
|
) }),
|
|
52809
52832
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-start gap-2", children: [
|
|
52810
|
-
link.label && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-
|
|
52811
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-
|
|
52833
|
+
link.label && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm leading-normal", children: link.label }),
|
|
52834
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs leading-normal text-muted-foreground", children: link.description })
|
|
52812
52835
|
] })
|
|
52813
52836
|
]
|
|
52814
52837
|
}
|
|
@@ -54769,56 +54792,65 @@ var NavbarSimpleLinks = ({
|
|
|
54769
54792
|
className: cn(className),
|
|
54770
54793
|
pattern,
|
|
54771
54794
|
patternOpacity,
|
|
54772
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
54773
|
-
|
|
54774
|
-
|
|
54775
|
-
|
|
54776
|
-
|
|
54777
|
-
|
|
54778
|
-
|
|
54779
|
-
|
|
54795
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
54796
|
+
"div",
|
|
54797
|
+
{
|
|
54798
|
+
className: cn(
|
|
54799
|
+
"container border-b border-border/50 shadow-sm",
|
|
54800
|
+
containerClassName
|
|
54801
|
+
),
|
|
54802
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("nav", { className: cn("flex items-center justify-between", navClassName), children: [
|
|
54803
|
+
renderLogo(),
|
|
54804
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
54805
|
+
NavigationMenu,
|
|
54806
|
+
{
|
|
54807
|
+
className: cn("hidden lg:block", navigationMenuClassName),
|
|
54808
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
54809
|
+
NavigationMenuList,
|
|
54810
|
+
{
|
|
54811
|
+
ref: menuRef,
|
|
54812
|
+
className: cn(
|
|
54813
|
+
"flex items-center gap-6 rounded-4xl px-8 py-3",
|
|
54814
|
+
menuListClassName
|
|
54815
|
+
),
|
|
54816
|
+
children: [
|
|
54817
|
+
renderNavItems(),
|
|
54818
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
54819
|
+
"div",
|
|
54820
|
+
{
|
|
54821
|
+
ref: indicatorRef,
|
|
54822
|
+
className: "absolute bottom-2 flex h-1 items-center justify-center px-2 transition-all duration-300",
|
|
54823
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-0.5 w-full rounded-t-none bg-foreground transition-all duration-300" })
|
|
54824
|
+
}
|
|
54825
|
+
)
|
|
54826
|
+
]
|
|
54827
|
+
}
|
|
54828
|
+
)
|
|
54829
|
+
}
|
|
54830
|
+
),
|
|
54831
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
54832
|
+
MobileNav,
|
|
54833
|
+
{
|
|
54834
|
+
navItems: navItems ?? [],
|
|
54835
|
+
activeItem,
|
|
54836
|
+
setActiveItem,
|
|
54837
|
+
actions,
|
|
54838
|
+
actionsSlot
|
|
54839
|
+
}
|
|
54840
|
+
),
|
|
54841
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
54842
|
+
"div",
|
|
54780
54843
|
{
|
|
54781
|
-
ref: menuRef,
|
|
54782
54844
|
className: cn(
|
|
54783
|
-
"
|
|
54784
|
-
|
|
54845
|
+
"hidden items-center gap-2 lg:flex",
|
|
54846
|
+
actionsClassName
|
|
54785
54847
|
),
|
|
54786
|
-
children:
|
|
54787
|
-
renderNavItems(),
|
|
54788
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
54789
|
-
"div",
|
|
54790
|
-
{
|
|
54791
|
-
ref: indicatorRef,
|
|
54792
|
-
className: "absolute bottom-2 flex h-1 items-center justify-center px-2 transition-all duration-300",
|
|
54793
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-0.5 w-full rounded-t-none bg-foreground transition-all duration-300" })
|
|
54794
|
-
}
|
|
54795
|
-
)
|
|
54796
|
-
]
|
|
54848
|
+
children: renderActions()
|
|
54797
54849
|
}
|
|
54798
54850
|
)
|
|
54799
|
-
}
|
|
54800
|
-
|
|
54801
|
-
|
|
54802
|
-
MobileNav,
|
|
54803
|
-
{
|
|
54804
|
-
navItems: navItems ?? [],
|
|
54805
|
-
activeItem,
|
|
54806
|
-
setActiveItem,
|
|
54807
|
-
actions,
|
|
54808
|
-
actionsSlot
|
|
54809
|
-
}
|
|
54810
|
-
),
|
|
54811
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
54812
|
-
"div",
|
|
54813
|
-
{
|
|
54814
|
-
className: cn(
|
|
54815
|
-
"hidden items-center gap-2 lg:flex",
|
|
54816
|
-
actionsClassName
|
|
54817
|
-
),
|
|
54818
|
-
children: renderActions()
|
|
54819
|
-
}
|
|
54820
|
-
)
|
|
54821
|
-
] }) })
|
|
54851
|
+
] })
|
|
54852
|
+
}
|
|
54853
|
+
)
|
|
54822
54854
|
}
|
|
54823
54855
|
);
|
|
54824
54856
|
};
|