@opensite/ui 3.6.8 → 3.6.9
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/hero-event-registration.cjs +48 -6
- package/dist/hero-event-registration.d.cts +15 -6
- package/dist/hero-event-registration.d.ts +15 -6
- package/dist/hero-event-registration.js +48 -6
- package/dist/hero-fullscreen-background-image.cjs +3 -3
- package/dist/hero-fullscreen-background-image.js +3 -3
- package/dist/hero-mentorship-video-split.cjs +0 -2
- package/dist/hero-mentorship-video-split.js +0 -2
- package/dist/hero-pattern-badge-logos.cjs +6 -6
- package/dist/hero-pattern-badge-logos.js +6 -6
- package/dist/hero-presentation-platform-video.cjs +5 -2
- package/dist/hero-presentation-platform-video.js +5 -2
- package/dist/registry.cjs +20 -19
- package/dist/registry.js +20 -19
- package/dist/social-link-icon.d.cts +1 -1
- package/dist/social-link-icon.d.ts +1 -1
- package/package.json +1 -1
|
@@ -534,6 +534,48 @@ function ActionComponent({ action }) {
|
|
|
534
534
|
}
|
|
535
535
|
);
|
|
536
536
|
}
|
|
537
|
+
var SIZE_CLASSES = {
|
|
538
|
+
sm: "max-h-6 sm:max-h-7",
|
|
539
|
+
md: "max-h-8 sm:max-h-9 lg:max-h-10",
|
|
540
|
+
lg: "max-h-10 sm:max-h-12 lg:max-h-14",
|
|
541
|
+
xl: "max-h-12 sm:max-h-14 lg:max-h-16"
|
|
542
|
+
};
|
|
543
|
+
var BrandLogo = ({
|
|
544
|
+
logo,
|
|
545
|
+
logoSlot,
|
|
546
|
+
logoClassName,
|
|
547
|
+
size = "md",
|
|
548
|
+
optixFlowConfig
|
|
549
|
+
}) => {
|
|
550
|
+
if (logoSlot) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: logoSlot });
|
|
551
|
+
if (!logo || !logo.src) return null;
|
|
552
|
+
const imgElement = /* @__PURE__ */ jsxRuntime.jsx(
|
|
553
|
+
img.Img,
|
|
554
|
+
{
|
|
555
|
+
src: logo.src,
|
|
556
|
+
className: cn(
|
|
557
|
+
"w-auto object-contain",
|
|
558
|
+
SIZE_CLASSES[size],
|
|
559
|
+
logo.className
|
|
560
|
+
),
|
|
561
|
+
alt: logo.alt || "Logo",
|
|
562
|
+
optixFlowConfig,
|
|
563
|
+
loading: "eager"
|
|
564
|
+
}
|
|
565
|
+
);
|
|
566
|
+
if (logo.url) {
|
|
567
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
568
|
+
pressable.Pressable,
|
|
569
|
+
{
|
|
570
|
+
href: logo.url,
|
|
571
|
+
className: cn("flex items-center", logoClassName),
|
|
572
|
+
children: imgElement
|
|
573
|
+
}
|
|
574
|
+
);
|
|
575
|
+
}
|
|
576
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex items-center", logoClassName), children: imgElement });
|
|
577
|
+
};
|
|
578
|
+
var brand_logo_default = BrandLogo;
|
|
537
579
|
function HeroEventRegistration({
|
|
538
580
|
sectionId = "hero-event-registration",
|
|
539
581
|
badgeText,
|
|
@@ -564,6 +606,8 @@ function HeroEventRegistration({
|
|
|
564
606
|
imageClassName,
|
|
565
607
|
optixFlowConfig,
|
|
566
608
|
logo,
|
|
609
|
+
logoSlot,
|
|
610
|
+
logoClassName,
|
|
567
611
|
directionConfig = { desktop: "mediaRight", mobile: "mediaTop" }
|
|
568
612
|
}) {
|
|
569
613
|
const renderBadge = React.useMemo(() => {
|
|
@@ -721,13 +765,11 @@ function HeroEventRegistration({
|
|
|
721
765
|
),
|
|
722
766
|
children: [
|
|
723
767
|
renderBadge,
|
|
724
|
-
logo && /* @__PURE__ */ jsxRuntime.jsx(
|
|
725
|
-
|
|
768
|
+
(logo || logoSlot) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
769
|
+
"div",
|
|
726
770
|
{
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
className: "w-auto max-w-full h-12 md:h-14 object-contain my-4",
|
|
730
|
-
optixFlowConfig
|
|
771
|
+
className: cn("mb-1 mt-4 flex justify-start", logoClassName),
|
|
772
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(brand_logo_default, { logo, logoSlot, size: "lg" })
|
|
731
773
|
}
|
|
732
774
|
),
|
|
733
775
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Cgd-IXlI.cjs';
|
|
3
|
+
import { L as LogoConfig } from './types-mWZcgKth.cjs';
|
|
3
4
|
import { A as ActionConfig, k as StatItem, I as ImageItem, O as OptixFlowConfig } from './blocks-DyouPohq.cjs';
|
|
4
5
|
import 'react/jsx-runtime';
|
|
6
|
+
import './dynamic-icon.cjs';
|
|
7
|
+
import '@page-speed/icon';
|
|
5
8
|
import 'class-variance-authority';
|
|
6
9
|
import '@page-speed/pressable';
|
|
7
10
|
import '@opensite/hooks/usePlatformFromUrl';
|
|
@@ -119,12 +122,18 @@ interface HeroEventRegistrationProps {
|
|
|
119
122
|
*/
|
|
120
123
|
optixFlowConfig?: OptixFlowConfig;
|
|
121
124
|
/**
|
|
122
|
-
*
|
|
125
|
+
* Brand logo configuration — renders centered above the heading.
|
|
126
|
+
* LOGO MEDIA ONLY. Do not use photos, hero images, or video assets.
|
|
123
127
|
*/
|
|
124
|
-
logo?:
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
+
logo?: LogoConfig;
|
|
129
|
+
/**
|
|
130
|
+
* Custom slot for logo (overrides logo prop)
|
|
131
|
+
*/
|
|
132
|
+
logoSlot?: React.ReactNode;
|
|
133
|
+
/**
|
|
134
|
+
* Additional CSS classes for the logo container
|
|
135
|
+
*/
|
|
136
|
+
logoClassName?: string;
|
|
128
137
|
/**
|
|
129
138
|
* Direction configuration for desktop and mobile layouts
|
|
130
139
|
* @default { desktop: 'mediaRight', mobile: 'mediaTop' }
|
|
@@ -133,6 +142,6 @@ interface HeroEventRegistrationProps {
|
|
|
133
142
|
/** Optional Section ID */
|
|
134
143
|
sectionId?: string;
|
|
135
144
|
}
|
|
136
|
-
declare function HeroEventRegistration({ sectionId, badgeText, badgeIcon, badgeSlot, heading, description, actions, actionsSlot, stats, statsSlot, image, imageSlot, locationLabel, locationSublabel, locationSlot, background, containerClassName, spacing, pattern, patternOpacity, className, contentClassName, headingClassName, descriptionClassName, actionsClassName, statsClassName, imageClassName, optixFlowConfig, logo, directionConfig, }: HeroEventRegistrationProps): React.JSX.Element;
|
|
145
|
+
declare function HeroEventRegistration({ sectionId, badgeText, badgeIcon, badgeSlot, heading, description, actions, actionsSlot, stats, statsSlot, image, imageSlot, locationLabel, locationSublabel, locationSlot, background, containerClassName, spacing, pattern, patternOpacity, className, contentClassName, headingClassName, descriptionClassName, actionsClassName, statsClassName, imageClassName, optixFlowConfig, logo, logoSlot, logoClassName, directionConfig, }: HeroEventRegistrationProps): React.JSX.Element;
|
|
137
146
|
|
|
138
147
|
export { HeroEventRegistration, type HeroEventRegistrationProps };
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Dud0DKXB.js';
|
|
3
|
+
import { L as LogoConfig } from './types-hJ2R0GoH.js';
|
|
3
4
|
import { A as ActionConfig, k as StatItem, I as ImageItem, O as OptixFlowConfig } from './blocks-DyouPohq.js';
|
|
4
5
|
import 'react/jsx-runtime';
|
|
6
|
+
import './dynamic-icon.js';
|
|
7
|
+
import '@page-speed/icon';
|
|
5
8
|
import 'class-variance-authority';
|
|
6
9
|
import '@page-speed/pressable';
|
|
7
10
|
import '@opensite/hooks/usePlatformFromUrl';
|
|
@@ -119,12 +122,18 @@ interface HeroEventRegistrationProps {
|
|
|
119
122
|
*/
|
|
120
123
|
optixFlowConfig?: OptixFlowConfig;
|
|
121
124
|
/**
|
|
122
|
-
*
|
|
125
|
+
* Brand logo configuration — renders centered above the heading.
|
|
126
|
+
* LOGO MEDIA ONLY. Do not use photos, hero images, or video assets.
|
|
123
127
|
*/
|
|
124
|
-
logo?:
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
+
logo?: LogoConfig;
|
|
129
|
+
/**
|
|
130
|
+
* Custom slot for logo (overrides logo prop)
|
|
131
|
+
*/
|
|
132
|
+
logoSlot?: React.ReactNode;
|
|
133
|
+
/**
|
|
134
|
+
* Additional CSS classes for the logo container
|
|
135
|
+
*/
|
|
136
|
+
logoClassName?: string;
|
|
128
137
|
/**
|
|
129
138
|
* Direction configuration for desktop and mobile layouts
|
|
130
139
|
* @default { desktop: 'mediaRight', mobile: 'mediaTop' }
|
|
@@ -133,6 +142,6 @@ interface HeroEventRegistrationProps {
|
|
|
133
142
|
/** Optional Section ID */
|
|
134
143
|
sectionId?: string;
|
|
135
144
|
}
|
|
136
|
-
declare function HeroEventRegistration({ sectionId, badgeText, badgeIcon, badgeSlot, heading, description, actions, actionsSlot, stats, statsSlot, image, imageSlot, locationLabel, locationSublabel, locationSlot, background, containerClassName, spacing, pattern, patternOpacity, className, contentClassName, headingClassName, descriptionClassName, actionsClassName, statsClassName, imageClassName, optixFlowConfig, logo, directionConfig, }: HeroEventRegistrationProps): React.JSX.Element;
|
|
145
|
+
declare function HeroEventRegistration({ sectionId, badgeText, badgeIcon, badgeSlot, heading, description, actions, actionsSlot, stats, statsSlot, image, imageSlot, locationLabel, locationSublabel, locationSlot, background, containerClassName, spacing, pattern, patternOpacity, className, contentClassName, headingClassName, descriptionClassName, actionsClassName, statsClassName, imageClassName, optixFlowConfig, logo, logoSlot, logoClassName, directionConfig, }: HeroEventRegistrationProps): React.JSX.Element;
|
|
137
146
|
|
|
138
147
|
export { HeroEventRegistration, type HeroEventRegistrationProps };
|
|
@@ -513,6 +513,48 @@ function ActionComponent({ action }) {
|
|
|
513
513
|
}
|
|
514
514
|
);
|
|
515
515
|
}
|
|
516
|
+
var SIZE_CLASSES = {
|
|
517
|
+
sm: "max-h-6 sm:max-h-7",
|
|
518
|
+
md: "max-h-8 sm:max-h-9 lg:max-h-10",
|
|
519
|
+
lg: "max-h-10 sm:max-h-12 lg:max-h-14",
|
|
520
|
+
xl: "max-h-12 sm:max-h-14 lg:max-h-16"
|
|
521
|
+
};
|
|
522
|
+
var BrandLogo = ({
|
|
523
|
+
logo,
|
|
524
|
+
logoSlot,
|
|
525
|
+
logoClassName,
|
|
526
|
+
size = "md",
|
|
527
|
+
optixFlowConfig
|
|
528
|
+
}) => {
|
|
529
|
+
if (logoSlot) return /* @__PURE__ */ jsx(Fragment, { children: logoSlot });
|
|
530
|
+
if (!logo || !logo.src) return null;
|
|
531
|
+
const imgElement = /* @__PURE__ */ jsx(
|
|
532
|
+
Img,
|
|
533
|
+
{
|
|
534
|
+
src: logo.src,
|
|
535
|
+
className: cn(
|
|
536
|
+
"w-auto object-contain",
|
|
537
|
+
SIZE_CLASSES[size],
|
|
538
|
+
logo.className
|
|
539
|
+
),
|
|
540
|
+
alt: logo.alt || "Logo",
|
|
541
|
+
optixFlowConfig,
|
|
542
|
+
loading: "eager"
|
|
543
|
+
}
|
|
544
|
+
);
|
|
545
|
+
if (logo.url) {
|
|
546
|
+
return /* @__PURE__ */ jsx(
|
|
547
|
+
Pressable,
|
|
548
|
+
{
|
|
549
|
+
href: logo.url,
|
|
550
|
+
className: cn("flex items-center", logoClassName),
|
|
551
|
+
children: imgElement
|
|
552
|
+
}
|
|
553
|
+
);
|
|
554
|
+
}
|
|
555
|
+
return /* @__PURE__ */ jsx("div", { className: cn("flex items-center", logoClassName), children: imgElement });
|
|
556
|
+
};
|
|
557
|
+
var brand_logo_default = BrandLogo;
|
|
516
558
|
function HeroEventRegistration({
|
|
517
559
|
sectionId = "hero-event-registration",
|
|
518
560
|
badgeText,
|
|
@@ -543,6 +585,8 @@ function HeroEventRegistration({
|
|
|
543
585
|
imageClassName,
|
|
544
586
|
optixFlowConfig,
|
|
545
587
|
logo,
|
|
588
|
+
logoSlot,
|
|
589
|
+
logoClassName,
|
|
546
590
|
directionConfig = { desktop: "mediaRight", mobile: "mediaTop" }
|
|
547
591
|
}) {
|
|
548
592
|
const renderBadge = useMemo(() => {
|
|
@@ -700,13 +744,11 @@ function HeroEventRegistration({
|
|
|
700
744
|
),
|
|
701
745
|
children: [
|
|
702
746
|
renderBadge,
|
|
703
|
-
logo && /* @__PURE__ */ jsx(
|
|
704
|
-
|
|
747
|
+
(logo || logoSlot) && /* @__PURE__ */ jsx(
|
|
748
|
+
"div",
|
|
705
749
|
{
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
className: "w-auto max-w-full h-12 md:h-14 object-contain my-4",
|
|
709
|
-
optixFlowConfig
|
|
750
|
+
className: cn("mb-1 mt-4 flex justify-start", logoClassName),
|
|
751
|
+
children: /* @__PURE__ */ jsx(brand_logo_default, { logo, logoSlot, size: "lg" })
|
|
710
752
|
}
|
|
711
753
|
),
|
|
712
754
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
@@ -538,17 +538,17 @@ function HeroFullscreenBackgroundImage({
|
|
|
538
538
|
),
|
|
539
539
|
children: heading
|
|
540
540
|
}
|
|
541
|
-
) :
|
|
541
|
+
) : heading),
|
|
542
542
|
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
543
543
|
"p",
|
|
544
544
|
{
|
|
545
545
|
className: cn(
|
|
546
|
-
"text-center text-base text-balance text-white text-shadow-lg",
|
|
546
|
+
"text-center text-base text-balance text-white text-shadow-lg max-w-full md:max-w-sm",
|
|
547
547
|
descriptionClassName
|
|
548
548
|
),
|
|
549
549
|
children: description
|
|
550
550
|
}
|
|
551
|
-
) :
|
|
551
|
+
) : description),
|
|
552
552
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
553
553
|
BlockActions,
|
|
554
554
|
{
|
|
@@ -532,17 +532,17 @@ function HeroFullscreenBackgroundImage({
|
|
|
532
532
|
),
|
|
533
533
|
children: heading
|
|
534
534
|
}
|
|
535
|
-
) :
|
|
535
|
+
) : heading),
|
|
536
536
|
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
537
537
|
"p",
|
|
538
538
|
{
|
|
539
539
|
className: cn(
|
|
540
|
-
"text-center text-base text-balance text-white text-shadow-lg",
|
|
540
|
+
"text-center text-base text-balance text-white text-shadow-lg max-w-full md:max-w-sm",
|
|
541
541
|
descriptionClassName
|
|
542
542
|
),
|
|
543
543
|
children: description
|
|
544
544
|
}
|
|
545
|
-
) :
|
|
545
|
+
) : description),
|
|
546
546
|
/* @__PURE__ */ jsx(
|
|
547
547
|
BlockActions,
|
|
548
548
|
{
|
|
@@ -589,8 +589,6 @@ function HeroMentorshipVideoSplit({
|
|
|
589
589
|
pressable.Pressable,
|
|
590
590
|
{
|
|
591
591
|
onClick: () => setIsVideoOpen(true),
|
|
592
|
-
asButton: true,
|
|
593
|
-
variant: "ghost",
|
|
594
592
|
className: cn(
|
|
595
593
|
"group relative flex overflow-hidden rounded-lg p-0",
|
|
596
594
|
videoAspectRatio === "vertical" ? "h-36 w-20" : "h-20 w-36"
|
|
@@ -566,8 +566,6 @@ function HeroMentorshipVideoSplit({
|
|
|
566
566
|
Pressable,
|
|
567
567
|
{
|
|
568
568
|
onClick: () => setIsVideoOpen(true),
|
|
569
|
-
asButton: true,
|
|
570
|
-
variant: "ghost",
|
|
571
569
|
className: cn(
|
|
572
570
|
"group relative flex overflow-hidden rounded-lg p-0",
|
|
573
571
|
videoAspectRatio === "vertical" ? "h-36 w-20" : "h-20 w-36"
|
|
@@ -492,7 +492,7 @@ function HeroPatternBadgeLogos({
|
|
|
492
492
|
alt,
|
|
493
493
|
className: cn(
|
|
494
494
|
imgClassName,
|
|
495
|
-
"w-full h-
|
|
495
|
+
"w-full h-8 object-contain dark:hidden"
|
|
496
496
|
),
|
|
497
497
|
optixFlowConfig
|
|
498
498
|
}
|
|
@@ -504,7 +504,7 @@ function HeroPatternBadgeLogos({
|
|
|
504
504
|
alt,
|
|
505
505
|
className: cn(
|
|
506
506
|
imgClassName,
|
|
507
|
-
"w-full h-
|
|
507
|
+
"w-full h-8 object-contain hidden dark:block"
|
|
508
508
|
),
|
|
509
509
|
optixFlowConfig
|
|
510
510
|
}
|
|
@@ -514,7 +514,7 @@ function HeroPatternBadgeLogos({
|
|
|
514
514
|
{
|
|
515
515
|
src,
|
|
516
516
|
alt,
|
|
517
|
-
className: cn("w-full h-
|
|
517
|
+
className: cn("w-full h-8 object-contain", imgClassName),
|
|
518
518
|
optixFlowConfig
|
|
519
519
|
}
|
|
520
520
|
);
|
|
@@ -525,7 +525,7 @@ function HeroPatternBadgeLogos({
|
|
|
525
525
|
"div",
|
|
526
526
|
{
|
|
527
527
|
className: cn(
|
|
528
|
-
"w-auto max-h-
|
|
528
|
+
"w-auto max-h-8 h-8 flex items-center justify-center",
|
|
529
529
|
logoClassName
|
|
530
530
|
),
|
|
531
531
|
children: imgElement
|
|
@@ -563,7 +563,7 @@ function HeroPatternBadgeLogos({
|
|
|
563
563
|
),
|
|
564
564
|
children: heading
|
|
565
565
|
}
|
|
566
|
-
) :
|
|
566
|
+
) : heading),
|
|
567
567
|
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
568
568
|
"p",
|
|
569
569
|
{
|
|
@@ -573,7 +573,7 @@ function HeroPatternBadgeLogos({
|
|
|
573
573
|
),
|
|
574
574
|
children: description
|
|
575
575
|
}
|
|
576
|
-
) :
|
|
576
|
+
) : description)
|
|
577
577
|
] }),
|
|
578
578
|
(actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
579
579
|
"div",
|
|
@@ -486,7 +486,7 @@ function HeroPatternBadgeLogos({
|
|
|
486
486
|
alt,
|
|
487
487
|
className: cn(
|
|
488
488
|
imgClassName,
|
|
489
|
-
"w-full h-
|
|
489
|
+
"w-full h-8 object-contain dark:hidden"
|
|
490
490
|
),
|
|
491
491
|
optixFlowConfig
|
|
492
492
|
}
|
|
@@ -498,7 +498,7 @@ function HeroPatternBadgeLogos({
|
|
|
498
498
|
alt,
|
|
499
499
|
className: cn(
|
|
500
500
|
imgClassName,
|
|
501
|
-
"w-full h-
|
|
501
|
+
"w-full h-8 object-contain hidden dark:block"
|
|
502
502
|
),
|
|
503
503
|
optixFlowConfig
|
|
504
504
|
}
|
|
@@ -508,7 +508,7 @@ function HeroPatternBadgeLogos({
|
|
|
508
508
|
{
|
|
509
509
|
src,
|
|
510
510
|
alt,
|
|
511
|
-
className: cn("w-full h-
|
|
511
|
+
className: cn("w-full h-8 object-contain", imgClassName),
|
|
512
512
|
optixFlowConfig
|
|
513
513
|
}
|
|
514
514
|
);
|
|
@@ -519,7 +519,7 @@ function HeroPatternBadgeLogos({
|
|
|
519
519
|
"div",
|
|
520
520
|
{
|
|
521
521
|
className: cn(
|
|
522
|
-
"w-auto max-h-
|
|
522
|
+
"w-auto max-h-8 h-8 flex items-center justify-center",
|
|
523
523
|
logoClassName
|
|
524
524
|
),
|
|
525
525
|
children: imgElement
|
|
@@ -557,7 +557,7 @@ function HeroPatternBadgeLogos({
|
|
|
557
557
|
),
|
|
558
558
|
children: heading
|
|
559
559
|
}
|
|
560
|
-
) :
|
|
560
|
+
) : heading),
|
|
561
561
|
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
562
562
|
"p",
|
|
563
563
|
{
|
|
@@ -567,7 +567,7 @@ function HeroPatternBadgeLogos({
|
|
|
567
567
|
),
|
|
568
568
|
children: description
|
|
569
569
|
}
|
|
570
|
-
) :
|
|
570
|
+
) : description)
|
|
571
571
|
] }),
|
|
572
572
|
(actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx(
|
|
573
573
|
"div",
|
|
@@ -560,7 +560,7 @@ function HeroPresentationPlatformVideo({
|
|
|
560
560
|
_type: "text",
|
|
561
561
|
as: "h1",
|
|
562
562
|
className: cn(
|
|
563
|
-
"text-5xl font-medium md:text-6xl lg:text-7xl",
|
|
563
|
+
"text-5xl font-medium md:text-6xl lg:text-7xl text-pretty",
|
|
564
564
|
headingClassName
|
|
565
565
|
),
|
|
566
566
|
children: heading
|
|
@@ -574,7 +574,10 @@ function HeroPresentationPlatformVideo({
|
|
|
574
574
|
items.push({
|
|
575
575
|
_type: "text",
|
|
576
576
|
as: "p",
|
|
577
|
-
className: cn(
|
|
577
|
+
className: cn(
|
|
578
|
+
"my-0 md:my-8 md:text-xl text-balance",
|
|
579
|
+
descriptionClassName
|
|
580
|
+
),
|
|
578
581
|
children: description
|
|
579
582
|
});
|
|
580
583
|
} else {
|
|
@@ -539,7 +539,7 @@ function HeroPresentationPlatformVideo({
|
|
|
539
539
|
_type: "text",
|
|
540
540
|
as: "h1",
|
|
541
541
|
className: cn(
|
|
542
|
-
"text-5xl font-medium md:text-6xl lg:text-7xl",
|
|
542
|
+
"text-5xl font-medium md:text-6xl lg:text-7xl text-pretty",
|
|
543
543
|
headingClassName
|
|
544
544
|
),
|
|
545
545
|
children: heading
|
|
@@ -553,7 +553,10 @@ function HeroPresentationPlatformVideo({
|
|
|
553
553
|
items.push({
|
|
554
554
|
_type: "text",
|
|
555
555
|
as: "p",
|
|
556
|
-
className: cn(
|
|
556
|
+
className: cn(
|
|
557
|
+
"my-0 md:my-8 md:text-xl text-balance",
|
|
558
|
+
descriptionClassName
|
|
559
|
+
),
|
|
557
560
|
children: description
|
|
558
561
|
});
|
|
559
562
|
} else {
|
package/dist/registry.cjs
CHANGED
|
@@ -50870,7 +50870,7 @@ function HeroPatternBadgeLogos({
|
|
|
50870
50870
|
alt,
|
|
50871
50871
|
className: cn(
|
|
50872
50872
|
imgClassName,
|
|
50873
|
-
"w-full h-
|
|
50873
|
+
"w-full h-8 object-contain dark:hidden"
|
|
50874
50874
|
),
|
|
50875
50875
|
optixFlowConfig
|
|
50876
50876
|
}
|
|
@@ -50882,7 +50882,7 @@ function HeroPatternBadgeLogos({
|
|
|
50882
50882
|
alt,
|
|
50883
50883
|
className: cn(
|
|
50884
50884
|
imgClassName,
|
|
50885
|
-
"w-full h-
|
|
50885
|
+
"w-full h-8 object-contain hidden dark:block"
|
|
50886
50886
|
),
|
|
50887
50887
|
optixFlowConfig
|
|
50888
50888
|
}
|
|
@@ -50892,7 +50892,7 @@ function HeroPatternBadgeLogos({
|
|
|
50892
50892
|
{
|
|
50893
50893
|
src,
|
|
50894
50894
|
alt,
|
|
50895
|
-
className: cn("w-full h-
|
|
50895
|
+
className: cn("w-full h-8 object-contain", imgClassName),
|
|
50896
50896
|
optixFlowConfig
|
|
50897
50897
|
}
|
|
50898
50898
|
);
|
|
@@ -50903,7 +50903,7 @@ function HeroPatternBadgeLogos({
|
|
|
50903
50903
|
"div",
|
|
50904
50904
|
{
|
|
50905
50905
|
className: cn(
|
|
50906
|
-
"w-auto max-h-
|
|
50906
|
+
"w-auto max-h-8 h-8 flex items-center justify-center",
|
|
50907
50907
|
logoClassName
|
|
50908
50908
|
),
|
|
50909
50909
|
children: imgElement
|
|
@@ -50941,7 +50941,7 @@ function HeroPatternBadgeLogos({
|
|
|
50941
50941
|
),
|
|
50942
50942
|
children: heading
|
|
50943
50943
|
}
|
|
50944
|
-
) :
|
|
50944
|
+
) : heading),
|
|
50945
50945
|
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
50946
50946
|
"p",
|
|
50947
50947
|
{
|
|
@@ -50951,7 +50951,7 @@ function HeroPatternBadgeLogos({
|
|
|
50951
50951
|
),
|
|
50952
50952
|
children: description
|
|
50953
50953
|
}
|
|
50954
|
-
) :
|
|
50954
|
+
) : description)
|
|
50955
50955
|
] }),
|
|
50956
50956
|
(actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
50957
50957
|
"div",
|
|
@@ -53845,17 +53845,17 @@ function HeroFullscreenBackgroundImage({
|
|
|
53845
53845
|
),
|
|
53846
53846
|
children: heading
|
|
53847
53847
|
}
|
|
53848
|
-
) :
|
|
53848
|
+
) : heading),
|
|
53849
53849
|
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
53850
53850
|
"p",
|
|
53851
53851
|
{
|
|
53852
53852
|
className: cn(
|
|
53853
|
-
"text-center text-base text-balance text-white text-shadow-lg",
|
|
53853
|
+
"text-center text-base text-balance text-white text-shadow-lg max-w-full md:max-w-sm",
|
|
53854
53854
|
descriptionClassName
|
|
53855
53855
|
),
|
|
53856
53856
|
children: description
|
|
53857
53857
|
}
|
|
53858
|
-
) :
|
|
53858
|
+
) : description),
|
|
53859
53859
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
53860
53860
|
BlockActions,
|
|
53861
53861
|
{
|
|
@@ -54755,7 +54755,7 @@ function HeroPresentationPlatformVideo({
|
|
|
54755
54755
|
_type: "text",
|
|
54756
54756
|
as: "h1",
|
|
54757
54757
|
className: cn(
|
|
54758
|
-
"text-5xl font-medium md:text-6xl lg:text-7xl",
|
|
54758
|
+
"text-5xl font-medium md:text-6xl lg:text-7xl text-pretty",
|
|
54759
54759
|
headingClassName
|
|
54760
54760
|
),
|
|
54761
54761
|
children: heading
|
|
@@ -54769,7 +54769,10 @@ function HeroPresentationPlatformVideo({
|
|
|
54769
54769
|
items.push({
|
|
54770
54770
|
_type: "text",
|
|
54771
54771
|
as: "p",
|
|
54772
|
-
className: cn(
|
|
54772
|
+
className: cn(
|
|
54773
|
+
"my-0 md:my-8 md:text-xl text-balance",
|
|
54774
|
+
descriptionClassName
|
|
54775
|
+
),
|
|
54773
54776
|
children: description
|
|
54774
54777
|
});
|
|
54775
54778
|
} else {
|
|
@@ -58497,8 +58500,6 @@ function HeroMentorshipVideoSplit({
|
|
|
58497
58500
|
pressable.Pressable,
|
|
58498
58501
|
{
|
|
58499
58502
|
onClick: () => setIsVideoOpen(true),
|
|
58500
|
-
asButton: true,
|
|
58501
|
-
variant: "ghost",
|
|
58502
58503
|
className: cn(
|
|
58503
58504
|
"group relative flex overflow-hidden rounded-lg p-0",
|
|
58504
58505
|
videoAspectRatio === "vertical" ? "h-36 w-20" : "h-20 w-36"
|
|
@@ -61227,6 +61228,8 @@ function HeroEventRegistration({
|
|
|
61227
61228
|
imageClassName,
|
|
61228
61229
|
optixFlowConfig,
|
|
61229
61230
|
logo,
|
|
61231
|
+
logoSlot: logoSlot2,
|
|
61232
|
+
logoClassName,
|
|
61230
61233
|
directionConfig = { desktop: "mediaRight", mobile: "mediaTop" }
|
|
61231
61234
|
}) {
|
|
61232
61235
|
const renderBadge = React30.useMemo(() => {
|
|
@@ -61384,13 +61387,11 @@ function HeroEventRegistration({
|
|
|
61384
61387
|
),
|
|
61385
61388
|
children: [
|
|
61386
61389
|
renderBadge,
|
|
61387
|
-
logo && /* @__PURE__ */ jsxRuntime.jsx(
|
|
61388
|
-
|
|
61390
|
+
(logo || logoSlot2) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
61391
|
+
"div",
|
|
61389
61392
|
{
|
|
61390
|
-
|
|
61391
|
-
|
|
61392
|
-
className: "w-auto max-w-full h-12 md:h-14 object-contain my-4",
|
|
61393
|
-
optixFlowConfig
|
|
61393
|
+
className: cn("mb-1 mt-4 flex justify-start", logoClassName),
|
|
61394
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(brand_logo_default, { logo, logoSlot: logoSlot2, size: "lg" })
|
|
61394
61395
|
}
|
|
61395
61396
|
),
|
|
61396
61397
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
package/dist/registry.js
CHANGED
|
@@ -50830,7 +50830,7 @@ function HeroPatternBadgeLogos({
|
|
|
50830
50830
|
alt,
|
|
50831
50831
|
className: cn(
|
|
50832
50832
|
imgClassName,
|
|
50833
|
-
"w-full h-
|
|
50833
|
+
"w-full h-8 object-contain dark:hidden"
|
|
50834
50834
|
),
|
|
50835
50835
|
optixFlowConfig
|
|
50836
50836
|
}
|
|
@@ -50842,7 +50842,7 @@ function HeroPatternBadgeLogos({
|
|
|
50842
50842
|
alt,
|
|
50843
50843
|
className: cn(
|
|
50844
50844
|
imgClassName,
|
|
50845
|
-
"w-full h-
|
|
50845
|
+
"w-full h-8 object-contain hidden dark:block"
|
|
50846
50846
|
),
|
|
50847
50847
|
optixFlowConfig
|
|
50848
50848
|
}
|
|
@@ -50852,7 +50852,7 @@ function HeroPatternBadgeLogos({
|
|
|
50852
50852
|
{
|
|
50853
50853
|
src,
|
|
50854
50854
|
alt,
|
|
50855
|
-
className: cn("w-full h-
|
|
50855
|
+
className: cn("w-full h-8 object-contain", imgClassName),
|
|
50856
50856
|
optixFlowConfig
|
|
50857
50857
|
}
|
|
50858
50858
|
);
|
|
@@ -50863,7 +50863,7 @@ function HeroPatternBadgeLogos({
|
|
|
50863
50863
|
"div",
|
|
50864
50864
|
{
|
|
50865
50865
|
className: cn(
|
|
50866
|
-
"w-auto max-h-
|
|
50866
|
+
"w-auto max-h-8 h-8 flex items-center justify-center",
|
|
50867
50867
|
logoClassName
|
|
50868
50868
|
),
|
|
50869
50869
|
children: imgElement
|
|
@@ -50901,7 +50901,7 @@ function HeroPatternBadgeLogos({
|
|
|
50901
50901
|
),
|
|
50902
50902
|
children: heading
|
|
50903
50903
|
}
|
|
50904
|
-
) :
|
|
50904
|
+
) : heading),
|
|
50905
50905
|
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
50906
50906
|
"p",
|
|
50907
50907
|
{
|
|
@@ -50911,7 +50911,7 @@ function HeroPatternBadgeLogos({
|
|
|
50911
50911
|
),
|
|
50912
50912
|
children: description
|
|
50913
50913
|
}
|
|
50914
|
-
) :
|
|
50914
|
+
) : description)
|
|
50915
50915
|
] }),
|
|
50916
50916
|
(actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx(
|
|
50917
50917
|
"div",
|
|
@@ -53805,17 +53805,17 @@ function HeroFullscreenBackgroundImage({
|
|
|
53805
53805
|
),
|
|
53806
53806
|
children: heading
|
|
53807
53807
|
}
|
|
53808
|
-
) :
|
|
53808
|
+
) : heading),
|
|
53809
53809
|
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
53810
53810
|
"p",
|
|
53811
53811
|
{
|
|
53812
53812
|
className: cn(
|
|
53813
|
-
"text-center text-base text-balance text-white text-shadow-lg",
|
|
53813
|
+
"text-center text-base text-balance text-white text-shadow-lg max-w-full md:max-w-sm",
|
|
53814
53814
|
descriptionClassName
|
|
53815
53815
|
),
|
|
53816
53816
|
children: description
|
|
53817
53817
|
}
|
|
53818
|
-
) :
|
|
53818
|
+
) : description),
|
|
53819
53819
|
/* @__PURE__ */ jsx(
|
|
53820
53820
|
BlockActions,
|
|
53821
53821
|
{
|
|
@@ -54715,7 +54715,7 @@ function HeroPresentationPlatformVideo({
|
|
|
54715
54715
|
_type: "text",
|
|
54716
54716
|
as: "h1",
|
|
54717
54717
|
className: cn(
|
|
54718
|
-
"text-5xl font-medium md:text-6xl lg:text-7xl",
|
|
54718
|
+
"text-5xl font-medium md:text-6xl lg:text-7xl text-pretty",
|
|
54719
54719
|
headingClassName
|
|
54720
54720
|
),
|
|
54721
54721
|
children: heading
|
|
@@ -54729,7 +54729,10 @@ function HeroPresentationPlatformVideo({
|
|
|
54729
54729
|
items.push({
|
|
54730
54730
|
_type: "text",
|
|
54731
54731
|
as: "p",
|
|
54732
|
-
className: cn(
|
|
54732
|
+
className: cn(
|
|
54733
|
+
"my-0 md:my-8 md:text-xl text-balance",
|
|
54734
|
+
descriptionClassName
|
|
54735
|
+
),
|
|
54733
54736
|
children: description
|
|
54734
54737
|
});
|
|
54735
54738
|
} else {
|
|
@@ -58457,8 +58460,6 @@ function HeroMentorshipVideoSplit({
|
|
|
58457
58460
|
Pressable,
|
|
58458
58461
|
{
|
|
58459
58462
|
onClick: () => setIsVideoOpen(true),
|
|
58460
|
-
asButton: true,
|
|
58461
|
-
variant: "ghost",
|
|
58462
58463
|
className: cn(
|
|
58463
58464
|
"group relative flex overflow-hidden rounded-lg p-0",
|
|
58464
58465
|
videoAspectRatio === "vertical" ? "h-36 w-20" : "h-20 w-36"
|
|
@@ -61187,6 +61188,8 @@ function HeroEventRegistration({
|
|
|
61187
61188
|
imageClassName,
|
|
61188
61189
|
optixFlowConfig,
|
|
61189
61190
|
logo,
|
|
61191
|
+
logoSlot: logoSlot2,
|
|
61192
|
+
logoClassName,
|
|
61190
61193
|
directionConfig = { desktop: "mediaRight", mobile: "mediaTop" }
|
|
61191
61194
|
}) {
|
|
61192
61195
|
const renderBadge = useMemo(() => {
|
|
@@ -61344,13 +61347,11 @@ function HeroEventRegistration({
|
|
|
61344
61347
|
),
|
|
61345
61348
|
children: [
|
|
61346
61349
|
renderBadge,
|
|
61347
|
-
logo && /* @__PURE__ */ jsx(
|
|
61348
|
-
|
|
61350
|
+
(logo || logoSlot2) && /* @__PURE__ */ jsx(
|
|
61351
|
+
"div",
|
|
61349
61352
|
{
|
|
61350
|
-
|
|
61351
|
-
|
|
61352
|
-
className: "w-auto max-w-full h-12 md:h-14 object-contain my-4",
|
|
61353
|
-
optixFlowConfig
|
|
61353
|
+
className: cn("mb-1 mt-4 flex justify-start", logoClassName),
|
|
61354
|
+
children: /* @__PURE__ */ jsx(brand_logo_default, { logo, logoSlot: logoSlot2, size: "lg" })
|
|
61354
61355
|
}
|
|
61355
61356
|
),
|
|
61356
61357
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
@@ -77,6 +77,6 @@ interface SocialLinkIconProps extends Omit<PressableProps, "children">, SocialLi
|
|
|
77
77
|
* />
|
|
78
78
|
* ```
|
|
79
79
|
*/
|
|
80
|
-
declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<
|
|
80
|
+
declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement | HTMLSpanElement>>;
|
|
81
81
|
|
|
82
82
|
export { SocialLinkIcon, type SocialLinkIconDynamicIconProps, type SocialLinkIconProps };
|
|
@@ -77,6 +77,6 @@ interface SocialLinkIconProps extends Omit<PressableProps, "children">, SocialLi
|
|
|
77
77
|
* />
|
|
78
78
|
* ```
|
|
79
79
|
*/
|
|
80
|
-
declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<
|
|
80
|
+
declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement | HTMLSpanElement>>;
|
|
81
81
|
|
|
82
82
|
export { SocialLinkIcon, type SocialLinkIconDynamicIconProps, type SocialLinkIconProps };
|