@opensite/ui 0.4.3 → 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 +17 -12
- package/dist/navbar-animated-preview.d.cts +4 -63
- package/dist/navbar-animated-preview.d.ts +4 -63
- package/dist/navbar-animated-preview.js +17 -12
- package/dist/navbar-centered-menu.cjs +60 -51
- package/dist/navbar-centered-menu.d.cts +2 -10
- package/dist/navbar-centered-menu.d.ts +2 -10
- package/dist/navbar-centered-menu.js +60 -51
- package/dist/navbar-dark-icons.cjs +4 -4
- package/dist/navbar-dark-icons.d.cts +1 -10
- package/dist/navbar-dark-icons.d.ts +1 -10
- package/dist/navbar-dark-icons.js +4 -4
- package/dist/navbar-dropdown-menu.cjs +59 -50
- package/dist/navbar-dropdown-menu.d.cts +3 -11
- package/dist/navbar-dropdown-menu.d.ts +3 -11
- package/dist/navbar-dropdown-menu.js +59 -50
- package/dist/navbar-education-platform.cjs +4 -4
- package/dist/navbar-education-platform.d.cts +1 -10
- package/dist/navbar-education-platform.d.ts +1 -10
- package/dist/navbar-education-platform.js +4 -4
- package/dist/navbar-enterprise-mega.cjs +7 -7
- package/dist/navbar-enterprise-mega.d.cts +2 -36
- package/dist/navbar-enterprise-mega.d.ts +2 -36
- package/dist/navbar-enterprise-mega.js +7 -7
- package/dist/navbar-feature-grid.cjs +4 -4
- package/dist/navbar-feature-grid.d.cts +1 -10
- package/dist/navbar-feature-grid.d.ts +1 -10
- package/dist/navbar-feature-grid.js +4 -4
- package/dist/navbar-floating-pill.cjs +4 -4
- package/dist/navbar-floating-pill.d.cts +1 -10
- package/dist/navbar-floating-pill.d.ts +1 -10
- package/dist/navbar-floating-pill.js +4 -4
- package/dist/navbar-fullscreen-menu.d.cts +1 -10
- package/dist/navbar-fullscreen-menu.d.ts +1 -10
- package/dist/navbar-icon-links.cjs +3 -3
- package/dist/navbar-icon-links.d.cts +4 -10
- package/dist/navbar-icon-links.d.ts +4 -10
- package/dist/navbar-icon-links.js +3 -3
- package/dist/navbar-image-preview.cjs +16 -11
- package/dist/navbar-image-preview.d.cts +6 -16
- package/dist/navbar-image-preview.d.ts +6 -16
- package/dist/navbar-image-preview.js +16 -11
- package/dist/navbar-mega-menu.cjs +26 -28
- package/dist/navbar-mega-menu.d.cts +3 -73
- package/dist/navbar-mega-menu.d.ts +3 -73
- package/dist/navbar-mega-menu.js +26 -28
- package/dist/navbar-multi-column-groups.cjs +4 -4
- 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 +4 -4
- package/dist/navbar-platform-resources.cjs +20 -15
- package/dist/navbar-platform-resources.d.cts +2 -36
- package/dist/navbar-platform-resources.d.ts +2 -36
- package/dist/navbar-platform-resources.js +20 -15
- package/dist/navbar-search-focused.cjs +3 -3
- package/dist/navbar-search-focused.d.cts +1 -10
- package/dist/navbar-search-focused.d.ts +1 -10
- package/dist/navbar-search-focused.js +3 -3
- package/dist/navbar-sidebar-mobile.cjs +4 -4
- package/dist/navbar-sidebar-mobile.d.cts +1 -10
- package/dist/navbar-sidebar-mobile.d.ts +1 -10
- package/dist/navbar-sidebar-mobile.js +4 -4
- package/dist/navbar-simple-links.cjs +58 -49
- package/dist/navbar-simple-links.d.cts +1 -10
- package/dist/navbar-simple-links.d.ts +1 -10
- package/dist/navbar-simple-links.js +58 -49
- package/dist/navbar-split-cta.cjs +4 -4
- package/dist/navbar-split-cta.d.cts +1 -10
- package/dist/navbar-split-cta.d.ts +1 -10
- package/dist/navbar-split-cta.js +4 -4
- package/dist/navbar-sticky-compact.cjs +4 -4
- package/dist/navbar-sticky-compact.d.cts +1 -10
- package/dist/navbar-sticky-compact.d.ts +1 -10
- package/dist/navbar-sticky-compact.js +4 -4
- package/dist/navbar-tabbed-sections.cjs +4 -4
- package/dist/navbar-tabbed-sections.d.cts +1 -10
- package/dist/navbar-tabbed-sections.d.ts +1 -10
- package/dist/navbar-tabbed-sections.js +4 -4
- package/dist/navbar-transparent-overlay.cjs +3 -3
- package/dist/navbar-transparent-overlay.d.cts +1 -10
- package/dist/navbar-transparent-overlay.d.ts +1 -10
- package/dist/navbar-transparent-overlay.js +3 -3
- package/dist/registry.cjs +222 -192
- package/dist/registry.js +222 -192
- package/dist/types-D2b35ylu.d.cts +98 -0
- package/dist/types-D2b35ylu.d.ts +98 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.js';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.js';
|
|
5
|
+
import { L as LogoConfig } from './types-D2b35ylu.js';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
6
7
|
import 'class-variance-authority';
|
|
7
8
|
import './button-variants-lRElsmTc.js';
|
|
@@ -18,16 +19,6 @@ interface MenuItem {
|
|
|
18
19
|
url?: string;
|
|
19
20
|
items?: SubMenuItem[];
|
|
20
21
|
}
|
|
21
|
-
/**
|
|
22
|
-
* Logo configuration interface
|
|
23
|
-
*/
|
|
24
|
-
interface LogoConfig {
|
|
25
|
-
url?: string;
|
|
26
|
-
src?: string;
|
|
27
|
-
alt?: string;
|
|
28
|
-
title?: React.ReactNode;
|
|
29
|
-
className?: string;
|
|
30
|
-
}
|
|
31
22
|
/**
|
|
32
23
|
* Props for the NavbarSidebarMobile component
|
|
33
24
|
*/
|
|
@@ -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 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
|
|
@@ -954,7 +954,7 @@ function NavigationMenuList({
|
|
|
954
954
|
{
|
|
955
955
|
"data-slot": "navigation-menu-list",
|
|
956
956
|
className: cn(
|
|
957
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
957
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
958
958
|
className
|
|
959
959
|
),
|
|
960
960
|
...props
|
|
@@ -975,7 +975,7 @@ function NavigationMenuItem({
|
|
|
975
975
|
);
|
|
976
976
|
}
|
|
977
977
|
classVarianceAuthority.cva(
|
|
978
|
-
"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-
|
|
978
|
+
"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"
|
|
979
979
|
);
|
|
980
980
|
function NavigationMenuViewport({
|
|
981
981
|
className,
|
|
@@ -1010,7 +1010,7 @@ function NavigationMenuLink({
|
|
|
1010
1010
|
{
|
|
1011
1011
|
"data-slot": "navigation-menu-link",
|
|
1012
1012
|
className: cn(
|
|
1013
|
-
"data-[active=true]:focus:bg-
|
|
1013
|
+
"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",
|
|
1014
1014
|
className
|
|
1015
1015
|
),
|
|
1016
1016
|
...props
|
|
@@ -1207,7 +1207,7 @@ var NavbarSimpleLinks = ({
|
|
|
1207
1207
|
{
|
|
1208
1208
|
"data-nav-item": item.name,
|
|
1209
1209
|
onClick: () => setActiveItem(item.name),
|
|
1210
|
-
className: `relative cursor-pointer text-sm font-medium hover:bg-
|
|
1210
|
+
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"}`,
|
|
1211
1211
|
children: item.name
|
|
1212
1212
|
}
|
|
1213
1213
|
) }) }, item.name));
|
|
@@ -1248,56 +1248,65 @@ var NavbarSimpleLinks = ({
|
|
|
1248
1248
|
className: cn(className),
|
|
1249
1249
|
pattern,
|
|
1250
1250
|
patternOpacity,
|
|
1251
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1251
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1252
|
+
"div",
|
|
1253
|
+
{
|
|
1254
|
+
className: cn(
|
|
1255
|
+
"container border-b border-border/50 shadow-sm",
|
|
1256
|
+
containerClassName
|
|
1257
|
+
),
|
|
1258
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("nav", { className: cn("flex items-center justify-between", navClassName), children: [
|
|
1259
|
+
renderLogo(),
|
|
1260
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1261
|
+
NavigationMenu,
|
|
1262
|
+
{
|
|
1263
|
+
className: cn("hidden lg:block", navigationMenuClassName),
|
|
1264
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1265
|
+
NavigationMenuList,
|
|
1266
|
+
{
|
|
1267
|
+
ref: menuRef,
|
|
1268
|
+
className: cn(
|
|
1269
|
+
"flex items-center gap-6 rounded-4xl px-8 py-3",
|
|
1270
|
+
menuListClassName
|
|
1271
|
+
),
|
|
1272
|
+
children: [
|
|
1273
|
+
renderNavItems(),
|
|
1274
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1275
|
+
"div",
|
|
1276
|
+
{
|
|
1277
|
+
ref: indicatorRef,
|
|
1278
|
+
className: "absolute bottom-2 flex h-1 items-center justify-center px-2 transition-all duration-300",
|
|
1279
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-0.5 w-full rounded-t-none bg-foreground transition-all duration-300" })
|
|
1280
|
+
}
|
|
1281
|
+
)
|
|
1282
|
+
]
|
|
1283
|
+
}
|
|
1284
|
+
)
|
|
1285
|
+
}
|
|
1286
|
+
),
|
|
1287
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1288
|
+
MobileNav,
|
|
1289
|
+
{
|
|
1290
|
+
navItems: navItems ?? [],
|
|
1291
|
+
activeItem,
|
|
1292
|
+
setActiveItem,
|
|
1293
|
+
actions,
|
|
1294
|
+
actionsSlot
|
|
1295
|
+
}
|
|
1296
|
+
),
|
|
1297
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1298
|
+
"div",
|
|
1259
1299
|
{
|
|
1260
|
-
ref: menuRef,
|
|
1261
1300
|
className: cn(
|
|
1262
|
-
"
|
|
1263
|
-
|
|
1301
|
+
"hidden items-center gap-2 lg:flex",
|
|
1302
|
+
actionsClassName
|
|
1264
1303
|
),
|
|
1265
|
-
children:
|
|
1266
|
-
renderNavItems(),
|
|
1267
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1268
|
-
"div",
|
|
1269
|
-
{
|
|
1270
|
-
ref: indicatorRef,
|
|
1271
|
-
className: "absolute bottom-2 flex h-1 items-center justify-center px-2 transition-all duration-300",
|
|
1272
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-0.5 w-full rounded-t-none bg-foreground transition-all duration-300" })
|
|
1273
|
-
}
|
|
1274
|
-
)
|
|
1275
|
-
]
|
|
1304
|
+
children: renderActions()
|
|
1276
1305
|
}
|
|
1277
1306
|
)
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
MobileNav,
|
|
1282
|
-
{
|
|
1283
|
-
navItems: navItems ?? [],
|
|
1284
|
-
activeItem,
|
|
1285
|
-
setActiveItem,
|
|
1286
|
-
actions,
|
|
1287
|
-
actionsSlot
|
|
1288
|
-
}
|
|
1289
|
-
),
|
|
1290
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1291
|
-
"div",
|
|
1292
|
-
{
|
|
1293
|
-
className: cn(
|
|
1294
|
-
"hidden items-center gap-2 lg:flex",
|
|
1295
|
-
actionsClassName
|
|
1296
|
-
),
|
|
1297
|
-
children: renderActions()
|
|
1298
|
-
}
|
|
1299
|
-
)
|
|
1300
|
-
] }) })
|
|
1307
|
+
] })
|
|
1308
|
+
}
|
|
1309
|
+
)
|
|
1301
1310
|
}
|
|
1302
1311
|
);
|
|
1303
1312
|
};
|
|
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.cjs';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.cjs';
|
|
5
|
+
import { L as LogoConfig } from './types-D2b35ylu.cjs';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
|
|
6
7
|
import 'class-variance-authority';
|
|
7
8
|
import './button-variants-lRElsmTc.cjs';
|
|
@@ -14,16 +15,6 @@ interface NavItem {
|
|
|
14
15
|
name: string;
|
|
15
16
|
link: string;
|
|
16
17
|
}
|
|
17
|
-
/**
|
|
18
|
-
* Logo configuration interface
|
|
19
|
-
*/
|
|
20
|
-
interface LogoConfig {
|
|
21
|
-
url?: string;
|
|
22
|
-
src?: string;
|
|
23
|
-
alt?: string;
|
|
24
|
-
title?: React.ReactNode;
|
|
25
|
-
className?: string;
|
|
26
|
-
}
|
|
27
18
|
/**
|
|
28
19
|
* Props for the NavbarSimpleLinks component
|
|
29
20
|
*/
|
|
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.js';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.js';
|
|
5
|
+
import { L as LogoConfig } from './types-D2b35ylu.js';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
6
7
|
import 'class-variance-authority';
|
|
7
8
|
import './button-variants-lRElsmTc.js';
|
|
@@ -14,16 +15,6 @@ interface NavItem {
|
|
|
14
15
|
name: string;
|
|
15
16
|
link: string;
|
|
16
17
|
}
|
|
17
|
-
/**
|
|
18
|
-
* Logo configuration interface
|
|
19
|
-
*/
|
|
20
|
-
interface LogoConfig {
|
|
21
|
-
url?: string;
|
|
22
|
-
src?: string;
|
|
23
|
-
alt?: string;
|
|
24
|
-
title?: React.ReactNode;
|
|
25
|
-
className?: string;
|
|
26
|
-
}
|
|
27
18
|
/**
|
|
28
19
|
* Props for the NavbarSimpleLinks component
|
|
29
20
|
*/
|
|
@@ -931,7 +931,7 @@ function NavigationMenuList({
|
|
|
931
931
|
{
|
|
932
932
|
"data-slot": "navigation-menu-list",
|
|
933
933
|
className: cn(
|
|
934
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
934
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
935
935
|
className
|
|
936
936
|
),
|
|
937
937
|
...props
|
|
@@ -952,7 +952,7 @@ function NavigationMenuItem({
|
|
|
952
952
|
);
|
|
953
953
|
}
|
|
954
954
|
cva(
|
|
955
|
-
"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-
|
|
955
|
+
"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"
|
|
956
956
|
);
|
|
957
957
|
function NavigationMenuViewport({
|
|
958
958
|
className,
|
|
@@ -987,7 +987,7 @@ function NavigationMenuLink({
|
|
|
987
987
|
{
|
|
988
988
|
"data-slot": "navigation-menu-link",
|
|
989
989
|
className: cn(
|
|
990
|
-
"data-[active=true]:focus:bg-
|
|
990
|
+
"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",
|
|
991
991
|
className
|
|
992
992
|
),
|
|
993
993
|
...props
|
|
@@ -1184,7 +1184,7 @@ var NavbarSimpleLinks = ({
|
|
|
1184
1184
|
{
|
|
1185
1185
|
"data-nav-item": item.name,
|
|
1186
1186
|
onClick: () => setActiveItem(item.name),
|
|
1187
|
-
className: `relative cursor-pointer text-sm font-medium hover:bg-
|
|
1187
|
+
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"}`,
|
|
1188
1188
|
children: item.name
|
|
1189
1189
|
}
|
|
1190
1190
|
) }) }, item.name));
|
|
@@ -1225,56 +1225,65 @@ var NavbarSimpleLinks = ({
|
|
|
1225
1225
|
className: cn(className),
|
|
1226
1226
|
pattern,
|
|
1227
1227
|
patternOpacity,
|
|
1228
|
-
children: /* @__PURE__ */ jsx(
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1228
|
+
children: /* @__PURE__ */ jsx(
|
|
1229
|
+
"div",
|
|
1230
|
+
{
|
|
1231
|
+
className: cn(
|
|
1232
|
+
"container border-b border-border/50 shadow-sm",
|
|
1233
|
+
containerClassName
|
|
1234
|
+
),
|
|
1235
|
+
children: /* @__PURE__ */ jsxs("nav", { className: cn("flex items-center justify-between", navClassName), children: [
|
|
1236
|
+
renderLogo(),
|
|
1237
|
+
/* @__PURE__ */ jsx(
|
|
1238
|
+
NavigationMenu,
|
|
1239
|
+
{
|
|
1240
|
+
className: cn("hidden lg:block", navigationMenuClassName),
|
|
1241
|
+
children: /* @__PURE__ */ jsxs(
|
|
1242
|
+
NavigationMenuList,
|
|
1243
|
+
{
|
|
1244
|
+
ref: menuRef,
|
|
1245
|
+
className: cn(
|
|
1246
|
+
"flex items-center gap-6 rounded-4xl px-8 py-3",
|
|
1247
|
+
menuListClassName
|
|
1248
|
+
),
|
|
1249
|
+
children: [
|
|
1250
|
+
renderNavItems(),
|
|
1251
|
+
/* @__PURE__ */ jsx(
|
|
1252
|
+
"div",
|
|
1253
|
+
{
|
|
1254
|
+
ref: indicatorRef,
|
|
1255
|
+
className: "absolute bottom-2 flex h-1 items-center justify-center px-2 transition-all duration-300",
|
|
1256
|
+
children: /* @__PURE__ */ jsx("div", { className: "h-0.5 w-full rounded-t-none bg-foreground transition-all duration-300" })
|
|
1257
|
+
}
|
|
1258
|
+
)
|
|
1259
|
+
]
|
|
1260
|
+
}
|
|
1261
|
+
)
|
|
1262
|
+
}
|
|
1263
|
+
),
|
|
1264
|
+
/* @__PURE__ */ jsx(
|
|
1265
|
+
MobileNav,
|
|
1266
|
+
{
|
|
1267
|
+
navItems: navItems ?? [],
|
|
1268
|
+
activeItem,
|
|
1269
|
+
setActiveItem,
|
|
1270
|
+
actions,
|
|
1271
|
+
actionsSlot
|
|
1272
|
+
}
|
|
1273
|
+
),
|
|
1274
|
+
/* @__PURE__ */ jsx(
|
|
1275
|
+
"div",
|
|
1236
1276
|
{
|
|
1237
|
-
ref: menuRef,
|
|
1238
1277
|
className: cn(
|
|
1239
|
-
"
|
|
1240
|
-
|
|
1278
|
+
"hidden items-center gap-2 lg:flex",
|
|
1279
|
+
actionsClassName
|
|
1241
1280
|
),
|
|
1242
|
-
children:
|
|
1243
|
-
renderNavItems(),
|
|
1244
|
-
/* @__PURE__ */ jsx(
|
|
1245
|
-
"div",
|
|
1246
|
-
{
|
|
1247
|
-
ref: indicatorRef,
|
|
1248
|
-
className: "absolute bottom-2 flex h-1 items-center justify-center px-2 transition-all duration-300",
|
|
1249
|
-
children: /* @__PURE__ */ jsx("div", { className: "h-0.5 w-full rounded-t-none bg-foreground transition-all duration-300" })
|
|
1250
|
-
}
|
|
1251
|
-
)
|
|
1252
|
-
]
|
|
1281
|
+
children: renderActions()
|
|
1253
1282
|
}
|
|
1254
1283
|
)
|
|
1255
|
-
}
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
MobileNav,
|
|
1259
|
-
{
|
|
1260
|
-
navItems: navItems ?? [],
|
|
1261
|
-
activeItem,
|
|
1262
|
-
setActiveItem,
|
|
1263
|
-
actions,
|
|
1264
|
-
actionsSlot
|
|
1265
|
-
}
|
|
1266
|
-
),
|
|
1267
|
-
/* @__PURE__ */ jsx(
|
|
1268
|
-
"div",
|
|
1269
|
-
{
|
|
1270
|
-
className: cn(
|
|
1271
|
-
"hidden items-center gap-2 lg:flex",
|
|
1272
|
-
actionsClassName
|
|
1273
|
-
),
|
|
1274
|
-
children: renderActions()
|
|
1275
|
-
}
|
|
1276
|
-
)
|
|
1277
|
-
] }) })
|
|
1284
|
+
] })
|
|
1285
|
+
}
|
|
1286
|
+
)
|
|
1278
1287
|
}
|
|
1279
1288
|
);
|
|
1280
1289
|
};
|
|
@@ -954,7 +954,7 @@ function NavigationMenuList({
|
|
|
954
954
|
{
|
|
955
955
|
"data-slot": "navigation-menu-list",
|
|
956
956
|
className: cn(
|
|
957
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
957
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
958
958
|
className
|
|
959
959
|
),
|
|
960
960
|
...props
|
|
@@ -975,7 +975,7 @@ function NavigationMenuItem({
|
|
|
975
975
|
);
|
|
976
976
|
}
|
|
977
977
|
var navigationMenuTriggerStyle = classVarianceAuthority.cva(
|
|
978
|
-
"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-
|
|
978
|
+
"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"
|
|
979
979
|
);
|
|
980
980
|
function NavigationMenuTrigger({
|
|
981
981
|
className,
|
|
@@ -995,7 +995,7 @@ function NavigationMenuTrigger({
|
|
|
995
995
|
DynamicIcon,
|
|
996
996
|
{
|
|
997
997
|
name: "lucide/chevron-down",
|
|
998
|
-
className: "relative top-[1px] ml-1 size-
|
|
998
|
+
className: "relative top-[1px] ml-1 size-2 transition duration-300 group-data-[state=open]:rotate-180",
|
|
999
999
|
"aria-hidden": "true"
|
|
1000
1000
|
}
|
|
1001
1001
|
)
|
|
@@ -1053,7 +1053,7 @@ function NavigationMenuLink({
|
|
|
1053
1053
|
{
|
|
1054
1054
|
"data-slot": "navigation-menu-link",
|
|
1055
1055
|
className: cn(
|
|
1056
|
-
"data-[active=true]:focus:bg-
|
|
1056
|
+
"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",
|
|
1057
1057
|
className
|
|
1058
1058
|
),
|
|
1059
1059
|
...props
|
|
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.cjs';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.cjs';
|
|
5
|
+
import { L as LogoConfig } from './types-D2b35ylu.cjs';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
|
|
6
7
|
import 'class-variance-authority';
|
|
7
8
|
import './button-variants-lRElsmTc.cjs';
|
|
@@ -18,16 +19,6 @@ interface MenuItem {
|
|
|
18
19
|
url?: string;
|
|
19
20
|
items?: SubMenuItem[];
|
|
20
21
|
}
|
|
21
|
-
/**
|
|
22
|
-
* Logo configuration interface
|
|
23
|
-
*/
|
|
24
|
-
interface LogoConfig {
|
|
25
|
-
url?: string;
|
|
26
|
-
src?: string;
|
|
27
|
-
alt?: string;
|
|
28
|
-
title?: React.ReactNode;
|
|
29
|
-
className?: string;
|
|
30
|
-
}
|
|
31
22
|
/**
|
|
32
23
|
* Props for the NavbarSplitCta component
|
|
33
24
|
*/
|
|
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.js';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.js';
|
|
5
|
+
import { L as LogoConfig } from './types-D2b35ylu.js';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
6
7
|
import 'class-variance-authority';
|
|
7
8
|
import './button-variants-lRElsmTc.js';
|
|
@@ -18,16 +19,6 @@ interface MenuItem {
|
|
|
18
19
|
url?: string;
|
|
19
20
|
items?: SubMenuItem[];
|
|
20
21
|
}
|
|
21
|
-
/**
|
|
22
|
-
* Logo configuration interface
|
|
23
|
-
*/
|
|
24
|
-
interface LogoConfig {
|
|
25
|
-
url?: string;
|
|
26
|
-
src?: string;
|
|
27
|
-
alt?: string;
|
|
28
|
-
title?: React.ReactNode;
|
|
29
|
-
className?: string;
|
|
30
|
-
}
|
|
31
22
|
/**
|
|
32
23
|
* Props for the NavbarSplitCta component
|
|
33
24
|
*/
|
package/dist/navbar-split-cta.js
CHANGED
|
@@ -931,7 +931,7 @@ function NavigationMenuList({
|
|
|
931
931
|
{
|
|
932
932
|
"data-slot": "navigation-menu-list",
|
|
933
933
|
className: cn(
|
|
934
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
934
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
935
935
|
className
|
|
936
936
|
),
|
|
937
937
|
...props
|
|
@@ -952,7 +952,7 @@ function NavigationMenuItem({
|
|
|
952
952
|
);
|
|
953
953
|
}
|
|
954
954
|
var navigationMenuTriggerStyle = cva(
|
|
955
|
-
"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-
|
|
955
|
+
"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"
|
|
956
956
|
);
|
|
957
957
|
function NavigationMenuTrigger({
|
|
958
958
|
className,
|
|
@@ -972,7 +972,7 @@ function NavigationMenuTrigger({
|
|
|
972
972
|
DynamicIcon,
|
|
973
973
|
{
|
|
974
974
|
name: "lucide/chevron-down",
|
|
975
|
-
className: "relative top-[1px] ml-1 size-
|
|
975
|
+
className: "relative top-[1px] ml-1 size-2 transition duration-300 group-data-[state=open]:rotate-180",
|
|
976
976
|
"aria-hidden": "true"
|
|
977
977
|
}
|
|
978
978
|
)
|
|
@@ -1030,7 +1030,7 @@ function NavigationMenuLink({
|
|
|
1030
1030
|
{
|
|
1031
1031
|
"data-slot": "navigation-menu-link",
|
|
1032
1032
|
className: cn(
|
|
1033
|
-
"data-[active=true]:focus:bg-
|
|
1033
|
+
"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",
|
|
1034
1034
|
className
|
|
1035
1035
|
),
|
|
1036
1036
|
...props
|
|
@@ -954,7 +954,7 @@ function NavigationMenuList({
|
|
|
954
954
|
{
|
|
955
955
|
"data-slot": "navigation-menu-list",
|
|
956
956
|
className: cn(
|
|
957
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
957
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
958
958
|
className
|
|
959
959
|
),
|
|
960
960
|
...props
|
|
@@ -975,7 +975,7 @@ function NavigationMenuItem({
|
|
|
975
975
|
);
|
|
976
976
|
}
|
|
977
977
|
var navigationMenuTriggerStyle = classVarianceAuthority.cva(
|
|
978
|
-
"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-
|
|
978
|
+
"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"
|
|
979
979
|
);
|
|
980
980
|
function NavigationMenuTrigger({
|
|
981
981
|
className,
|
|
@@ -995,7 +995,7 @@ function NavigationMenuTrigger({
|
|
|
995
995
|
DynamicIcon,
|
|
996
996
|
{
|
|
997
997
|
name: "lucide/chevron-down",
|
|
998
|
-
className: "relative top-[1px] ml-1 size-
|
|
998
|
+
className: "relative top-[1px] ml-1 size-2 transition duration-300 group-data-[state=open]:rotate-180",
|
|
999
999
|
"aria-hidden": "true"
|
|
1000
1000
|
}
|
|
1001
1001
|
)
|
|
@@ -1053,7 +1053,7 @@ function NavigationMenuLink({
|
|
|
1053
1053
|
{
|
|
1054
1054
|
"data-slot": "navigation-menu-link",
|
|
1055
1055
|
className: cn(
|
|
1056
|
-
"data-[active=true]:focus:bg-
|
|
1056
|
+
"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",
|
|
1057
1057
|
className
|
|
1058
1058
|
),
|
|
1059
1059
|
...props
|
|
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.cjs';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.cjs';
|
|
5
|
+
import { L as LogoConfig } from './types-D2b35ylu.cjs';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
|
|
6
7
|
import 'class-variance-authority';
|
|
7
8
|
import './button-variants-lRElsmTc.cjs';
|
|
@@ -17,16 +18,6 @@ interface MenuItem {
|
|
|
17
18
|
url?: string;
|
|
18
19
|
items?: SubMenuItem[];
|
|
19
20
|
}
|
|
20
|
-
/**
|
|
21
|
-
* Logo configuration interface
|
|
22
|
-
*/
|
|
23
|
-
interface LogoConfig {
|
|
24
|
-
url?: string;
|
|
25
|
-
src?: string;
|
|
26
|
-
alt?: string;
|
|
27
|
-
title?: React.ReactNode;
|
|
28
|
-
className?: string;
|
|
29
|
-
}
|
|
30
21
|
/**
|
|
31
22
|
* Props for the NavbarStickyCompact component
|
|
32
23
|
*/
|
|
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.js';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.js';
|
|
5
|
+
import { L as LogoConfig } from './types-D2b35ylu.js';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
6
7
|
import 'class-variance-authority';
|
|
7
8
|
import './button-variants-lRElsmTc.js';
|
|
@@ -17,16 +18,6 @@ interface MenuItem {
|
|
|
17
18
|
url?: string;
|
|
18
19
|
items?: SubMenuItem[];
|
|
19
20
|
}
|
|
20
|
-
/**
|
|
21
|
-
* Logo configuration interface
|
|
22
|
-
*/
|
|
23
|
-
interface LogoConfig {
|
|
24
|
-
url?: string;
|
|
25
|
-
src?: string;
|
|
26
|
-
alt?: string;
|
|
27
|
-
title?: React.ReactNode;
|
|
28
|
-
className?: string;
|
|
29
|
-
}
|
|
30
21
|
/**
|
|
31
22
|
* Props for the NavbarStickyCompact component
|
|
32
23
|
*/
|