@opensite/ui 0.4.4 → 0.4.6
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 +97 -58
- package/dist/navbar-animated-preview.d.cts +9 -64
- package/dist/navbar-animated-preview.d.ts +9 -64
- package/dist/navbar-animated-preview.js +97 -58
- package/dist/navbar-centered-menu.cjs +46 -7
- package/dist/navbar-centered-menu.d.cts +7 -11
- package/dist/navbar-centered-menu.d.ts +7 -11
- package/dist/navbar-centered-menu.js +46 -7
- package/dist/navbar-dark-icons.cjs +50 -10
- package/dist/navbar-dark-icons.d.cts +6 -11
- package/dist/navbar-dark-icons.d.ts +6 -11
- package/dist/navbar-dark-icons.js +50 -10
- package/dist/navbar-dropdown-menu.cjs +47 -8
- package/dist/navbar-dropdown-menu.d.cts +8 -12
- package/dist/navbar-dropdown-menu.d.ts +8 -12
- package/dist/navbar-dropdown-menu.js +47 -8
- package/dist/navbar-education-platform.cjs +48 -10
- package/dist/navbar-education-platform.d.cts +6 -11
- package/dist/navbar-education-platform.d.ts +6 -11
- package/dist/navbar-education-platform.js +48 -10
- package/dist/navbar-enterprise-mega.cjs +50 -10
- package/dist/navbar-enterprise-mega.d.cts +7 -37
- package/dist/navbar-enterprise-mega.d.ts +7 -37
- package/dist/navbar-enterprise-mega.js +50 -10
- package/dist/navbar-feature-grid.cjs +47 -8
- package/dist/navbar-feature-grid.d.cts +6 -11
- package/dist/navbar-feature-grid.d.ts +6 -11
- package/dist/navbar-feature-grid.js +47 -8
- package/dist/navbar-floating-pill.cjs +50 -11
- package/dist/navbar-floating-pill.d.cts +6 -11
- package/dist/navbar-floating-pill.d.ts +6 -11
- package/dist/navbar-floating-pill.js +50 -11
- package/dist/navbar-fullscreen-menu.cjs +44 -5
- package/dist/navbar-fullscreen-menu.d.cts +6 -11
- package/dist/navbar-fullscreen-menu.d.ts +6 -11
- package/dist/navbar-fullscreen-menu.js +44 -5
- package/dist/navbar-icon-links.cjs +46 -8
- package/dist/navbar-icon-links.d.cts +9 -11
- package/dist/navbar-icon-links.d.ts +9 -11
- package/dist/navbar-icon-links.js +46 -8
- package/dist/navbar-image-preview.cjs +56 -12
- package/dist/navbar-image-preview.d.cts +11 -17
- package/dist/navbar-image-preview.d.ts +11 -17
- package/dist/navbar-image-preview.js +56 -12
- package/dist/navbar-mega-menu.cjs +69 -20
- package/dist/navbar-mega-menu.d.cts +8 -74
- package/dist/navbar-mega-menu.d.ts +8 -74
- package/dist/navbar-mega-menu.js +69 -20
- package/dist/navbar-multi-column-groups.cjs +47 -11
- package/dist/navbar-multi-column-groups.d.cts +6 -11
- package/dist/navbar-multi-column-groups.d.ts +6 -11
- package/dist/navbar-multi-column-groups.js +47 -11
- package/dist/navbar-platform-resources.cjs +199 -164
- package/dist/navbar-platform-resources.d.cts +7 -37
- package/dist/navbar-platform-resources.d.ts +7 -37
- package/dist/navbar-platform-resources.js +199 -164
- package/dist/navbar-search-focused.cjs +45 -7
- package/dist/navbar-search-focused.d.cts +6 -11
- package/dist/navbar-search-focused.d.ts +6 -11
- package/dist/navbar-search-focused.js +45 -7
- package/dist/navbar-sidebar-mobile.cjs +47 -8
- package/dist/navbar-sidebar-mobile.d.cts +6 -11
- package/dist/navbar-sidebar-mobile.d.ts +6 -11
- package/dist/navbar-sidebar-mobile.js +47 -8
- package/dist/navbar-simple-links.cjs +45 -7
- package/dist/navbar-simple-links.d.cts +6 -11
- package/dist/navbar-simple-links.d.ts +6 -11
- package/dist/navbar-simple-links.js +45 -7
- package/dist/navbar-split-cta.cjs +47 -8
- package/dist/navbar-split-cta.d.cts +6 -11
- package/dist/navbar-split-cta.d.ts +6 -11
- package/dist/navbar-split-cta.js +47 -8
- package/dist/navbar-sticky-compact.cjs +49 -10
- package/dist/navbar-sticky-compact.d.cts +6 -11
- package/dist/navbar-sticky-compact.d.ts +6 -11
- package/dist/navbar-sticky-compact.js +49 -10
- package/dist/navbar-tabbed-sections.cjs +47 -8
- package/dist/navbar-tabbed-sections.d.cts +6 -11
- package/dist/navbar-tabbed-sections.d.ts +6 -11
- package/dist/navbar-tabbed-sections.js +47 -8
- package/dist/navbar-transparent-overlay.cjs +47 -9
- package/dist/navbar-transparent-overlay.d.cts +6 -11
- package/dist/navbar-transparent-overlay.d.ts +6 -11
- package/dist/navbar-transparent-overlay.js +47 -9
- package/dist/registry.cjs +522 -328
- package/dist/registry.js +522 -328
- package/dist/types-COVDidbn.d.cts +119 -0
- package/dist/types-COVDidbn.d.ts +119 -0
- package/package.json +2 -2
|
@@ -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, N as NavbarLayoutVariant } from './types-COVDidbn.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
|
*/
|
|
@@ -100,6 +91,10 @@ interface NavbarSimpleLinksProps {
|
|
|
100
91
|
* Pattern overlay opacity (0-1)
|
|
101
92
|
*/
|
|
102
93
|
patternOpacity?: number;
|
|
94
|
+
/**
|
|
95
|
+
* Layout variant for the navbar
|
|
96
|
+
*/
|
|
97
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
103
98
|
/**
|
|
104
99
|
* OptixFlow image optimization configuration
|
|
105
100
|
*/
|
|
@@ -114,6 +109,6 @@ interface NavbarSimpleLinksProps {
|
|
|
114
109
|
* with a left border indicator for the active item. Perfect for simple marketing
|
|
115
110
|
* sites and portfolios.
|
|
116
111
|
*/
|
|
117
|
-
declare const NavbarSimpleLinks: ({ className, containerClassName, navClassName, navigationMenuClassName, menuListClassName, actionsClassName, logo, logoSlot, logoClassName, navItems, navItemsSlot, defaultActiveItem, actions, actionsSlot, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarSimpleLinksProps) => react_jsx_runtime.JSX.Element;
|
|
112
|
+
declare const NavbarSimpleLinks: ({ className, containerClassName, navClassName, navigationMenuClassName, menuListClassName, actionsClassName, logo, logoSlot, logoClassName, navItems, navItemsSlot, defaultActiveItem, actions, actionsSlot, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarSimpleLinksProps) => react_jsx_runtime.JSX.Element;
|
|
118
113
|
|
|
119
114
|
export { NavbarSimpleLinks, type NavbarSimpleLinksProps };
|
|
@@ -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-6",
|
|
934
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
935
935
|
className
|
|
936
936
|
),
|
|
937
937
|
...props
|
|
@@ -969,7 +969,7 @@ function NavigationMenuViewport({
|
|
|
969
969
|
{
|
|
970
970
|
"data-slot": "navigation-menu-viewport",
|
|
971
971
|
className: cn(
|
|
972
|
-
"origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-
|
|
972
|
+
"origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-md border border-border/50 shadow-sm md:w-(--radix-navigation-menu-viewport-width)",
|
|
973
973
|
className
|
|
974
974
|
),
|
|
975
975
|
...props
|
|
@@ -987,7 +987,7 @@ function NavigationMenuLink({
|
|
|
987
987
|
{
|
|
988
988
|
"data-slot": "navigation-menu-link",
|
|
989
989
|
className: cn(
|
|
990
|
-
"
|
|
990
|
+
"group inline-flex w-max items-center justify-center rounded-md text-sm disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-muted data-[state=open]:focus:bg-muted focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 group 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",
|
|
991
991
|
className
|
|
992
992
|
),
|
|
993
993
|
...props
|
|
@@ -1028,6 +1028,36 @@ function PopoverContent({
|
|
|
1028
1028
|
// lib/mediaPlaceholders.ts
|
|
1029
1029
|
var logoPlaceholders = {
|
|
1030
1030
|
logoMark: "https://cdn.ing/assets/i/r/285975/eud79qeya11q5w6ueyhklueardyx/monochrome-rounded-square-app-icon-circular-emblem.png"};
|
|
1031
|
+
|
|
1032
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
1033
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
1034
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
1035
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
1036
|
+
return {
|
|
1037
|
+
// Section wrapper classes
|
|
1038
|
+
sectionClasses: cn(
|
|
1039
|
+
"inset-x-0 z-20",
|
|
1040
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
1041
|
+
customClasses?.className
|
|
1042
|
+
),
|
|
1043
|
+
// Outer container wrapper (only for floating bar)
|
|
1044
|
+
containerWrapperClasses: cn(
|
|
1045
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
1046
|
+
),
|
|
1047
|
+
// Inner container classes
|
|
1048
|
+
innerContainerClasses: cn(
|
|
1049
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
1050
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
1051
|
+
customClasses?.containerClassName
|
|
1052
|
+
),
|
|
1053
|
+
// Navigation wrapper classes (for border and shadow)
|
|
1054
|
+
navWrapperClasses: cn(
|
|
1055
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
1056
|
+
),
|
|
1057
|
+
// Spacing adjustment for Section component
|
|
1058
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
1059
|
+
};
|
|
1060
|
+
}
|
|
1031
1061
|
var AnimatedHamburger = ({ isOpen }) => {
|
|
1032
1062
|
return /* @__PURE__ */ jsx("div", { className: "group relative size-full", children: /* @__PURE__ */ jsxs("div", { className: "absolute flex size-full items-center justify-center", children: [
|
|
1033
1063
|
/* @__PURE__ */ jsx(
|
|
@@ -1126,6 +1156,7 @@ var NavbarSimpleLinks = ({
|
|
|
1126
1156
|
defaultActiveItem,
|
|
1127
1157
|
actions,
|
|
1128
1158
|
actionsSlot,
|
|
1159
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1129
1160
|
background = "white",
|
|
1130
1161
|
spacing = "sm",
|
|
1131
1162
|
pattern,
|
|
@@ -1217,15 +1248,22 @@ var NavbarSimpleLinks = ({
|
|
|
1217
1248
|
);
|
|
1218
1249
|
});
|
|
1219
1250
|
};
|
|
1251
|
+
const {
|
|
1252
|
+
sectionClasses,
|
|
1253
|
+
containerWrapperClasses,
|
|
1254
|
+
innerContainerClasses,
|
|
1255
|
+
navWrapperClasses,
|
|
1256
|
+
spacingOverride
|
|
1257
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1220
1258
|
return /* @__PURE__ */ jsx(
|
|
1221
1259
|
Section,
|
|
1222
1260
|
{
|
|
1223
1261
|
background,
|
|
1224
|
-
spacing,
|
|
1225
|
-
className:
|
|
1262
|
+
spacing: spacingOverride ?? spacing,
|
|
1263
|
+
className: sectionClasses,
|
|
1226
1264
|
pattern,
|
|
1227
1265
|
patternOpacity,
|
|
1228
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
1266
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs("nav", { className: cn("flex items-center justify-between", navWrapperClasses, navClassName), children: [
|
|
1229
1267
|
renderLogo(),
|
|
1230
1268
|
/* @__PURE__ */ jsx(
|
|
1231
1269
|
NavigationMenu,
|
|
@@ -1274,7 +1312,7 @@ var NavbarSimpleLinks = ({
|
|
|
1274
1312
|
children: renderActions()
|
|
1275
1313
|
}
|
|
1276
1314
|
)
|
|
1277
|
-
] }) })
|
|
1315
|
+
] }) }) })
|
|
1278
1316
|
}
|
|
1279
1317
|
);
|
|
1280
1318
|
};
|
|
@@ -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-6",
|
|
957
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
958
958
|
className
|
|
959
959
|
),
|
|
960
960
|
...props
|
|
@@ -994,8 +994,9 @@ function NavigationMenuTrigger({
|
|
|
994
994
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
995
995
|
DynamicIcon,
|
|
996
996
|
{
|
|
997
|
+
size: 18,
|
|
997
998
|
name: "lucide/chevron-down",
|
|
998
|
-
className: "relative top-
|
|
999
|
+
className: "relative top-px opacity-50 transition duration-300 group-data-[state=open]:rotate-180",
|
|
999
1000
|
"aria-hidden": "true"
|
|
1000
1001
|
}
|
|
1001
1002
|
)
|
|
@@ -1035,7 +1036,7 @@ function NavigationMenuViewport({
|
|
|
1035
1036
|
{
|
|
1036
1037
|
"data-slot": "navigation-menu-viewport",
|
|
1037
1038
|
className: cn(
|
|
1038
|
-
"origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-
|
|
1039
|
+
"origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-md border border-border/50 shadow-sm md:w-(--radix-navigation-menu-viewport-width)",
|
|
1039
1040
|
className
|
|
1040
1041
|
),
|
|
1041
1042
|
...props
|
|
@@ -1053,7 +1054,7 @@ function NavigationMenuLink({
|
|
|
1053
1054
|
{
|
|
1054
1055
|
"data-slot": "navigation-menu-link",
|
|
1055
1056
|
className: cn(
|
|
1056
|
-
"
|
|
1057
|
+
"group inline-flex w-max items-center justify-center rounded-md text-sm disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-muted data-[state=open]:focus:bg-muted focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 group 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",
|
|
1057
1058
|
className
|
|
1058
1059
|
),
|
|
1059
1060
|
...props
|
|
@@ -1138,6 +1139,36 @@ function SheetTitle({
|
|
|
1138
1139
|
// lib/mediaPlaceholders.ts
|
|
1139
1140
|
var logoPlaceholders = {
|
|
1140
1141
|
logoMark: "https://cdn.ing/assets/i/r/285975/eud79qeya11q5w6ueyhklueardyx/monochrome-rounded-square-app-icon-circular-emblem.png"};
|
|
1142
|
+
|
|
1143
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
1144
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
1145
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
1146
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
1147
|
+
return {
|
|
1148
|
+
// Section wrapper classes
|
|
1149
|
+
sectionClasses: cn(
|
|
1150
|
+
"inset-x-0 z-20",
|
|
1151
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
1152
|
+
customClasses?.className
|
|
1153
|
+
),
|
|
1154
|
+
// Outer container wrapper (only for floating bar)
|
|
1155
|
+
containerWrapperClasses: cn(
|
|
1156
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
1157
|
+
),
|
|
1158
|
+
// Inner container classes
|
|
1159
|
+
innerContainerClasses: cn(
|
|
1160
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
1161
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
1162
|
+
customClasses?.containerClassName
|
|
1163
|
+
),
|
|
1164
|
+
// Navigation wrapper classes (for border and shadow)
|
|
1165
|
+
navWrapperClasses: cn(
|
|
1166
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
1167
|
+
),
|
|
1168
|
+
// Spacing adjustment for Section component
|
|
1169
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
1170
|
+
};
|
|
1171
|
+
}
|
|
1141
1172
|
var NavbarSplitCta = ({
|
|
1142
1173
|
logo = {
|
|
1143
1174
|
url: "/",
|
|
@@ -1156,6 +1187,7 @@ var NavbarSplitCta = ({
|
|
|
1156
1187
|
navClassName,
|
|
1157
1188
|
navigationMenuClassName,
|
|
1158
1189
|
actionsClassName,
|
|
1190
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1159
1191
|
background = "white",
|
|
1160
1192
|
spacing = "none",
|
|
1161
1193
|
pattern,
|
|
@@ -1245,15 +1277,22 @@ var NavbarSplitCta = ({
|
|
|
1245
1277
|
if (!menu || menu.length === 0) return null;
|
|
1246
1278
|
return menu;
|
|
1247
1279
|
};
|
|
1280
|
+
const {
|
|
1281
|
+
sectionClasses,
|
|
1282
|
+
containerWrapperClasses,
|
|
1283
|
+
innerContainerClasses,
|
|
1284
|
+
navWrapperClasses,
|
|
1285
|
+
spacingOverride
|
|
1286
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1248
1287
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1249
1288
|
Section,
|
|
1250
1289
|
{
|
|
1251
1290
|
background,
|
|
1252
|
-
spacing,
|
|
1253
|
-
className:
|
|
1291
|
+
spacing: spacingOverride ?? spacing,
|
|
1292
|
+
className: sectionClasses,
|
|
1254
1293
|
pattern,
|
|
1255
1294
|
patternOpacity,
|
|
1256
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1295
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1257
1296
|
"nav",
|
|
1258
1297
|
{
|
|
1259
1298
|
className: cn("flex items-center justify-between py-4", navClassName),
|
|
@@ -1366,7 +1405,7 @@ var NavbarSplitCta = ({
|
|
|
1366
1405
|
] })
|
|
1367
1406
|
]
|
|
1368
1407
|
}
|
|
1369
|
-
) })
|
|
1408
|
+
) }) })
|
|
1370
1409
|
}
|
|
1371
1410
|
);
|
|
1372
1411
|
};
|
|
@@ -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, N as NavbarLayoutVariant } from './types-COVDidbn.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
|
*/
|
|
@@ -116,6 +107,10 @@ interface NavbarSplitCtaProps {
|
|
|
116
107
|
* OptixFlow image optimization configuration
|
|
117
108
|
*/
|
|
118
109
|
optixFlowConfig?: OptixFlowConfig;
|
|
110
|
+
/**
|
|
111
|
+
* Layout variant for the navbar
|
|
112
|
+
*/
|
|
113
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
119
114
|
}
|
|
120
115
|
/**
|
|
121
116
|
* NavbarSplitCta - A navigation bar with split primary and secondary call-to-action buttons.
|
|
@@ -126,6 +121,6 @@ interface NavbarSplitCtaProps {
|
|
|
126
121
|
* slide-out sheet with the CTAs prominently displayed at the top. Ideal for SaaS products
|
|
127
122
|
* and services that want to emphasize both login/signup or demo/trial actions.
|
|
128
123
|
*/
|
|
129
|
-
declare const NavbarSplitCta: ({ logo, logoSlot, logoClassName, menu, menuSlot, primaryCta, secondaryCta, authActions, authActionsSlot, className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarSplitCtaProps) => react_jsx_runtime.JSX.Element;
|
|
124
|
+
declare const NavbarSplitCta: ({ logo, logoSlot, logoClassName, menu, menuSlot, primaryCta, secondaryCta, authActions, authActionsSlot, className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarSplitCtaProps) => react_jsx_runtime.JSX.Element;
|
|
130
125
|
|
|
131
126
|
export { NavbarSplitCta, type NavbarSplitCtaProps };
|
|
@@ -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, N as NavbarLayoutVariant } from './types-COVDidbn.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
|
*/
|
|
@@ -116,6 +107,10 @@ interface NavbarSplitCtaProps {
|
|
|
116
107
|
* OptixFlow image optimization configuration
|
|
117
108
|
*/
|
|
118
109
|
optixFlowConfig?: OptixFlowConfig;
|
|
110
|
+
/**
|
|
111
|
+
* Layout variant for the navbar
|
|
112
|
+
*/
|
|
113
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
119
114
|
}
|
|
120
115
|
/**
|
|
121
116
|
* NavbarSplitCta - A navigation bar with split primary and secondary call-to-action buttons.
|
|
@@ -126,6 +121,6 @@ interface NavbarSplitCtaProps {
|
|
|
126
121
|
* slide-out sheet with the CTAs prominently displayed at the top. Ideal for SaaS products
|
|
127
122
|
* and services that want to emphasize both login/signup or demo/trial actions.
|
|
128
123
|
*/
|
|
129
|
-
declare const NavbarSplitCta: ({ logo, logoSlot, logoClassName, menu, menuSlot, primaryCta, secondaryCta, authActions, authActionsSlot, className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarSplitCtaProps) => react_jsx_runtime.JSX.Element;
|
|
124
|
+
declare const NavbarSplitCta: ({ logo, logoSlot, logoClassName, menu, menuSlot, primaryCta, secondaryCta, authActions, authActionsSlot, className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarSplitCtaProps) => react_jsx_runtime.JSX.Element;
|
|
130
125
|
|
|
131
126
|
export { NavbarSplitCta, type NavbarSplitCtaProps };
|
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-6",
|
|
934
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
935
935
|
className
|
|
936
936
|
),
|
|
937
937
|
...props
|
|
@@ -971,8 +971,9 @@ function NavigationMenuTrigger({
|
|
|
971
971
|
/* @__PURE__ */ jsx(
|
|
972
972
|
DynamicIcon,
|
|
973
973
|
{
|
|
974
|
+
size: 18,
|
|
974
975
|
name: "lucide/chevron-down",
|
|
975
|
-
className: "relative top-
|
|
976
|
+
className: "relative top-px opacity-50 transition duration-300 group-data-[state=open]:rotate-180",
|
|
976
977
|
"aria-hidden": "true"
|
|
977
978
|
}
|
|
978
979
|
)
|
|
@@ -1012,7 +1013,7 @@ function NavigationMenuViewport({
|
|
|
1012
1013
|
{
|
|
1013
1014
|
"data-slot": "navigation-menu-viewport",
|
|
1014
1015
|
className: cn(
|
|
1015
|
-
"origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-
|
|
1016
|
+
"origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-md border border-border/50 shadow-sm md:w-(--radix-navigation-menu-viewport-width)",
|
|
1016
1017
|
className
|
|
1017
1018
|
),
|
|
1018
1019
|
...props
|
|
@@ -1030,7 +1031,7 @@ function NavigationMenuLink({
|
|
|
1030
1031
|
{
|
|
1031
1032
|
"data-slot": "navigation-menu-link",
|
|
1032
1033
|
className: cn(
|
|
1033
|
-
"
|
|
1034
|
+
"group inline-flex w-max items-center justify-center rounded-md text-sm disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-muted data-[state=open]:focus:bg-muted focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 group 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",
|
|
1034
1035
|
className
|
|
1035
1036
|
),
|
|
1036
1037
|
...props
|
|
@@ -1115,6 +1116,36 @@ function SheetTitle({
|
|
|
1115
1116
|
// lib/mediaPlaceholders.ts
|
|
1116
1117
|
var logoPlaceholders = {
|
|
1117
1118
|
logoMark: "https://cdn.ing/assets/i/r/285975/eud79qeya11q5w6ueyhklueardyx/monochrome-rounded-square-app-icon-circular-emblem.png"};
|
|
1119
|
+
|
|
1120
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
1121
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
1122
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
1123
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
1124
|
+
return {
|
|
1125
|
+
// Section wrapper classes
|
|
1126
|
+
sectionClasses: cn(
|
|
1127
|
+
"inset-x-0 z-20",
|
|
1128
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
1129
|
+
customClasses?.className
|
|
1130
|
+
),
|
|
1131
|
+
// Outer container wrapper (only for floating bar)
|
|
1132
|
+
containerWrapperClasses: cn(
|
|
1133
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
1134
|
+
),
|
|
1135
|
+
// Inner container classes
|
|
1136
|
+
innerContainerClasses: cn(
|
|
1137
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
1138
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
1139
|
+
customClasses?.containerClassName
|
|
1140
|
+
),
|
|
1141
|
+
// Navigation wrapper classes (for border and shadow)
|
|
1142
|
+
navWrapperClasses: cn(
|
|
1143
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
1144
|
+
),
|
|
1145
|
+
// Spacing adjustment for Section component
|
|
1146
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
1147
|
+
};
|
|
1148
|
+
}
|
|
1118
1149
|
var NavbarSplitCta = ({
|
|
1119
1150
|
logo = {
|
|
1120
1151
|
url: "/",
|
|
@@ -1133,6 +1164,7 @@ var NavbarSplitCta = ({
|
|
|
1133
1164
|
navClassName,
|
|
1134
1165
|
navigationMenuClassName,
|
|
1135
1166
|
actionsClassName,
|
|
1167
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1136
1168
|
background = "white",
|
|
1137
1169
|
spacing = "none",
|
|
1138
1170
|
pattern,
|
|
@@ -1222,15 +1254,22 @@ var NavbarSplitCta = ({
|
|
|
1222
1254
|
if (!menu || menu.length === 0) return null;
|
|
1223
1255
|
return menu;
|
|
1224
1256
|
};
|
|
1257
|
+
const {
|
|
1258
|
+
sectionClasses,
|
|
1259
|
+
containerWrapperClasses,
|
|
1260
|
+
innerContainerClasses,
|
|
1261
|
+
navWrapperClasses,
|
|
1262
|
+
spacingOverride
|
|
1263
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1225
1264
|
return /* @__PURE__ */ jsx(
|
|
1226
1265
|
Section,
|
|
1227
1266
|
{
|
|
1228
1267
|
background,
|
|
1229
|
-
spacing,
|
|
1230
|
-
className:
|
|
1268
|
+
spacing: spacingOverride ?? spacing,
|
|
1269
|
+
className: sectionClasses,
|
|
1231
1270
|
pattern,
|
|
1232
1271
|
patternOpacity,
|
|
1233
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
1272
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
1234
1273
|
"nav",
|
|
1235
1274
|
{
|
|
1236
1275
|
className: cn("flex items-center justify-between py-4", navClassName),
|
|
@@ -1343,7 +1382,7 @@ var NavbarSplitCta = ({
|
|
|
1343
1382
|
] })
|
|
1344
1383
|
]
|
|
1345
1384
|
}
|
|
1346
|
-
) })
|
|
1385
|
+
) }) })
|
|
1347
1386
|
}
|
|
1348
1387
|
);
|
|
1349
1388
|
};
|
|
@@ -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-6",
|
|
957
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
958
958
|
className
|
|
959
959
|
),
|
|
960
960
|
...props
|
|
@@ -994,8 +994,9 @@ function NavigationMenuTrigger({
|
|
|
994
994
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
995
995
|
DynamicIcon,
|
|
996
996
|
{
|
|
997
|
+
size: 18,
|
|
997
998
|
name: "lucide/chevron-down",
|
|
998
|
-
className: "relative top-
|
|
999
|
+
className: "relative top-px opacity-50 transition duration-300 group-data-[state=open]:rotate-180",
|
|
999
1000
|
"aria-hidden": "true"
|
|
1000
1001
|
}
|
|
1001
1002
|
)
|
|
@@ -1035,7 +1036,7 @@ function NavigationMenuViewport({
|
|
|
1035
1036
|
{
|
|
1036
1037
|
"data-slot": "navigation-menu-viewport",
|
|
1037
1038
|
className: cn(
|
|
1038
|
-
"origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-
|
|
1039
|
+
"origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-md border border-border/50 shadow-sm md:w-(--radix-navigation-menu-viewport-width)",
|
|
1039
1040
|
className
|
|
1040
1041
|
),
|
|
1041
1042
|
...props
|
|
@@ -1053,7 +1054,7 @@ function NavigationMenuLink({
|
|
|
1053
1054
|
{
|
|
1054
1055
|
"data-slot": "navigation-menu-link",
|
|
1055
1056
|
className: cn(
|
|
1056
|
-
"
|
|
1057
|
+
"group inline-flex w-max items-center justify-center rounded-md text-sm disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-muted data-[state=open]:focus:bg-muted focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 group 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",
|
|
1057
1058
|
className
|
|
1058
1059
|
),
|
|
1059
1060
|
...props
|
|
@@ -1138,6 +1139,36 @@ function SheetTitle({
|
|
|
1138
1139
|
// lib/mediaPlaceholders.ts
|
|
1139
1140
|
var logoPlaceholders = {
|
|
1140
1141
|
logoMark: "https://cdn.ing/assets/i/r/285975/eud79qeya11q5w6ueyhklueardyx/monochrome-rounded-square-app-icon-circular-emblem.png"};
|
|
1142
|
+
|
|
1143
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
1144
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
1145
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
1146
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
1147
|
+
return {
|
|
1148
|
+
// Section wrapper classes
|
|
1149
|
+
sectionClasses: cn(
|
|
1150
|
+
"inset-x-0 z-20",
|
|
1151
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
1152
|
+
customClasses?.className
|
|
1153
|
+
),
|
|
1154
|
+
// Outer container wrapper (only for floating bar)
|
|
1155
|
+
containerWrapperClasses: cn(
|
|
1156
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
1157
|
+
),
|
|
1158
|
+
// Inner container classes
|
|
1159
|
+
innerContainerClasses: cn(
|
|
1160
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
1161
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
1162
|
+
customClasses?.containerClassName
|
|
1163
|
+
),
|
|
1164
|
+
// Navigation wrapper classes (for border and shadow)
|
|
1165
|
+
navWrapperClasses: cn(
|
|
1166
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
1167
|
+
),
|
|
1168
|
+
// Spacing adjustment for Section component
|
|
1169
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
1170
|
+
};
|
|
1171
|
+
}
|
|
1141
1172
|
var NavbarStickyCompact = ({
|
|
1142
1173
|
logo = {
|
|
1143
1174
|
url: "/",
|
|
@@ -1153,6 +1184,7 @@ var NavbarStickyCompact = ({
|
|
|
1153
1184
|
containerClassName,
|
|
1154
1185
|
navClassName,
|
|
1155
1186
|
actionsClassName,
|
|
1187
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1156
1188
|
background = "white",
|
|
1157
1189
|
spacing = "none",
|
|
1158
1190
|
pattern,
|
|
@@ -1306,19 +1338,26 @@ var NavbarStickyCompact = ({
|
|
|
1306
1338
|
)
|
|
1307
1339
|
);
|
|
1308
1340
|
};
|
|
1341
|
+
const {
|
|
1342
|
+
sectionClasses,
|
|
1343
|
+
containerWrapperClasses,
|
|
1344
|
+
innerContainerClasses,
|
|
1345
|
+
navWrapperClasses,
|
|
1346
|
+
spacingOverride
|
|
1347
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1309
1348
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1310
1349
|
Section,
|
|
1311
1350
|
{
|
|
1312
1351
|
background,
|
|
1313
|
-
spacing,
|
|
1352
|
+
spacing: spacingOverride ?? spacing,
|
|
1314
1353
|
className: cn(
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1354
|
+
sectionClasses,
|
|
1355
|
+
"fixed top-0 left-0 z-50 w-full bg-background/95 backdrop-blur-sm transition-all duration-300",
|
|
1356
|
+
isScrolled ? "shadow-sm" : ""
|
|
1318
1357
|
),
|
|
1319
1358
|
pattern,
|
|
1320
1359
|
patternOpacity,
|
|
1321
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1360
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1322
1361
|
"nav",
|
|
1323
1362
|
{
|
|
1324
1363
|
className: cn(
|
|
@@ -1374,7 +1413,7 @@ var NavbarStickyCompact = ({
|
|
|
1374
1413
|
] })
|
|
1375
1414
|
]
|
|
1376
1415
|
}
|
|
1377
|
-
) })
|
|
1416
|
+
) }) })
|
|
1378
1417
|
}
|
|
1379
1418
|
);
|
|
1380
1419
|
};
|
|
@@ -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, N as NavbarLayoutVariant } from './types-COVDidbn.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
|
*/
|
|
@@ -95,6 +86,10 @@ interface NavbarStickyCompactProps {
|
|
|
95
86
|
* OptixFlow image optimization configuration
|
|
96
87
|
*/
|
|
97
88
|
optixFlowConfig?: OptixFlowConfig;
|
|
89
|
+
/**
|
|
90
|
+
* Layout variant for the navbar
|
|
91
|
+
*/
|
|
92
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
98
93
|
}
|
|
99
94
|
/**
|
|
100
95
|
* NavbarStickyCompact - A compact sticky navigation bar that shrinks on scroll.
|
|
@@ -105,6 +100,6 @@ interface NavbarStickyCompactProps {
|
|
|
105
100
|
* Mobile view uses a slide-out sheet from the right. Ideal for content-heavy sites where
|
|
106
101
|
* vertical space is valuable.
|
|
107
102
|
*/
|
|
108
|
-
declare const NavbarStickyCompact: ({ logo, logoSlot, logoClassName, menu, menuSlot, authActions, authActionsSlot, className, containerClassName, navClassName, actionsClassName, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarStickyCompactProps) => react_jsx_runtime.JSX.Element;
|
|
103
|
+
declare const NavbarStickyCompact: ({ logo, logoSlot, logoClassName, menu, menuSlot, authActions, authActionsSlot, className, containerClassName, navClassName, actionsClassName, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarStickyCompactProps) => react_jsx_runtime.JSX.Element;
|
|
109
104
|
|
|
110
105
|
export { NavbarStickyCompact, type NavbarStickyCompactProps };
|