@opensite/ui 3.6.9 → 3.7.1

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/registry.cjs CHANGED
@@ -50986,6 +50986,7 @@ function HeroLogoCenteredScreenshot({
50986
50986
  sectionId = "hero-logo-centered-screenshot",
50987
50987
  logo,
50988
50988
  logoSlot: logoSlot2,
50989
+ logoClassName,
50989
50990
  heading,
50990
50991
  description,
50991
50992
  action,
@@ -51004,20 +51005,6 @@ function HeroLogoCenteredScreenshot({
51004
51005
  imageClassName,
51005
51006
  optixFlowConfig
51006
51007
  }) {
51007
- const renderLogo = React30.useMemo(() => {
51008
- if (logoSlot2) return logoSlot2;
51009
- if (!logo) return null;
51010
- const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
51011
- return /* @__PURE__ */ jsxRuntime.jsx(
51012
- img$1.Img,
51013
- {
51014
- src: logoSrc,
51015
- alt: logo.alt,
51016
- className: cn("h-10 md:h-16 object-contain", logo.className),
51017
- optixFlowConfig
51018
- }
51019
- );
51020
- }, [logoSlot2, logo, optixFlowConfig]);
51021
51008
  const renderAction = React30.useMemo(() => {
51022
51009
  if (actionSlot) return actionSlot;
51023
51010
  if (!action) return null;
@@ -51060,9 +51047,10 @@ function HeroLogoCenteredScreenshot({
51060
51047
  spacing,
51061
51048
  pattern,
51062
51049
  patternOpacity,
51063
- className: cn(className),
51064
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("container max-w-7xl", containerClassName), children: [
51065
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto flex max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsxs(
51050
+ className,
51051
+ containerClassName,
51052
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
51053
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto flex max-w-full md:max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsxs(
51066
51054
  "div",
51067
51055
  {
51068
51056
  className: cn(
@@ -51070,7 +51058,7 @@ function HeroLogoCenteredScreenshot({
51070
51058
  contentClassName
51071
51059
  ),
51072
51060
  children: [
51073
- renderLogo,
51061
+ (logo || logoSlot2) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex justify-center", logoClassName), children: /* @__PURE__ */ jsxRuntime.jsx(brand_logo_default, { logo, logoSlot: logoSlot2, size: "lg" }) }),
51074
51062
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col justify-center items-center w-full text-balance", children: [
51075
51063
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
51076
51064
  "h1",
@@ -51081,33 +51069,24 @@ function HeroLogoCenteredScreenshot({
51081
51069
  ),
51082
51070
  children: heading
51083
51071
  }
51084
- ) : /* @__PURE__ */ jsxRuntime.jsx(
51085
- "h1",
51086
- {
51087
- className: cn(
51088
- "mb-4 text-3xl font-medium lg:text-5xl",
51089
- headingClassName
51090
- ),
51091
- children: heading
51092
- }
51093
- )),
51072
+ ) : heading),
51094
51073
  description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
51095
51074
  "p",
51096
51075
  {
51097
51076
  className: cn(
51098
- "max-w-3xl lg:text-xl",
51077
+ "max-w-full md:max-w-3xl lg:text-xl",
51099
51078
  descriptionClassName
51100
51079
  ),
51101
51080
  children: description
51102
51081
  }
51103
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
51082
+ ) : description)
51104
51083
  ] }),
51105
51084
  renderAction
51106
51085
  ]
51107
51086
  }
51108
51087
  ) }),
51109
51088
  renderImage
51110
- ] }) })
51089
+ ] })
51111
51090
  }
51112
51091
  );
51113
51092
  }
@@ -51372,10 +51351,6 @@ function HeroAnnouncementBadge({
51372
51351
  );
51373
51352
  }
51374
51353
  var HERO_TECH_CAROUSEL_MAX_ITEMS = 4;
