@opensite/ui 3.4.9 → 3.5.0
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/components.cjs +13 -7
- package/dist/components.js +13 -7
- package/dist/footer-accordion-social.cjs +1 -1
- package/dist/footer-accordion-social.js +1 -1
- package/dist/footer-animated-social.cjs +1 -1
- package/dist/footer-animated-social.js +1 -1
- package/dist/footer-background-card.cjs +1 -1
- package/dist/footer-background-card.js +1 -1
- package/dist/footer-brand-description.cjs +1 -0
- package/dist/footer-brand-description.js +1 -0
- package/dist/footer-brand-links-contact.cjs +1 -1
- package/dist/footer-brand-links-contact.js +1 -1
- package/dist/footer-comprehensive-links.cjs +1 -1
- package/dist/footer-comprehensive-links.js +1 -1
- package/dist/footer-contact-card.cjs +1 -1
- package/dist/footer-contact-card.js +1 -1
- package/dist/footer-cta-banner.cjs +1 -1
- package/dist/footer-cta-banner.js +1 -1
- package/dist/footer-cta-social.cjs +1 -1
- package/dist/footer-cta-social.js +1 -1
- package/dist/footer-info-cards-accordion.cjs +1 -1
- package/dist/footer-info-cards-accordion.js +1 -1
- package/dist/footer-links-grid.cjs +1 -0
- package/dist/footer-links-grid.js +1 -0
- package/dist/footer-nav-social.cjs +1 -0
- package/dist/footer-nav-social.js +1 -0
- package/dist/footer-newsletter-contact.cjs +1 -1
- package/dist/footer-newsletter-contact.js +1 -1
- package/dist/footer-newsletter-grid.cjs +1 -0
- package/dist/footer-newsletter-grid.js +1 -0
- package/dist/footer-newsletter-minimal.cjs +1 -1
- package/dist/footer-newsletter-minimal.js +1 -1
- package/dist/footer-simple-centered.cjs +1 -1
- package/dist/footer-simple-centered.js +1 -1
- package/dist/footer-social-apps.cjs +1 -0
- package/dist/footer-social-apps.js +1 -0
- package/dist/footer-social-newsletter.cjs +1 -0
- package/dist/footer-social-newsletter.js +1 -0
- package/dist/footer-split-image-accordion.cjs +1 -1
- package/dist/footer-split-image-accordion.js +1 -1
- package/dist/hero-stats-social-proof.cjs +35 -5
- package/dist/hero-stats-social-proof.d.cts +1 -1
- package/dist/hero-stats-social-proof.d.ts +1 -1
- package/dist/hero-stats-social-proof.js +19 -4
- package/dist/index.cjs +13 -7
- package/dist/index.js +13 -7
- package/dist/navbar-animated-preview.cjs +1 -0
- package/dist/navbar-animated-preview.d.cts +15 -1
- package/dist/navbar-animated-preview.d.ts +15 -1
- package/dist/navbar-animated-preview.js +1 -0
- package/dist/navbar-centered-menu.cjs +1 -1
- package/dist/navbar-centered-menu.d.cts +15 -1
- package/dist/navbar-centered-menu.d.ts +15 -1
- package/dist/navbar-centered-menu.js +1 -1
- package/dist/navbar-dark-icons.cjs +1 -1
- package/dist/navbar-dark-icons.d.cts +15 -1
- package/dist/navbar-dark-icons.d.ts +15 -1
- package/dist/navbar-dark-icons.js +1 -1
- package/dist/navbar-dropdown-menu.cjs +1 -1
- package/dist/navbar-dropdown-menu.d.cts +15 -1
- package/dist/navbar-dropdown-menu.d.ts +15 -1
- package/dist/navbar-dropdown-menu.js +1 -1
- package/dist/navbar-education-platform.cjs +1 -0
- package/dist/navbar-education-platform.d.cts +15 -1
- package/dist/navbar-education-platform.d.ts +15 -1
- package/dist/navbar-education-platform.js +1 -0
- package/dist/navbar-enterprise-mega.cjs +2 -1
- package/dist/navbar-enterprise-mega.d.cts +15 -1
- package/dist/navbar-enterprise-mega.d.ts +15 -1
- package/dist/navbar-enterprise-mega.js +2 -1
- package/dist/navbar-feature-grid.cjs +1 -1
- package/dist/navbar-feature-grid.d.cts +19 -1
- package/dist/navbar-feature-grid.d.ts +19 -1
- package/dist/navbar-feature-grid.js +1 -1
- package/dist/navbar-floating-pill.cjs +1 -1
- package/dist/navbar-floating-pill.d.cts +15 -1
- package/dist/navbar-floating-pill.d.ts +15 -1
- package/dist/navbar-floating-pill.js +1 -1
- package/dist/navbar-fullscreen-menu.cjs +1 -0
- package/dist/navbar-fullscreen-menu.d.cts +15 -1
- package/dist/navbar-fullscreen-menu.d.ts +15 -1
- package/dist/navbar-fullscreen-menu.js +1 -0
- package/dist/navbar-icon-links.cjs +1 -1
- package/dist/navbar-icon-links.d.cts +15 -1
- package/dist/navbar-icon-links.d.ts +15 -1
- package/dist/navbar-icon-links.js +1 -1
- package/dist/navbar-image-preview.cjs +1 -1
- package/dist/navbar-image-preview.d.cts +15 -1
- package/dist/navbar-image-preview.d.ts +15 -1
- package/dist/navbar-image-preview.js +1 -1
- package/dist/navbar-mega-menu.cjs +1 -1
- package/dist/navbar-mega-menu.d.cts +15 -1
- package/dist/navbar-mega-menu.d.ts +15 -1
- package/dist/navbar-mega-menu.js +1 -1
- package/dist/navbar-multi-column-groups.cjs +1 -0
- package/dist/navbar-multi-column-groups.d.cts +15 -1
- package/dist/navbar-multi-column-groups.d.ts +15 -1
- package/dist/navbar-multi-column-groups.js +1 -0
- package/dist/navbar-platform-resources.cjs +40 -7
- package/dist/navbar-platform-resources.d.cts +16 -2
- package/dist/navbar-platform-resources.d.ts +16 -2
- package/dist/navbar-platform-resources.js +40 -7
- package/dist/navbar-search-focused.cjs +1 -0
- package/dist/navbar-search-focused.d.cts +19 -1
- package/dist/navbar-search-focused.d.ts +19 -1
- package/dist/navbar-search-focused.js +1 -0
- package/dist/navbar-sidebar-mobile.cjs +1 -0
- package/dist/navbar-sidebar-mobile.d.cts +15 -1
- package/dist/navbar-sidebar-mobile.d.ts +15 -1
- package/dist/navbar-sidebar-mobile.js +1 -0
- package/dist/navbar-simple-links.cjs +1 -0
- package/dist/navbar-simple-links.d.cts +19 -1
- package/dist/navbar-simple-links.d.ts +19 -1
- package/dist/navbar-simple-links.js +1 -0
- package/dist/navbar-split-cta.cjs +1 -1
- package/dist/navbar-split-cta.d.cts +15 -1
- package/dist/navbar-split-cta.d.ts +15 -1
- package/dist/navbar-split-cta.js +1 -1
- package/dist/navbar-sticky-compact.cjs +1 -0
- package/dist/navbar-sticky-compact.d.cts +15 -1
- package/dist/navbar-sticky-compact.d.ts +15 -1
- package/dist/navbar-sticky-compact.js +1 -0
- package/dist/navbar-tabbed-sections.cjs +1 -1
- package/dist/navbar-tabbed-sections.d.cts +15 -1
- package/dist/navbar-tabbed-sections.d.ts +15 -1
- package/dist/navbar-tabbed-sections.js +1 -1
- package/dist/navbar-transparent-overlay.cjs +1 -0
- package/dist/navbar-transparent-overlay.d.cts +15 -1
- package/dist/navbar-transparent-overlay.d.ts +15 -1
- package/dist/navbar-transparent-overlay.js +1 -0
- package/dist/registry.cjs +81 -32
- package/dist/registry.js +81 -32
- package/package.json +1 -1
package/dist/registry.js
CHANGED
|
@@ -4189,6 +4189,7 @@ function FooterLinksGrid({
|
|
|
4189
4189
|
return /* @__PURE__ */ jsx(
|
|
4190
4190
|
Section,
|
|
4191
4191
|
{
|
|
4192
|
+
id: "footer-links-grid",
|
|
4192
4193
|
background,
|
|
4193
4194
|
spacing,
|
|
4194
4195
|
pattern,
|
|
@@ -4307,6 +4308,7 @@ function FooterSocialNewsletter({
|
|
|
4307
4308
|
return /* @__PURE__ */ jsx(
|
|
4308
4309
|
Section,
|
|
4309
4310
|
{
|
|
4311
|
+
id: "footer-social-newsletter",
|
|
4310
4312
|
background,
|
|
4311
4313
|
spacing,
|
|
4312
4314
|
pattern,
|
|
@@ -4464,6 +4466,7 @@ function FooterSocialApps({
|
|
|
4464
4466
|
return /* @__PURE__ */ jsx(
|
|
4465
4467
|
Section,
|
|
4466
4468
|
{
|
|
4469
|
+
id: "footer-social-apps",
|
|
4467
4470
|
background,
|
|
4468
4471
|
spacing,
|
|
4469
4472
|
pattern,
|
|
@@ -4579,7 +4582,7 @@ function FooterSimpleCentered({
|
|
|
4579
4582
|
return /* @__PURE__ */ jsx(
|
|
4580
4583
|
Section,
|
|
4581
4584
|
{
|
|
4582
|
-
id:
|
|
4585
|
+
id: "footer-simple-centered",
|
|
4583
4586
|
background,
|
|
4584
4587
|
spacing,
|
|
4585
4588
|
pattern,
|
|
@@ -4709,6 +4712,7 @@ function FooterBrandDescription({
|
|
|
4709
4712
|
return /* @__PURE__ */ jsx(
|
|
4710
4713
|
Section,
|
|
4711
4714
|
{
|
|
4715
|
+
id: "footer-brand-description",
|
|
4712
4716
|
background,
|
|
4713
4717
|
spacing,
|
|
4714
4718
|
pattern,
|
|
@@ -4920,6 +4924,7 @@ function FooterNewsletterGrid({
|
|
|
4920
4924
|
return /* @__PURE__ */ jsx(
|
|
4921
4925
|
Section,
|
|
4922
4926
|
{
|
|
4927
|
+
id: "footer-newsletter-grid",
|
|
4923
4928
|
background,
|
|
4924
4929
|
spacing,
|
|
4925
4930
|
pattern,
|
|
@@ -5036,7 +5041,7 @@ function FooterCtaBanner({
|
|
|
5036
5041
|
return /* @__PURE__ */ jsx(
|
|
5037
5042
|
Section,
|
|
5038
5043
|
{
|
|
5039
|
-
id:
|
|
5044
|
+
id: "footer-cta-banner",
|
|
5040
5045
|
background,
|
|
5041
5046
|
spacing,
|
|
5042
5047
|
pattern,
|
|
@@ -5257,7 +5262,7 @@ function FooterContactCard({
|
|
|
5257
5262
|
return /* @__PURE__ */ jsx(
|
|
5258
5263
|
Section,
|
|
5259
5264
|
{
|
|
5260
|
-
id:
|
|
5265
|
+
id: "footer-contact-card",
|
|
5261
5266
|
background,
|
|
5262
5267
|
spacing,
|
|
5263
5268
|
pattern,
|
|
@@ -5442,7 +5447,7 @@ function FooterBackgroundCard({
|
|
|
5442
5447
|
return /* @__PURE__ */ jsx(
|
|
5443
5448
|
Section,
|
|
5444
5449
|
{
|
|
5445
|
-
id:
|
|
5450
|
+
id: "footer-background-card",
|
|
5446
5451
|
background,
|
|
5447
5452
|
spacing,
|
|
5448
5453
|
pattern,
|
|
@@ -5742,7 +5747,7 @@ function FooterAnimatedSocial({
|
|
|
5742
5747
|
return /* @__PURE__ */ jsx(
|
|
5743
5748
|
Section,
|
|
5744
5749
|
{
|
|
5745
|
-
id:
|
|
5750
|
+
id: "footer-animated-social",
|
|
5746
5751
|
background,
|
|
5747
5752
|
spacing,
|
|
5748
5753
|
pattern,
|
|
@@ -6010,7 +6015,7 @@ function FooterNewsletterMinimal({
|
|
|
6010
6015
|
return /* @__PURE__ */ jsx(
|
|
6011
6016
|
Section,
|
|
6012
6017
|
{
|
|
6013
|
-
id:
|
|
6018
|
+
id: "footer-newsletter-minimal",
|
|
6014
6019
|
background,
|
|
6015
6020
|
spacing,
|
|
6016
6021
|
pattern,
|
|
@@ -6227,7 +6232,7 @@ function FooterCtaSocial({
|
|
|
6227
6232
|
return /* @__PURE__ */ jsx(
|
|
6228
6233
|
Section,
|
|
6229
6234
|
{
|
|
6230
|
-
id:
|
|
6235
|
+
id: "footer-cta-social",
|
|
6231
6236
|
background,
|
|
6232
6237
|
spacing,
|
|
6233
6238
|
pattern,
|
|
@@ -6362,6 +6367,7 @@ function FooterNavSocial({
|
|
|
6362
6367
|
return /* @__PURE__ */ jsx(
|
|
6363
6368
|
Section,
|
|
6364
6369
|
{
|
|
6370
|
+
id: "footer-nav-social",
|
|
6365
6371
|
background,
|
|
6366
6372
|
spacing,
|
|
6367
6373
|
pattern,
|
|
@@ -27692,7 +27698,7 @@ function FooterBrandLinksContact({
|
|
|
27692
27698
|
return /* @__PURE__ */ jsxs(
|
|
27693
27699
|
Section,
|
|
27694
27700
|
{
|
|
27695
|
-
id:
|
|
27701
|
+
id: "footer-brand-links-contact",
|
|
27696
27702
|
background,
|
|
27697
27703
|
spacing,
|
|
27698
27704
|
pattern,
|
|
@@ -27837,7 +27843,7 @@ function FooterComprehensiveLinks({
|
|
|
27837
27843
|
return /* @__PURE__ */ jsxs(
|
|
27838
27844
|
Section,
|
|
27839
27845
|
{
|
|
27840
|
-
id:
|
|
27846
|
+
id: "footer-comprehensive-links",
|
|
27841
27847
|
background,
|
|
27842
27848
|
spacing,
|
|
27843
27849
|
pattern,
|
|
@@ -42842,7 +42848,7 @@ function FooterNewsletterContact({
|
|
|
42842
42848
|
return /* @__PURE__ */ jsx(
|
|
42843
42849
|
Section,
|
|
42844
42850
|
{
|
|
42845
|
-
id:
|
|
42851
|
+
id: "footer-newsletter-contact",
|
|
42846
42852
|
background,
|
|
42847
42853
|
spacing,
|
|
42848
42854
|
pattern,
|
|
@@ -42989,7 +42995,7 @@ function FooterSplitImageAccordion({
|
|
|
42989
42995
|
return /* @__PURE__ */ jsx(
|
|
42990
42996
|
Section,
|
|
42991
42997
|
{
|
|
42992
|
-
id:
|
|
42998
|
+
id: "footer-split-image-accordion",
|
|
42993
42999
|
background,
|
|
42994
43000
|
spacing,
|
|
42995
43001
|
pattern,
|
|
@@ -43247,7 +43253,7 @@ function FooterAccordionSocial({
|
|
|
43247
43253
|
return /* @__PURE__ */ jsx(
|
|
43248
43254
|
Section,
|
|
43249
43255
|
{
|
|
43250
|
-
id:
|
|
43256
|
+
id: "footer-accordion-social",
|
|
43251
43257
|
background,
|
|
43252
43258
|
spacing,
|
|
43253
43259
|
pattern,
|
|
@@ -43369,7 +43375,7 @@ function FooterInfoCardsAccordion({
|
|
|
43369
43375
|
return /* @__PURE__ */ jsx(
|
|
43370
43376
|
Section,
|
|
43371
43377
|
{
|
|
43372
|
-
id:
|
|
43378
|
+
id: "footer-info-cards-accordion",
|
|
43373
43379
|
background,
|
|
43374
43380
|
spacing,
|
|
43375
43381
|
pattern,
|
|
@@ -56393,7 +56399,7 @@ function HeroStatsSocialProof({
|
|
|
56393
56399
|
"pr-4 md:pr-6 shadow-2xl bg-card text-card-foreground"
|
|
56394
56400
|
),
|
|
56395
56401
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
56396
|
-
statusCard.icon
|
|
56402
|
+
statusCard.icon ? /* @__PURE__ */ jsx("div", { className: "flex shrink-0 h-12 w-12 items-center justify-center rounded-full bg-primary text-primary-foreground shadow-lg", children: /* @__PURE__ */ jsx(DynamicIcon, { name: statusCard.icon }) }) : null,
|
|
56397
56403
|
/* @__PURE__ */ jsxs("div", { className: "text-balance", children: [
|
|
56398
56404
|
statusCard.title && /* @__PURE__ */ jsx("div", { className: "font-semibold text-sm md:text-md leading-snug", children: statusCard.title }),
|
|
56399
56405
|
statusCard.subtitle && /* @__PURE__ */ jsx("div", { className: "text-sm leading-snug tracking-tight", children: statusCard.subtitle })
|
|
@@ -63167,7 +63173,7 @@ var NavbarDropdownMenu = ({
|
|
|
63167
63173
|
return /* @__PURE__ */ jsx(
|
|
63168
63174
|
Section,
|
|
63169
63175
|
{
|
|
63170
|
-
id:
|
|
63176
|
+
id: "navbar-dropdown-menu",
|
|
63171
63177
|
background,
|
|
63172
63178
|
spacing: spacingOverride ?? spacing,
|
|
63173
63179
|
className: sectionClasses,
|
|
@@ -63395,7 +63401,7 @@ var NavbarCenteredMenu = ({
|
|
|
63395
63401
|
return /* @__PURE__ */ jsx(
|
|
63396
63402
|
Section,
|
|
63397
63403
|
{
|
|
63398
|
-
id:
|
|
63404
|
+
id: "navbar-centered-menu",
|
|
63399
63405
|
background,
|
|
63400
63406
|
spacing: spacingOverride ?? spacing,
|
|
63401
63407
|
className: sectionClasses,
|
|
@@ -63772,7 +63778,7 @@ var NavbarMegaMenu = ({
|
|
|
63772
63778
|
return /* @__PURE__ */ jsx(
|
|
63773
63779
|
Section,
|
|
63774
63780
|
{
|
|
63775
|
-
id:
|
|
63781
|
+
id: "navbar-mega-menu",
|
|
63776
63782
|
background,
|
|
63777
63783
|
spacing: spacingOverride ?? spacing,
|
|
63778
63784
|
className: sectionClasses,
|
|
@@ -64449,7 +64455,7 @@ var NavbarEnterpriseMega = ({
|
|
|
64449
64455
|
actions,
|
|
64450
64456
|
actionsSlot,
|
|
64451
64457
|
layoutVariant = "fullScreenContainerizedLinks",
|
|
64452
|
-
background,
|
|
64458
|
+
background = "white",
|
|
64453
64459
|
spacing,
|
|
64454
64460
|
pattern,
|
|
64455
64461
|
patternOpacity,
|
|
@@ -64504,6 +64510,7 @@ var NavbarEnterpriseMega = ({
|
|
|
64504
64510
|
/* @__PURE__ */ jsx(
|
|
64505
64511
|
Section,
|
|
64506
64512
|
{
|
|
64513
|
+
id: "navbar-enterprise-mega",
|
|
64507
64514
|
background,
|
|
64508
64515
|
spacing: spacingOverride ?? spacing,
|
|
64509
64516
|
className: cn(
|
|
@@ -64870,7 +64877,7 @@ var NavbarFeatureGrid = ({
|
|
|
64870
64877
|
return /* @__PURE__ */ jsx(
|
|
64871
64878
|
Section,
|
|
64872
64879
|
{
|
|
64873
|
-
id:
|
|
64880
|
+
id: "navbar-feature-grid",
|
|
64874
64881
|
background,
|
|
64875
64882
|
spacing: spacingOverride ?? spacing,
|
|
64876
64883
|
className: sectionClasses,
|
|
@@ -65061,7 +65068,7 @@ var NavbarFloatingPill = ({
|
|
|
65061
65068
|
return /* @__PURE__ */ jsx(
|
|
65062
65069
|
Section,
|
|
65063
65070
|
{
|
|
65064
|
-
id:
|
|
65071
|
+
id: "navbar-floating-pill",
|
|
65065
65072
|
background,
|
|
65066
65073
|
spacing: spacingOverride ?? spacing,
|
|
65067
65074
|
className: sectionClasses,
|
|
@@ -65279,8 +65286,41 @@ var NavbarPlatformResources = ({
|
|
|
65279
65286
|
const hasDropdownItems = (link) => Boolean(link.links?.length || link.dropdownGroups?.length);
|
|
65280
65287
|
const renderDropdownContent3 = (link) => {
|
|
65281
65288
|
const layout = link.layout || "simple-list";
|
|
65289
|
+
if (layout === "list-with-icons") {
|
|
65290
|
+
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "md:left-1/2 md:-translate-x-1/2 !w-[900px] max-w-[calc(100vw-2rem)] overflow-y-auto p-4 md:!w-[900px]", children: /* @__PURE__ */ jsx("div", { className: "grid w-full grid-cols-3 gap-4", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
65291
|
+
NavigationMenuLink,
|
|
65292
|
+
{
|
|
65293
|
+
href: getLinkUrl(item),
|
|
65294
|
+
className: "!flex h-full min-h-20 !w-full min-w-0 flex-row items-center gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
|
|
65295
|
+
children: [
|
|
65296
|
+
item.image && /* @__PURE__ */ jsx("div", { className: "h-12 w-12 shrink-0 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
|
|
65297
|
+
Img,
|
|
65298
|
+
{
|
|
65299
|
+
src: item.image,
|
|
65300
|
+
alt: typeof item.label === "string" ? item.label : "Menu item",
|
|
65301
|
+
className: "h-full w-full object-cover object-center",
|
|
65302
|
+
optixFlowConfig
|
|
65303
|
+
}
|
|
65304
|
+
) }),
|
|
65305
|
+
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsx(
|
|
65306
|
+
DynamicIcon,
|
|
65307
|
+
{
|
|
65308
|
+
name: item.icon || item.iconName,
|
|
65309
|
+
size: 18,
|
|
65310
|
+
className: "shrink-0"
|
|
65311
|
+
}
|
|
65312
|
+
) }),
|
|
65313
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1 overflow-hidden", children: [
|
|
65314
|
+
/* @__PURE__ */ jsx("div", { className: "break-words text-sm font-medium text-foreground", children: item.label }),
|
|
65315
|
+
item.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
|
|
65316
|
+
] })
|
|
65317
|
+
]
|
|
65318
|
+
},
|
|
65319
|
+
`${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
|
|
65320
|
+
)) }) });
|
|
65321
|
+
}
|
|
65282
65322
|
if (layout === "simple-list") {
|
|
65283
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "w-[400px] max-w-[calc(100vw-2rem)] p-3", children: /* @__PURE__ */ jsx("ul", { className: "w-full space-y-1", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsx(
|
|
65323
|
+
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "md:left-1/2 md:-translate-x-1/2 !w-[400px] max-w-[calc(100vw-2rem)] p-3 md:!w-[400px]", children: /* @__PURE__ */ jsx("ul", { className: "w-full space-y-1", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsx(
|
|
65284
65324
|
"li",
|
|
65285
65325
|
{
|
|
65286
65326
|
className: "w-full",
|
|
@@ -65312,7 +65352,7 @@ var NavbarPlatformResources = ({
|
|
|
65312
65352
|
if (layout === "featured-grid" && link.links && link.links.length > 0) {
|
|
65313
65353
|
const featuredItem = link.links[0];
|
|
65314
65354
|
const gridItems = link.links.slice(1);
|
|
65315
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "w-[900px] max-w-[calc(100vw-2rem)] p-6", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[minmax(260px,0.8fr)_minmax(0,1.2fr)] gap-8", children: [
|
|
65355
|
+
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "md:left-1/2 md:-translate-x-1/2 !w-[900px] max-w-[calc(100vw-2rem)] p-6 md:!w-[900px]", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[minmax(260px,0.8fr)_minmax(0,1.2fr)] gap-8", children: [
|
|
65316
65356
|
/* @__PURE__ */ jsx(
|
|
65317
65357
|
NavigationMenuLink,
|
|
65318
65358
|
{
|
|
@@ -65361,7 +65401,7 @@ var NavbarPlatformResources = ({
|
|
|
65361
65401
|
}
|
|
65362
65402
|
if (layout === "two-column-cta" && link.dropdownGroups && link.dropdownGroups.length > 0) {
|
|
65363
65403
|
const ctaItem = link.links && link.links.length > 0 ? link.links[link.links.length - 1] : null;
|
|
65364
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "w-[900px] max-w-[calc(100vw-2rem)] p-6", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[minmax(0,1fr)_minmax(0,1fr)] gap-4", children: [
|
|
65404
|
+
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "md:left-1/2 md:-translate-x-1/2 !w-[900px] max-w-[calc(100vw-2rem)] p-6 md:!w-[900px]", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[minmax(0,1fr)_minmax(0,1fr)] gap-4", children: [
|
|
65365
65405
|
/* @__PURE__ */ jsx("div", { className: "min-w-0", children: link.dropdownGroups[0] && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
65366
65406
|
/* @__PURE__ */ jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: link.dropdownGroups[0].label }),
|
|
65367
65407
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-4", children: link.dropdownGroups[0].links.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
@@ -65413,7 +65453,7 @@ var NavbarPlatformResources = ({
|
|
|
65413
65453
|
if (layout === "list-showcase" && link.dropdownGroups && link.dropdownGroups.length > 0) {
|
|
65414
65454
|
const listItems = link.dropdownGroups[0].links;
|
|
65415
65455
|
const showcaseItems = link.links || [];
|
|
65416
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "w-[900px] max-w-[calc(100vw-2rem)] p-6", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[minmax(260px,0.7fr)_minmax(0,1.3fr)] gap-8", children: [
|
|
65456
|
+
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "md:left-1/2 md:-translate-x-1/2 !w-[900px] max-w-[calc(100vw-2rem)] p-6 md:!w-[900px]", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[minmax(260px,0.7fr)_minmax(0,1.3fr)] gap-8", children: [
|
|
65417
65457
|
/* @__PURE__ */ jsx("div", { className: "min-w-0", children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
65418
65458
|
/* @__PURE__ */ jsx("div", { className: "mb-4 text-xs tracking-widest text-muted-foreground uppercase", children: link.dropdownGroups[0].label }),
|
|
65419
65459
|
link.dropdownGroups[0].description && /* @__PURE__ */ jsx("div", { className: "mb-6 text-sm font-normal text-muted-foreground", children: link.dropdownGroups[0].description }),
|
|
@@ -65463,7 +65503,7 @@ var NavbarPlatformResources = ({
|
|
|
65463
65503
|
}
|
|
65464
65504
|
if (layout === "multi-section" && link.dropdownGroups) {
|
|
65465
65505
|
const ctaItem = link.links && link.links.length > 0 ? link.links[link.links.length - 1] : null;
|
|
65466
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "w-[900px] max-w-[calc(100vw-2rem)] p-8", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-8", children: [
|
|
65506
|
+
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "md:left-1/2 md:-translate-x-1/2 !w-[900px] max-w-[calc(100vw-2rem)] p-8 md:!w-[900px]", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-8", children: [
|
|
65467
65507
|
link.dropdownGroups.map((group, groupIndex) => /* @__PURE__ */ jsxs(
|
|
65468
65508
|
"div",
|
|
65469
65509
|
{
|
|
@@ -65516,7 +65556,7 @@ var NavbarPlatformResources = ({
|
|
|
65516
65556
|
] })
|
|
65517
65557
|
] }) });
|
|
65518
65558
|
}
|
|
65519
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "w-[900px] max-w-[calc(100vw-2rem)] p-4", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
65559
|
+
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "md:left-1/2 md:-translate-x-1/2 !w-[900px] max-w-[calc(100vw-2rem)] p-4 md:!w-[900px]", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
65520
65560
|
NavigationMenuLink,
|
|
65521
65561
|
{
|
|
65522
65562
|
href: getLinkUrl(item),
|
|
@@ -65571,7 +65611,7 @@ var NavbarPlatformResources = ({
|
|
|
65571
65611
|
return /* @__PURE__ */ jsx(
|
|
65572
65612
|
Section,
|
|
65573
65613
|
{
|
|
65574
|
-
id:
|
|
65614
|
+
id: "navbar-platform-resources",
|
|
65575
65615
|
background,
|
|
65576
65616
|
spacing: spacingOverride ?? spacing,
|
|
65577
65617
|
className: sectionClasses,
|
|
@@ -65839,7 +65879,7 @@ var NavbarImagePreview = ({
|
|
|
65839
65879
|
return /* @__PURE__ */ jsxs(
|
|
65840
65880
|
Section,
|
|
65841
65881
|
{
|
|
65842
|
-
id:
|
|
65882
|
+
id: "navbar-image-preview",
|
|
65843
65883
|
background,
|
|
65844
65884
|
spacing: spacingOverride ?? spacing,
|
|
65845
65885
|
className: sectionClasses,
|
|
@@ -66222,7 +66262,7 @@ var NavbarDarkIcons = ({
|
|
|
66222
66262
|
return /* @__PURE__ */ jsxs(
|
|
66223
66263
|
Section,
|
|
66224
66264
|
{
|
|
66225
|
-
id:
|
|
66265
|
+
id: "navbar-dark-icons",
|
|
66226
66266
|
background,
|
|
66227
66267
|
spacing: spacingOverride ?? spacing,
|
|
66228
66268
|
className: cn("dark pointer-events-auto relative z-999", sectionClasses),
|
|
@@ -66572,6 +66612,7 @@ var NavbarAnimatedPreview = ({
|
|
|
66572
66612
|
/* @__PURE__ */ jsx(
|
|
66573
66613
|
Section,
|
|
66574
66614
|
{
|
|
66615
|
+
id: "navbar-animated-preview",
|
|
66575
66616
|
background,
|
|
66576
66617
|
spacing: spacingOverride ?? spacing,
|
|
66577
66618
|
className: cn(
|
|
@@ -67097,6 +67138,7 @@ var NavbarMultiColumnGroups = ({
|
|
|
67097
67138
|
/* @__PURE__ */ jsx(
|
|
67098
67139
|
Section,
|
|
67099
67140
|
{
|
|
67141
|
+
id: "navbar-multi-column-groups",
|
|
67100
67142
|
background,
|
|
67101
67143
|
spacing: spacingOverride ?? spacing,
|
|
67102
67144
|
className: sectionClasses,
|
|
@@ -67410,6 +67452,7 @@ var NavbarSidebarMobile = ({
|
|
|
67410
67452
|
/* @__PURE__ */ jsx(
|
|
67411
67453
|
Section,
|
|
67412
67454
|
{
|
|
67455
|
+
id: "navbar-sidebar-mobile",
|
|
67413
67456
|
background,
|
|
67414
67457
|
spacing: spacingOverride ?? spacing,
|
|
67415
67458
|
className: sectionClasses,
|
|
@@ -67732,6 +67775,7 @@ var NavbarTransparentOverlay = ({
|
|
|
67732
67775
|
/* @__PURE__ */ jsx(
|
|
67733
67776
|
Section,
|
|
67734
67777
|
{
|
|
67778
|
+
id: "navbar-transparent-overlay",
|
|
67735
67779
|
background,
|
|
67736
67780
|
spacing: spacingOverride ?? spacing,
|
|
67737
67781
|
className: sectionClasses,
|
|
@@ -67994,6 +68038,7 @@ var NavbarEducationPlatform = ({
|
|
|
67994
68038
|
/* @__PURE__ */ jsx(
|
|
67995
68039
|
Section,
|
|
67996
68040
|
{
|
|
68041
|
+
id: "navbar-education-platform",
|
|
67997
68042
|
background,
|
|
67998
68043
|
spacing: spacingOverride ?? spacing,
|
|
67999
68044
|
className: sectionClasses,
|
|
@@ -68358,6 +68403,7 @@ var NavbarStickyCompact = ({
|
|
|
68358
68403
|
/* @__PURE__ */ jsx(
|
|
68359
68404
|
Section,
|
|
68360
68405
|
{
|
|
68406
|
+
id: "navbar-sticky-compact",
|
|
68361
68407
|
background,
|
|
68362
68408
|
spacing: spacingOverride ?? spacing,
|
|
68363
68409
|
className: cn(
|
|
@@ -68629,6 +68675,7 @@ var NavbarSearchFocused = ({
|
|
|
68629
68675
|
/* @__PURE__ */ jsx(
|
|
68630
68676
|
Section,
|
|
68631
68677
|
{
|
|
68678
|
+
id: "navbar-search-focused",
|
|
68632
68679
|
background,
|
|
68633
68680
|
spacing: spacingOverride ?? spacing,
|
|
68634
68681
|
className: sectionClasses,
|
|
@@ -68896,6 +68943,7 @@ var NavbarSimpleLinks = ({
|
|
|
68896
68943
|
/* @__PURE__ */ jsx(
|
|
68897
68944
|
Section,
|
|
68898
68945
|
{
|
|
68946
|
+
id: "navbar-simple-links",
|
|
68899
68947
|
background,
|
|
68900
68948
|
spacing: spacingOverride ?? spacing,
|
|
68901
68949
|
className: sectionClasses,
|
|
@@ -69117,7 +69165,7 @@ var NavbarSplitCta = ({
|
|
|
69117
69165
|
return /* @__PURE__ */ jsx(
|
|
69118
69166
|
Section,
|
|
69119
69167
|
{
|
|
69120
|
-
id:
|
|
69168
|
+
id: "navbar-split-cta",
|
|
69121
69169
|
background,
|
|
69122
69170
|
spacing: spacingOverride ?? spacing,
|
|
69123
69171
|
className: sectionClasses,
|
|
@@ -69336,7 +69384,7 @@ var NavbarIconLinks = ({
|
|
|
69336
69384
|
return /* @__PURE__ */ jsx(
|
|
69337
69385
|
Section,
|
|
69338
69386
|
{
|
|
69339
|
-
id:
|
|
69387
|
+
id: "navbar-icon-links",
|
|
69340
69388
|
background,
|
|
69341
69389
|
spacing: spacingOverride ?? spacing,
|
|
69342
69390
|
className: sectionClasses,
|
|
@@ -69659,7 +69707,7 @@ var NavbarTabbedSections = ({
|
|
|
69659
69707
|
return /* @__PURE__ */ jsx(
|
|
69660
69708
|
Section,
|
|
69661
69709
|
{
|
|
69662
|
-
id:
|
|
69710
|
+
id: "navbar-tabbed-sections",
|
|
69663
69711
|
background,
|
|
69664
69712
|
spacing: spacingOverride ?? spacing,
|
|
69665
69713
|
className: sectionClasses,
|
|
@@ -69807,6 +69855,7 @@ var NavbarFullscreenMenu = ({
|
|
|
69807
69855
|
/* @__PURE__ */ jsx(
|
|
69808
69856
|
Section,
|
|
69809
69857
|
{
|
|
69858
|
+
id: "navbar-fullscreen-menu",
|
|
69810
69859
|
background,
|
|
69811
69860
|
spacing: spacingOverride ?? spacing,
|
|
69812
69861
|
className: sectionClasses,
|