@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
|
@@ -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';
|
|
@@ -20,16 +21,6 @@ interface MenuItem {
|
|
|
20
21
|
url?: string;
|
|
21
22
|
links?: MenuLink[];
|
|
22
23
|
}
|
|
23
|
-
/**
|
|
24
|
-
* Logo configuration interface
|
|
25
|
-
*/
|
|
26
|
-
interface LogoConfig {
|
|
27
|
-
url?: string;
|
|
28
|
-
src?: string;
|
|
29
|
-
alt?: string;
|
|
30
|
-
title?: React.ReactNode;
|
|
31
|
-
className?: string;
|
|
32
|
-
}
|
|
33
24
|
/**
|
|
34
25
|
* Props for the NavbarDarkIcons component
|
|
35
26
|
*/
|
|
@@ -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';
|
|
@@ -20,16 +21,6 @@ interface MenuItem {
|
|
|
20
21
|
url?: string;
|
|
21
22
|
links?: MenuLink[];
|
|
22
23
|
}
|
|
23
|
-
/**
|
|
24
|
-
* Logo configuration interface
|
|
25
|
-
*/
|
|
26
|
-
interface LogoConfig {
|
|
27
|
-
url?: string;
|
|
28
|
-
src?: string;
|
|
29
|
-
alt?: string;
|
|
30
|
-
title?: React.ReactNode;
|
|
31
|
-
className?: string;
|
|
32
|
-
}
|
|
33
24
|
/**
|
|
34
25
|
* Props for the NavbarDarkIcons component
|
|
35
26
|
*/
|
|
@@ -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-2
|
|
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
|
)
|
|
@@ -1051,7 +1051,7 @@ function NavigationMenuTrigger({
|
|
|
1051
1051
|
DynamicIcon,
|
|
1052
1052
|
{
|
|
1053
1053
|
name: "lucide/chevron-down",
|
|
1054
|
-
className: "relative top-[1px] ml-1 size-2
|
|
1054
|
+
className: "relative top-[1px] ml-1 size-2 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1055
1055
|
"aria-hidden": "true"
|
|
1056
1056
|
}
|
|
1057
1057
|
)
|
|
@@ -1355,55 +1355,64 @@ var NavbarDropdownMenu = ({
|
|
|
1355
1355
|
className: cn(className),
|
|
1356
1356
|
pattern,
|
|
1357
1357
|
patternOpacity,
|
|
1358
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
renderLogo(),
|
|
1369
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: navigationMenuClassName, children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: renderMenu() }) }) })
|
|
1370
|
-
] }),
|
|
1371
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
|
|
1372
|
-
]
|
|
1373
|
-
}
|
|
1374
|
-
),
|
|
1375
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
1376
|
-
renderLogo(),
|
|
1377
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
|
|
1378
|
-
/* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1379
|
-
Pressable,
|
|
1358
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1359
|
+
"div",
|
|
1360
|
+
{
|
|
1361
|
+
className: cn(
|
|
1362
|
+
"container border-b border-border/50 shadow-sm",
|
|
1363
|
+
containerClassName
|
|
1364
|
+
),
|
|
1365
|
+
children: [
|
|
1366
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1367
|
+
"nav",
|
|
1380
1368
|
{
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1369
|
+
className: cn(
|
|
1370
|
+
"hidden items-center justify-between lg:flex",
|
|
1371
|
+
desktopNavClassName
|
|
1372
|
+
),
|
|
1373
|
+
children: [
|
|
1374
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-6", children: [
|
|
1375
|
+
renderLogo(),
|
|
1376
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: navigationMenuClassName, children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: renderMenu() }) }) })
|
|
1377
|
+
] }),
|
|
1378
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
|
|
1379
|
+
]
|
|
1387
1380
|
}
|
|
1388
|
-
)
|
|
1389
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1390
|
-
|
|
1391
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1392
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1393
|
-
|
|
1381
|
+
),
|
|
1382
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
1383
|
+
renderLogo(),
|
|
1384
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
|
|
1385
|
+
/* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1386
|
+
Pressable,
|
|
1394
1387
|
{
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1388
|
+
variant: "outline",
|
|
1389
|
+
size: "icon",
|
|
1390
|
+
asButton: true,
|
|
1391
|
+
onClick: () => {
|
|
1392
|
+
},
|
|
1393
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
|
|
1399
1394
|
}
|
|
1400
|
-
),
|
|
1401
|
-
/* @__PURE__ */ jsxRuntime.
|
|
1395
|
+
) }),
|
|
1396
|
+
/* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { className: "overflow-y-auto", children: [
|
|
1397
|
+
/* @__PURE__ */ jsxRuntime.jsx(SheetHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: renderLogo() }) }),
|
|
1398
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
|
|
1399
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1400
|
+
Accordion,
|
|
1401
|
+
{
|
|
1402
|
+
type: "single",
|
|
1403
|
+
collapsible: true,
|
|
1404
|
+
className: "flex w-full flex-col gap-4",
|
|
1405
|
+
children: renderMobileMenu()
|
|
1406
|
+
}
|
|
1407
|
+
),
|
|
1408
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
|
|
1409
|
+
] })
|
|
1410
|
+
] })
|
|
1402
1411
|
] })
|
|
1403
|
-
] })
|
|
1404
|
-
]
|
|
1405
|
-
|
|
1406
|
-
|
|
1412
|
+
] }) })
|
|
1413
|
+
]
|
|
1414
|
+
}
|
|
1415
|
+
)
|
|
1407
1416
|
}
|
|
1408
1417
|
);
|
|
1409
1418
|
};
|
|
@@ -2,13 +2,15 @@ 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';
|
|
8
9
|
import 'class-variance-authority/types';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
|
-
* Menu item interface for navigation
|
|
12
|
+
* Menu item interface for navigation (component-specific)
|
|
13
|
+
* Note: This uses title/url pattern specific to this dropdown menu component
|
|
12
14
|
*/
|
|
13
15
|
interface MenuItem {
|
|
14
16
|
title: string;
|
|
@@ -17,16 +19,6 @@ interface MenuItem {
|
|
|
17
19
|
icon?: string;
|
|
18
20
|
items?: MenuItem[];
|
|
19
21
|
}
|
|
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
22
|
/**
|
|
31
23
|
* Props for the NavbarDropdownMenu component
|
|
32
24
|
*/
|
|
@@ -2,13 +2,15 @@ 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';
|
|
8
9
|
import 'class-variance-authority/types';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
|
-
* Menu item interface for navigation
|
|
12
|
+
* Menu item interface for navigation (component-specific)
|
|
13
|
+
* Note: This uses title/url pattern specific to this dropdown menu component
|
|
12
14
|
*/
|
|
13
15
|
interface MenuItem {
|
|
14
16
|
title: string;
|
|
@@ -17,16 +19,6 @@ interface MenuItem {
|
|
|
17
19
|
icon?: string;
|
|
18
20
|
items?: MenuItem[];
|
|
19
21
|
}
|
|
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
22
|
/**
|
|
31
23
|
* Props for the NavbarDropdownMenu component
|
|
32
24
|
*/
|
|
@@ -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-2
|
|
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
|
)
|
|
@@ -1331,55 +1331,64 @@ var NavbarDropdownMenu = ({
|
|
|
1331
1331
|
className: cn(className),
|
|
1332
1332
|
pattern,
|
|
1333
1333
|
patternOpacity,
|
|
1334
|
-
children: /* @__PURE__ */ jsxs(
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
renderLogo(),
|
|
1345
|
-
/* @__PURE__ */ jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsx(NavigationMenu, { className: navigationMenuClassName, children: /* @__PURE__ */ jsx(NavigationMenuList, { children: renderMenu() }) }) })
|
|
1346
|
-
] }),
|
|
1347
|
-
/* @__PURE__ */ jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
|
|
1348
|
-
]
|
|
1349
|
-
}
|
|
1350
|
-
),
|
|
1351
|
-
/* @__PURE__ */ jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
1352
|
-
renderLogo(),
|
|
1353
|
-
/* @__PURE__ */ jsxs(Sheet, { children: [
|
|
1354
|
-
/* @__PURE__ */ jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
1355
|
-
Pressable,
|
|
1334
|
+
children: /* @__PURE__ */ jsxs(
|
|
1335
|
+
"div",
|
|
1336
|
+
{
|
|
1337
|
+
className: cn(
|
|
1338
|
+
"container border-b border-border/50 shadow-sm",
|
|
1339
|
+
containerClassName
|
|
1340
|
+
),
|
|
1341
|
+
children: [
|
|
1342
|
+
/* @__PURE__ */ jsxs(
|
|
1343
|
+
"nav",
|
|
1356
1344
|
{
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1345
|
+
className: cn(
|
|
1346
|
+
"hidden items-center justify-between lg:flex",
|
|
1347
|
+
desktopNavClassName
|
|
1348
|
+
),
|
|
1349
|
+
children: [
|
|
1350
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-6", children: [
|
|
1351
|
+
renderLogo(),
|
|
1352
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsx(NavigationMenu, { className: navigationMenuClassName, children: /* @__PURE__ */ jsx(NavigationMenuList, { children: renderMenu() }) }) })
|
|
1353
|
+
] }),
|
|
1354
|
+
/* @__PURE__ */ jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
|
|
1355
|
+
]
|
|
1363
1356
|
}
|
|
1364
|
-
)
|
|
1365
|
-
/* @__PURE__ */ jsxs(
|
|
1366
|
-
|
|
1367
|
-
/* @__PURE__ */ jsxs(
|
|
1368
|
-
/* @__PURE__ */ jsx(
|
|
1369
|
-
|
|
1357
|
+
),
|
|
1358
|
+
/* @__PURE__ */ jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
1359
|
+
renderLogo(),
|
|
1360
|
+
/* @__PURE__ */ jsxs(Sheet, { children: [
|
|
1361
|
+
/* @__PURE__ */ jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
1362
|
+
Pressable,
|
|
1370
1363
|
{
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1364
|
+
variant: "outline",
|
|
1365
|
+
size: "icon",
|
|
1366
|
+
asButton: true,
|
|
1367
|
+
onClick: () => {
|
|
1368
|
+
},
|
|
1369
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
|
|
1375
1370
|
}
|
|
1376
|
-
),
|
|
1377
|
-
/* @__PURE__ */
|
|
1371
|
+
) }),
|
|
1372
|
+
/* @__PURE__ */ jsxs(SheetContent, { className: "overflow-y-auto", children: [
|
|
1373
|
+
/* @__PURE__ */ jsx(SheetHeader, { children: /* @__PURE__ */ jsx(SheetTitle, { children: renderLogo() }) }),
|
|
1374
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
|
|
1375
|
+
/* @__PURE__ */ jsx(
|
|
1376
|
+
Accordion,
|
|
1377
|
+
{
|
|
1378
|
+
type: "single",
|
|
1379
|
+
collapsible: true,
|
|
1380
|
+
className: "flex w-full flex-col gap-4",
|
|
1381
|
+
children: renderMobileMenu()
|
|
1382
|
+
}
|
|
1383
|
+
),
|
|
1384
|
+
/* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
|
|
1385
|
+
] })
|
|
1386
|
+
] })
|
|
1378
1387
|
] })
|
|
1379
|
-
] })
|
|
1380
|
-
]
|
|
1381
|
-
|
|
1382
|
-
|
|
1388
|
+
] }) })
|
|
1389
|
+
]
|
|
1390
|
+
}
|
|
1391
|
+
)
|
|
1383
1392
|
}
|
|
1384
1393
|
);
|
|
1385
1394
|
};
|
|
@@ -1051,7 +1051,7 @@ function NavigationMenuTrigger({
|
|
|
1051
1051
|
DynamicIcon,
|
|
1052
1052
|
{
|
|
1053
1053
|
name: "lucide/chevron-down",
|
|
1054
|
-
className: "relative top-[1px] ml-1 size-2
|
|
1054
|
+
className: "relative top-[1px] ml-1 size-2 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1055
1055
|
"aria-hidden": "true"
|
|
1056
1056
|
}
|
|
1057
1057
|
)
|
|
@@ -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';
|
|
@@ -24,16 +25,6 @@ interface CompanyItem {
|
|
|
24
25
|
icon: string;
|
|
25
26
|
link: string;
|
|
26
27
|
}
|
|
27
|
-
/**
|
|
28
|
-
* Logo configuration interface
|
|
29
|
-
*/
|
|
30
|
-
interface LogoConfig {
|
|
31
|
-
url?: string;
|
|
32
|
-
src?: string;
|
|
33
|
-
alt?: string;
|
|
34
|
-
title?: React.ReactNode;
|
|
35
|
-
className?: string;
|
|
36
|
-
}
|
|
37
28
|
/**
|
|
38
29
|
* Props for the NavbarEducationPlatform component
|
|
39
30
|
*/
|
|
@@ -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';
|
|
@@ -24,16 +25,6 @@ interface CompanyItem {
|
|
|
24
25
|
icon: string;
|
|
25
26
|
link: string;
|
|
26
27
|
}
|
|
27
|
-
/**
|
|
28
|
-
* Logo configuration interface
|
|
29
|
-
*/
|
|
30
|
-
interface LogoConfig {
|
|
31
|
-
url?: string;
|
|
32
|
-
src?: string;
|
|
33
|
-
alt?: string;
|
|
34
|
-
title?: React.ReactNode;
|
|
35
|
-
className?: string;
|
|
36
|
-
}
|
|
37
28
|
/**
|
|
38
29
|
* Props for the NavbarEducationPlatform component
|
|
39
30
|
*/
|
|
@@ -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-2
|
|
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
|
)
|
|
@@ -1051,7 +1051,7 @@ function NavigationMenuTrigger({
|
|
|
1051
1051
|
DynamicIcon,
|
|
1052
1052
|
{
|
|
1053
1053
|
name: "lucide/chevron-down",
|
|
1054
|
-
className: "relative top-[1px] ml-1 size-2
|
|
1054
|
+
className: "relative top-[1px] ml-1 size-2 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1055
1055
|
"aria-hidden": "true"
|
|
1056
1056
|
}
|
|
1057
1057
|
)
|
|
@@ -1280,7 +1280,7 @@ var NavbarEnterpriseMega = ({
|
|
|
1280
1280
|
background,
|
|
1281
1281
|
spacing,
|
|
1282
1282
|
className: cn(
|
|
1283
|
-
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center border-b",
|
|
1283
|
+
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center border-b border-border/50 shadow-sm",
|
|
1284
1284
|
className
|
|
1285
1285
|
),
|
|
1286
1286
|
pattern,
|
|
@@ -2,36 +2,12 @@ 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, b as ILinkItem, a as IMenuLinkGroup } 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';
|
|
8
9
|
import 'class-variance-authority/types';
|
|
9
10
|
|
|
10
|
-
/**
|
|
11
|
-
* SHARED BASE TYPE INTERFACES
|
|
12
|
-
* These types provide a consistent interface across navbar components
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Base link item - used across all navbar components
|
|
16
|
-
*/
|
|
17
|
-
interface ILinkItem {
|
|
18
|
-
label: React.ReactNode;
|
|
19
|
-
description?: React.ReactNode;
|
|
20
|
-
url: string;
|
|
21
|
-
icon?: React.ReactNode;
|
|
22
|
-
iconName?: string;
|
|
23
|
-
image?: string;
|
|
24
|
-
background?: string;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Group of links with optional metadata
|
|
28
|
-
*/
|
|
29
|
-
interface IMenuLinkGroup {
|
|
30
|
-
label: React.ReactNode;
|
|
31
|
-
description?: string;
|
|
32
|
-
image?: string;
|
|
33
|
-
links: ILinkItem[];
|
|
34
|
-
}
|
|
35
11
|
/**
|
|
36
12
|
* SPECIALIZED TYPE INTERFACES FOR ENTERPRISE MEGA MENU
|
|
37
13
|
* These extend the base types for specific layout requirements
|
|
@@ -228,16 +204,6 @@ interface IMenuLink {
|
|
|
228
204
|
resourceItems?: IResourceItem[];
|
|
229
205
|
topicGroups?: ITopicGroup[];
|
|
230
206
|
}
|
|
231
|
-
/**
|
|
232
|
-
* Logo configuration interface
|
|
233
|
-
*/
|
|
234
|
-
interface LogoConfig {
|
|
235
|
-
url?: string;
|
|
236
|
-
src?: string;
|
|
237
|
-
alt?: string;
|
|
238
|
-
title?: React.ReactNode;
|
|
239
|
-
className?: string;
|
|
240
|
-
}
|
|
241
207
|
/**
|
|
242
208
|
* Props for the NavbarEnterpriseMega component
|
|
243
209
|
*/
|
|
@@ -319,4 +285,4 @@ interface NavbarEnterpriseMegaProps {
|
|
|
319
285
|
*/
|
|
320
286
|
declare const NavbarEnterpriseMega: ({ className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, logoClassName, logo, logoSlot, menuLinks, actions, actionsSlot, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarEnterpriseMegaProps) => react_jsx_runtime.JSX.Element;
|
|
321
287
|
|
|
322
|
-
export { type IFeatureCategory, type IFeatureItem, type IFeaturedHeroCard,
|
|
288
|
+
export { type IFeatureCategory, type IFeatureItem, type IFeaturedHeroCard, ILinkItem, type ILocationItem, type IMenuLink, IMenuLinkGroup, type IPartnerCard, type IProductCategory, type IProductItem, type IRegionItem, type IResourceItem, type ISolutionCard, type ISubpageItem, type ITechnologyItem, type ITopicGroup, type ITopicItem, LogoConfig, type MegaMenuLayout, NavbarEnterpriseMega, type NavbarEnterpriseMegaProps };
|
|
@@ -2,36 +2,12 @@ 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, b as ILinkItem, a as IMenuLinkGroup } 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';
|
|
8
9
|
import 'class-variance-authority/types';
|
|
9
10
|
|
|
10
|
-
/**
|
|
11
|
-
* SHARED BASE TYPE INTERFACES
|
|
12
|
-
* These types provide a consistent interface across navbar components
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Base link item - used across all navbar components
|
|
16
|
-
*/
|
|
17
|
-
interface ILinkItem {
|
|
18
|
-
label: React.ReactNode;
|
|
19
|
-
description?: React.ReactNode;
|
|
20
|
-
url: string;
|
|
21
|
-
icon?: React.ReactNode;
|
|
22
|
-
iconName?: string;
|
|
23
|
-
image?: string;
|
|
24
|
-
background?: string;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Group of links with optional metadata
|
|
28
|
-
*/
|
|
29
|
-
interface IMenuLinkGroup {
|
|
30
|
-
label: React.ReactNode;
|
|
31
|
-
description?: string;
|
|
32
|
-
image?: string;
|
|
33
|
-
links: ILinkItem[];
|
|
34
|
-
}
|
|
35
11
|
/**
|
|
36
12
|
* SPECIALIZED TYPE INTERFACES FOR ENTERPRISE MEGA MENU
|
|
37
13
|
* These extend the base types for specific layout requirements
|
|
@@ -228,16 +204,6 @@ interface IMenuLink {
|
|
|
228
204
|
resourceItems?: IResourceItem[];
|
|
229
205
|
topicGroups?: ITopicGroup[];
|
|
230
206
|
}
|
|
231
|
-
/**
|
|
232
|
-
* Logo configuration interface
|
|
233
|
-
*/
|
|
234
|
-
interface LogoConfig {
|
|
235
|
-
url?: string;
|
|
236
|
-
src?: string;
|
|
237
|
-
alt?: string;
|
|
238
|
-
title?: React.ReactNode;
|
|
239
|
-
className?: string;
|
|
240
|
-
}
|
|
241
207
|
/**
|
|
242
208
|
* Props for the NavbarEnterpriseMega component
|
|
243
209
|
*/
|
|
@@ -319,4 +285,4 @@ interface NavbarEnterpriseMegaProps {
|
|
|
319
285
|
*/
|
|
320
286
|
declare const NavbarEnterpriseMega: ({ className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, logoClassName, logo, logoSlot, menuLinks, actions, actionsSlot, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarEnterpriseMegaProps) => react_jsx_runtime.JSX.Element;
|
|
321
287
|
|
|
322
|
-
export { type IFeatureCategory, type IFeatureItem, type IFeaturedHeroCard,
|
|
288
|
+
export { type IFeatureCategory, type IFeatureItem, type IFeaturedHeroCard, ILinkItem, type ILocationItem, type IMenuLink, IMenuLinkGroup, type IPartnerCard, type IProductCategory, type IProductItem, type IRegionItem, type IResourceItem, type ISolutionCard, type ISubpageItem, type ITechnologyItem, type ITopicGroup, type ITopicItem, LogoConfig, type MegaMenuLayout, NavbarEnterpriseMega, type NavbarEnterpriseMegaProps };
|
|
@@ -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-2
|
|
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
|
)
|
|
@@ -1256,7 +1256,7 @@ var NavbarEnterpriseMega = ({
|
|
|
1256
1256
|
background,
|
|
1257
1257
|
spacing,
|
|
1258
1258
|
className: cn(
|
|
1259
|
-
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center border-b",
|
|
1259
|
+
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center border-b border-border/50 shadow-sm",
|
|
1260
1260
|
className
|
|
1261
1261
|
),
|
|
1262
1262
|
pattern,
|
|
@@ -1051,7 +1051,7 @@ function NavigationMenuTrigger({
|
|
|
1051
1051
|
DynamicIcon,
|
|
1052
1052
|
{
|
|
1053
1053
|
name: "lucide/chevron-down",
|
|
1054
|
-
className: "relative top-[1px] ml-1 size-2
|
|
1054
|
+
className: "relative top-[1px] ml-1 size-2 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1055
1055
|
"aria-hidden": "true"
|
|
1056
1056
|
}
|
|
1057
1057
|
)
|
|
@@ -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';
|
|
@@ -12,16 +13,6 @@ interface FeatureItem {
|
|
|
12
13
|
description: string;
|
|
13
14
|
href: string;
|
|
14
15
|
}
|
|
15
|
-
/**
|
|
16
|
-
* Logo configuration interface
|
|
17
|
-
*/
|
|
18
|
-
interface LogoConfig {
|
|
19
|
-
url?: string;
|
|
20
|
-
src?: string;
|
|
21
|
-
alt?: string;
|
|
22
|
-
title?: React.ReactNode;
|
|
23
|
-
className?: string;
|
|
24
|
-
}
|
|
25
16
|
/**
|
|
26
17
|
* Props for the NavbarFeatureGrid component
|
|
27
18
|
*/
|