51375
- function resolveLogoSrc(logo) {
51376
- if (typeof logo.src === "string") return logo.src;
51377
- return logo.src?.light;
51378
- }
51379
51354
  function HeroPanel({
51380
51355
  item,
51381
51356
  defaultAutoplayIntervalMs,
@@ -51385,6 +51360,7 @@ function HeroPanel({
51385
51360
  const {
51386
51361
  logo,
51387
51362
  logoSlot: logoSlot2,
51363
+ logoClassName,
51388
51364
  title,
51389
51365
  content,
51390
51366
  actions,
@@ -51393,7 +51369,6 @@ function HeroPanel({
51393
51369
  id,
51394
51370
  className,
51395
51371
  contentClassName,
51396
- logoClassName,
51397
51372
  titleClassName,
51398
51373
  textClassName,
51399
51374
  actionsClassName,
@@ -51465,24 +51440,18 @@ function HeroPanel({
51465
51440
  ]);
51466
51441
  const hasBackground = !!backgroundMedia && backgroundMedia.length > 0;
51467
51442
  const renderLogo = React30.useMemo(() => {
51468
- if (logoSlot2) return logoSlot2;
51469
- if (!logo) return null;
51470
- const src = resolveLogoSrc(logo);
51471
- if (!src) return null;
51472
- return /* @__PURE__ */ jsxRuntime.jsx(
51473
- img$1.Img,
51443
+ if (!logoSlot2 && !logo?.src) return null;
51444
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex justify-center", logoClassName), children: /* @__PURE__ */ jsxRuntime.jsx(
51445
+ brand_logo_default,
51474
51446
  {
51475
- src,
51476
- alt: logo.alt,
51477
- className: cn(
51478
- "h-10 md:h-12 lg:h-14 w-auto object-contain",
51479
- logo.imgClassName,
51480
- logoClassName
51481
- ),
51447
+ logo,
51448
+ logoSlot: logoSlot2,
51449
+ size: "md",
51482
51450
  optixFlowConfig: resolvedOptixFlow
51483
51451
  }
51484
- );
51452
+ ) });
51485
51453
  }, [logoSlot2, logo, logoClassName, resolvedOptixFlow]);
51454
+ const hasLogo = !!renderLogo;
51486
51455
  const renderTitle = React30.useMemo(() => {
51487
51456
  if (title === void 0 || title === null || title === "") return null;
51488
51457
  if (typeof title === "string") {
@@ -51490,7 +51459,8 @@ function HeroPanel({
51490
51459
  "h2",
51491
51460
  {
51492
51461
  className: cn(
51493
- "text-2xl md:text-3xl lg:text-4xl font-semibold text-balance",
51462
+ "font-semibold text-balance",
51463
+ hasLogo ? "text-lg lg:text-xl" : "text-xl md:text-2xl lg:text-3xl",
51494
51464
  hasBackground && "text-white text-shadow-lg",
51495
51465
  titleClassName
51496
51466
  ),
@@ -51499,7 +51469,7 @@ function HeroPanel({
51499
51469
  );
51500
51470
  }
51501
51471
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: titleClassName, children: title });
51502
- }, [title, titleClassName, hasBackground]);
51472
+ }, [title, titleClassName, hasBackground, hasLogo]);
51503
51473
  const renderContent = React30.useMemo(() => {
51504
51474
  if (content === void 0 || content === null || content === "")
51505
51475
  return null;
@@ -51539,7 +51509,7 @@ function HeroPanel({
51539
51509
  "div",
51540
51510
  {
51541
51511
  className: cn(
51542
- "relative z-10 flex h-full w-full flex-col items-center justify-center gap-4 md:gap-6",
51512
+ "relative z-10 flex h-full w-full flex-col items-center justify-center gap-4",
51543
51513
  // Mobile padding keeps content readable when stacked.
51544
51514
  "px-6 py-12 md:px-8 md:py-12 lg:px-10",
51545
51515
  // Center content vertically; on desktop columns can be quite tall.
@@ -51757,6 +51727,7 @@ function HeroPlatformFeaturesGrid({
51757
51727
  sectionId = "hero-platform-features-grid",
51758
51728
  logo,
51759
51729
  logoSlot: logoSlot2,
51730
+ logoClassName,
51760
51731
  subtitle,
51761
51732
  description,
51762
51733
  heading,
@@ -51775,23 +51746,6 @@ function HeroPlatformFeaturesGrid({
51775
51746
  featuresClassName,
51776
51747
  optixFlowConfig
51777
51748
  }) {
51778
- const renderLogo = React30.useMemo(() => {
51779
- if (logoSlot2) return logoSlot2;
51780
- if (!logo) return null;
51781
- const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
51782
- return /* @__PURE__ */ jsxRuntime.jsx(
51783
- img$1.Img,
51784
- {
51785
- src: logoSrc,
51786
- alt: logo.alt,
51787
- className: cn(
51788
- "mx-auto mb-5 w-24 md:mb-6 md:w-28 lg:mb-7 lg:w-32",
51789
- logo.imgClassName
51790
- ),
51791
- optixFlowConfig
51792
- }
51793
- );
51794
- }, [logoSlot2, logo, optixFlowConfig]);
51795
51749
  const renderAction = React30.useMemo(() => {
51796
51750
  if (actionSlot) return actionSlot;
51797
51751
  if (!action) return null;
@@ -51856,28 +51810,35 @@ function HeroPlatformFeaturesGrid({
51856
51810
  headerClassName
51857
51811
  ),
51858
51812
  children: [
51859
- renderLogo,
51860
- subtitle && (typeof subtitle === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("mb-3 text-sm tracking-widest md:text-base"), children: subtitle }) : subtitle),
51813
+ logo || logoSlot2 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex justify-center", logoClassName), children: /* @__PURE__ */ jsxRuntime.jsx(brand_logo_default, { logo, logoSlot: logoSlot2, size: "lg" }) }) : null,
51814
+ subtitle && (typeof subtitle === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
51815
+ "span",
51816
+ {
51817
+ className: cn(
51818
+ "text-sm tracking-widest md:text-base opacity-50"
51819
+ ),
51820
+ children: subtitle
51821
+ }
51822
+ ) : subtitle),
51861
51823
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
51862
51824
  "h1",
51863
51825
  {
51864
51826
  className: cn(
51865
- "mt-4 text-4xl font-semibold text-balance lg:text-6xl",
51827
+ "text-4xl font-semibold text-balance lg:text-6xl",
51866
51828
  headingClassName
51867
51829
  ),
51868
51830
  children: heading
51869
51831
  }
51870
- ) : /* @__PURE__ */ jsxRuntime.jsx(
51871
- "h1",
51832
+ ) : heading),
51833
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
51834
+ "p",
51872
51835
  {
51873
51836
  className: cn(
51874
- "mt-4 text-4xl font-semibold text-balance lg:text-6xl",
51875
- headingClassName
51837
+ "mb-6 max-w-full md:max-w-md text-base md:text-lg text-balance"
51876
51838
  ),
51877
- children: heading
51839
+ children: description
51878
51840
  }
51879
- )),
51880
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-6 max-w-2xl md:text-lg text-balance"), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("max-w-2xl md:text-lg text-balance"), children: description })),
51841
+ ) : description),
51881
51842
  renderAction
51882
51843
  ]
51883
51844
  }
@@ -52933,8 +52894,8 @@ function HeroVideoBackgroundDark({
52933
52894
  "div",
52934
52895
  {
52935
52896
  className: cn(
52936
- "relative z-10 mx-auto flex size-full",
52937
- "md:max-w-3xl lg:max-w-4xl flex-col justify-center",
52897
+ "relative z-10 mx-auto flex flex-col justify-center",
52898
+ "size-full max-w-full md:max-w-md lg:max-w-4xl",
52938
52899
  "gap-4 md:gap-6 items-center text-center px-4 md:px-6",
52939
52900
  contentClassName
52940
52901
  ),
@@ -52945,7 +52906,7 @@ function HeroVideoBackgroundDark({
52945
52906
  {
52946
52907
  className: cn(
52947
52908
  "font-bold text-5xl md:text-6xl lg:text-8xl",
52948
- "text-balance text-white text-shadow-lg",
52909
+ "text-pretty text-white text-shadow-lg",
52949
52910
  headingClassName
52950
52911
  ),
52951
52912
  children: heading
@@ -53202,7 +53163,16 @@ function HeroDashedBorderFeatures({
53202
53163
  ),
53203
53164
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mx-auto max-w-3xl", children: [
53204
53165
  renderAnnouncement,
53205
- (logo || logoSlot2) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("my-6 flex justify-center", logoClassName), children: /* @__PURE__ */ jsxRuntime.jsx(BrandLogo, { logo, logoSlot: logoSlot2, size: "lg" }) }),
53166
+ (logo || logoSlot2) && /* @__PURE__ */ jsxRuntime.jsx(
53167
+ "div",
53168
+ {
53169
+ className: cn(
53170
+ "mt-8 md:mt-16 mb-0 flex justify-center",
53171
+ logoClassName
53172
+ ),
53173
+ children: /* @__PURE__ */ jsxRuntime.jsx(BrandLogo, { logo, logoSlot: logoSlot2, size: "lg" })
53174
+ }
53175
+ ),
53206
53176
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
53207
53177
  "h1",
53208
53178
  {
@@ -53375,7 +53345,7 @@ function HeroDesignCarouselPortfolio({
53375
53345
  "div",
53376
53346
  {
53377
53347
  className: cn(
53378
- "flex flex-col gap-10 pt-12 pb-8 lg:pt-24 lg:pb-12",
53348
+ "flex flex-col gap-10 pt-12 pb-8 lg:pt-12 lg:pb-12",
53379
53349
  contentClassName
53380
53350
  ),
53381
53351
  children: [
package/dist/registry.js CHANGED
@@ -50946,6 +50946,7 @@ function HeroLogoCenteredScreenshot({
50946
50946
  sectionId = "hero-logo-centered-screenshot",
50947
50947
  logo,
50948
50948
  logoSlot: logoSlot2,
50949
+ logoClassName,
50949
50950
  heading,
50950
50951
  description,
50951
50952
  action,
@@ -50964,20 +50965,6 @@ function HeroLogoCenteredScreenshot({
50964
50965
  imageClassName,
50965
50966
  optixFlowConfig
50966
50967
  }) {
50967
- const renderLogo = useMemo(() => {
50968
- if (logoSlot2) return logoSlot2;
50969
- if (!logo) return null;
50970
- const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
50971
- return /* @__PURE__ */ jsx(
50972
- Img,
50973
- {
50974
- src: logoSrc,
50975
- alt: logo.alt,
50976
- className: cn("h-10 md:h-16 object-contain", logo.className),
50977
- optixFlowConfig
50978
- }
50979
- );
50980
- }, [logoSlot2, logo, optixFlowConfig]);
50981
50968
  const renderAction = useMemo(() => {
50982
50969
  if (actionSlot) return actionSlot;
50983
50970
  if (!action) return null;
@@ -51020,9 +51007,10 @@ function HeroLogoCenteredScreenshot({
51020
51007
  spacing,
51021
51008
  pattern,
51022
51009
  patternOpacity,
51023
- className: cn(className),
51024
- children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: cn("container max-w-7xl", containerClassName), children: [
51025
- /* @__PURE__ */ jsx("div", { className: "mx-auto flex max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxs(
51010
+ className,
51011
+ containerClassName,
51012
+ children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
51013
+ /* @__PURE__ */ jsx("div", { className: "mx-auto flex max-w-full md:max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxs(
51026
51014
  "div",
51027
51015
  {
51028
51016
  className: cn(
@@ -51030,7 +51018,7 @@ function HeroLogoCenteredScreenshot({
51030
51018
  contentClassName
51031
51019
  ),
51032
51020
  children: [
51033
- renderLogo,
51021
+ (logo || logoSlot2) && /* @__PURE__ */ jsx("div", { className: cn("flex justify-center", logoClassName), children: /* @__PURE__ */ jsx(brand_logo_default, { logo, logoSlot: logoSlot2, size: "lg" }) }),
51034
51022
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-center items-center w-full text-balance", children: [
51035
51023
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
51036
51024
  "h1",
@@ -51041,33 +51029,24 @@ function HeroLogoCenteredScreenshot({
51041
51029
  ),
51042
51030
  children: heading
51043
51031
  }
51044
- ) : /* @__PURE__ */ jsx(
51045
- "h1",
51046
- {
51047
- className: cn(
51048
- "mb-4 text-3xl font-medium lg:text-5xl",
51049
- headingClassName
51050
- ),
51051
- children: heading
51052
- }
51053
- )),
51032
+ ) : heading),
51054
51033
  description && (typeof description === "string" ? /* @__PURE__ */ jsx(
51055
51034
  "p",
51056
51035
  {
51057
51036
  className: cn(
51058
- "max-w-3xl lg:text-xl",
51037
+ "max-w-full md:max-w-3xl lg:text-xl",
51059
51038
  descriptionClassName
51060
51039
  ),
51061
51040
  children: description
51062
51041
  }
51063
- ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
51042
+ ) : description)
51064
51043
  ] }),
51065
51044
  renderAction
51066
51045
  ]
51067
51046
  }
51068
51047
  ) }),
51069
51048
  renderImage
51070
- ] }) })
51049
+ ] })
51071
51050
  }
51072
51051
  );
51073
51052
  }
@@ -51332,10 +51311,6 @@ function HeroAnnouncementBadge({
51332
51311
  );
51333
51312
  }
51334
51313
  var HERO_TECH_CAROUSEL_MAX_ITEMS = 4;
51335
- function resolveLogoSrc(logo) {
51336
- if (typeof logo.src === "string") return logo.src;
51337
- return logo.src?.light;
51338
- }
51339
51314
  function HeroPanel({
51340
51315
  item,
51341
51316
  defaultAutoplayIntervalMs,
@@ -51345,6 +51320,7 @@ function HeroPanel({
51345
51320
  const {
51346
51321
  logo,
51347
51322
  logoSlot: logoSlot2,
51323
+ logoClassName,
51348
51324
  title,
51349
51325
  content,
51350
51326
  actions,
@@ -51353,7 +51329,6 @@ function HeroPanel({
51353
51329
  id,
51354
51330
  className,
51355
51331
  contentClassName,
51356
- logoClassName,
51357
51332
  titleClassName,
51358
51333
  textClassName,
51359
51334
  actionsClassName,
@@ -51425,24 +51400,18 @@ function HeroPanel({
51425
51400
  ]);
51426
51401
  const hasBackground = !!backgroundMedia && backgroundMedia.length > 0;
51427
51402
  const renderLogo = useMemo(() => {
51428
- if (logoSlot2) return logoSlot2;
51429
- if (!logo) return null;
51430
- const src = resolveLogoSrc(logo);
51431
- if (!src) return null;
51432
- return /* @__PURE__ */ jsx(
51433
- Img,
51403
+ if (!logoSlot2 && !logo?.src) return null;
51404
+ return /* @__PURE__ */ jsx("div", { className: cn("flex justify-center", logoClassName), children: /* @__PURE__ */ jsx(
51405
+ brand_logo_default,
51434
51406
  {
51435
- src,
51436
- alt: logo.alt,
51437
- className: cn(
51438
- "h-10 md:h-12 lg:h-14 w-auto object-contain",
51439
- logo.imgClassName,
51440
- logoClassName
51441
- ),
51407
+ logo,
51408
+ logoSlot: logoSlot2,
51409
+ size: "md",
51442
51410
  optixFlowConfig: resolvedOptixFlow
51443
51411
  }
51444
- );
51412
+ ) });
51445
51413
  }, [logoSlot2, logo, logoClassName, resolvedOptixFlow]);
51414
+ const hasLogo = !!renderLogo;
51446
51415
  const renderTitle = useMemo(() => {
51447
51416
  if (title === void 0 || title === null || title === "") return null;
51448
51417
  if (typeof title === "string") {
@@ -51450,7 +51419,8 @@ function HeroPanel({
51450
51419
  "h2",
51451
51420
  {
51452
51421
  className: cn(
51453
- "text-2xl md:text-3xl lg:text-4xl font-semibold text-balance",
51422
+ "font-semibold text-balance",
51423
+ hasLogo ? "text-lg lg:text-xl" : "text-xl md:text-2xl lg:text-3xl",
51454
51424
  hasBackground && "text-white text-shadow-lg",
51455
51425
  titleClassName
51456
51426
  ),
@@ -51459,7 +51429,7 @@ function HeroPanel({
51459
51429
  );
51460
51430
  }
51461
51431
  return /* @__PURE__ */ jsx("div", { className: titleClassName, children: title });
51462
- }, [title, titleClassName, hasBackground]);
51432
+ }, [title, titleClassName, hasBackground, hasLogo]);
51463
51433
  const renderContent = useMemo(() => {
51464
51434
  if (content === void 0 || content === null || content === "")
51465
51435
  return null;
@@ -51499,7 +51469,7 @@ function HeroPanel({
51499
51469
  "div",
51500
51470
  {
51501
51471
  className: cn(
51502
- "relative z-10 flex h-full w-full flex-col items-center justify-center gap-4 md:gap-6",
51472
+ "relative z-10 flex h-full w-full flex-col items-center justify-center gap-4",
51503
51473
  // Mobile padding keeps content readable when stacked.
51504
51474
  "px-6 py-12 md:px-8 md:py-12 lg:px-10",
51505
51475
  // Center content vertically; on desktop columns can be quite tall.
@@ -51717,6 +51687,7 @@ function HeroPlatformFeaturesGrid({
51717
51687
  sectionId = "hero-platform-features-grid",
51718
51688
  logo,
51719
51689
  logoSlot: logoSlot2,
51690
+ logoClassName,
51720
51691
  subtitle,
51721
51692
  description,
51722
51693
  heading,
@@ -51735,23 +51706,6 @@ function HeroPlatformFeaturesGrid({
51735
51706
  featuresClassName,
51736
51707
  optixFlowConfig
51737
51708
  }) {
51738
- const renderLogo = useMemo(() => {
51739
- if (logoSlot2) return logoSlot2;
51740
- if (!logo) return null;
51741
- const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
51742
- return /* @__PURE__ */ jsx(
51743
- Img,
51744
- {
51745
- src: logoSrc,
51746
- alt: logo.alt,
51747
- className: cn(
51748
- "mx-auto mb-5 w-24 md:mb-6 md:w-28 lg:mb-7 lg:w-32",
51749
- logo.imgClassName
51750
- ),
51751
- optixFlowConfig
51752
- }
51753
- );
51754
- }, [logoSlot2, logo, optixFlowConfig]);
51755
51709
  const renderAction = useMemo(() => {
51756
51710
  if (actionSlot) return actionSlot;
51757
51711
  if (!action) return null;
@@ -51816,28 +51770,35 @@ function HeroPlatformFeaturesGrid({
51816
51770
  headerClassName
51817
51771
  ),
51818
51772
  children: [
51819
- renderLogo,
51820
- subtitle && (typeof subtitle === "string" ? /* @__PURE__ */ jsx("span", { className: cn("mb-3 text-sm tracking-widest md:text-base"), children: subtitle }) : subtitle),
51773
+ logo || logoSlot2 ? /* @__PURE__ */ jsx("div", { className: cn("flex justify-center", logoClassName), children: /* @__PURE__ */ jsx(brand_logo_default, { logo, logoSlot: logoSlot2, size: "lg" }) }) : null,
51774
+ subtitle && (typeof subtitle === "string" ? /* @__PURE__ */ jsx(
51775
+ "span",
51776
+ {
51777
+ className: cn(
51778
+ "text-sm tracking-widest md:text-base opacity-50"
51779
+ ),
51780
+ children: subtitle
51781
+ }
51782
+ ) : subtitle),
51821
51783
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
51822
51784
  "h1",
51823
51785
  {
51824
51786
  className: cn(
51825
- "mt-4 text-4xl font-semibold text-balance lg:text-6xl",
51787
+ "text-4xl font-semibold text-balance lg:text-6xl",
51826
51788
  headingClassName
51827
51789
  ),
51828
51790
  children: heading
51829
51791
  }
51830
- ) : /* @__PURE__ */ jsx(
51831
- "h1",
51792
+ ) : heading),
51793
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
51794
+ "p",
51832
51795
  {
51833
51796
  className: cn(
51834
- "mt-4 text-4xl font-semibold text-balance lg:text-6xl",
51835
- headingClassName
51797
+ "mb-6 max-w-full md:max-w-md text-base md:text-lg text-balance"
51836
51798
  ),
51837
- children: heading
51799
+ children: description
51838
51800
  }
51839
- )),
51840
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mb-6 max-w-2xl md:text-lg text-balance"), children: description }) : /* @__PURE__ */ jsx("div", { className: cn("max-w-2xl md:text-lg text-balance"), children: description })),
51801
+ ) : description),
51841
51802
  renderAction
51842
51803
  ]
51843
51804
  }
@@ -52893,8 +52854,8 @@ function HeroVideoBackgroundDark({
52893
52854
  "div",
52894
52855
  {
52895
52856
  className: cn(
52896
- "relative z-10 mx-auto flex size-full",
52897
- "md:max-w-3xl lg:max-w-4xl flex-col justify-center",
52857
+ "relative z-10 mx-auto flex flex-col justify-center",
52858
+ "size-full max-w-full md:max-w-md lg:max-w-4xl",
52898
52859
  "gap-4 md:gap-6 items-center text-center px-4 md:px-6",
52899
52860
  contentClassName
52900
52861
  ),
@@ -52905,7 +52866,7 @@ function HeroVideoBackgroundDark({
52905
52866
  {
52906
52867
  className: cn(
52907
52868
  "font-bold text-5xl md:text-6xl lg:text-8xl",
52908
- "text-balance text-white text-shadow-lg",
52869
+ "text-pretty text-white text-shadow-lg",
52909
52870
  headingClassName
52910
52871
  ),
52911
52872
  children: heading
@@ -53162,7 +53123,16 @@ function HeroDashedBorderFeatures({
53162
53123
  ),
53163
53124
  children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-3xl", children: [
53164
53125
  renderAnnouncement,
53165
- (logo || logoSlot2) && /* @__PURE__ */ jsx("div", { className: cn("my-6 flex justify-center", logoClassName), children: /* @__PURE__ */ jsx(BrandLogo, { logo, logoSlot: logoSlot2, size: "lg" }) }),
53126
+ (logo || logoSlot2) && /* @__PURE__ */ jsx(
53127
+ "div",
53128
+ {
53129
+ className: cn(
53130
+ "mt-8 md:mt-16 mb-0 flex justify-center",
53131
+ logoClassName
53132
+ ),
53133
+ children: /* @__PURE__ */ jsx(BrandLogo, { logo, logoSlot: logoSlot2, size: "lg" })
53134
+ }
53135
+ ),
53166
53136
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
53167
53137
  "h1",
53168
53138
  {
@@ -53335,7 +53305,7 @@ function HeroDesignCarouselPortfolio({
53335
53305
  "div",
53336
53306
  {
53337
53307
  className: cn(
53338
- "flex flex-col gap-10 pt-12 pb-8 lg:pt-24 lg:pb-12",
53308
+ "flex flex-col gap-10 pt-12 pb-8 lg:pt-12 lg:pb-12",
53339
53309
  contentClassName
53340
53310
  ),
53341
53311
  children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensite/ui",
3
- "version": "3.6.9",
3
+ "version": "3.7.1",
4
4
  "description": "Foundational UI component library for OpenSite Semantic Site Builder with tree-shakable exports and abstract styling",
5
5
  "keywords": [
6
6
  "react",