@opensite/ui 1.2.0 → 1.2.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.js CHANGED
@@ -30142,72 +30142,56 @@ function ExpandableCaseStudyCards({
30142
30142
  "a",
30143
30143
  {
30144
30144
  href: item.href,
30145
- className: "relative block h-full w-full overflow-hidden rounded-xl bg-primary text-primary-foreground dark:bg-card",
30145
+ className: "relative block h-full w-full overflow-hidden rounded-xl",
30146
30146
  children: [
30147
- /* @__PURE__ */ jsxs("div", { className: 'absolute -inset-[50%] hidden h-[200%] w-[200%] md:block lg:group-data-[state="closed"]:blur-sm', children: [
30148
- /* @__PURE__ */ jsx("div", { className: "absolute top-[calc(25%+40px)] aspect-square h-[calc(50%+40px)] max-lg:right-[calc(50%+40px)] lg:right-[50%]", children: /* @__PURE__ */ jsx("div", { className: "h-full w-full overflow-clip rounded-xl", children: /* @__PURE__ */ jsx(
30149
- Img,
30150
- {
30151
- src: item.image,
30152
- alt: typeof item.title === "string" ? item.title : item.imageAlt || "Case study image",
30153
- className: cn(
30154
- "h-full w-full object-cover object-center",
30155
- imageClassName
30156
- ),
30157
- loading: "lazy",
30158
- optixFlowConfig
30159
- }
30160
- ) }) }),
30161
- /* @__PURE__ */ jsx(
30147
+ /* @__PURE__ */ jsx("div", { className: 'absolute inset-0 lg:group-data-[state="closed"]:blur-sm lg:transition-[filter] lg:duration-500', children: /* @__PURE__ */ jsx(
30148
+ Img,
30149
+ {
30150
+ src: item.image,
30151
+ alt: typeof item.title === "string" ? item.title : item.imageAlt || "Case study image",
30152
+ className: cn(
30153
+ "h-full w-full object-cover object-center",
30154
+ imageClassName
30155
+ ),
30156
+ loading: "lazy",
30157
+ optixFlowConfig
30158
+ }
30159
+ ) }),
30160
+ /* @__PURE__ */ jsx("div", { className: "absolute inset-x-0 bottom-0 h-[70%] bg-linear-to-t from-black/90 from-30% to-transparent" }),
30161
+ /* @__PURE__ */ jsxs("div", { className: 'absolute inset-0 flex flex-col justify-end p-4 pb-5 transition-opacity delay-200 duration-500 lg:group-data-[state="closed"]:opacity-0', children: [
30162
+ item.badges && item.badges.length > 0 && /* @__PURE__ */ jsx(
30162
30163
  "div",
30163
30164
  {
30164
30165
  className: cn(
30165
- "absolute top-[50%] left-[50%] flex size-16 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full max-lg:hidden",
30166
- getNestedCardBg(background, "accent"),
30167
- getNestedCardTextColor(background)
30166
+ "mb-3 flex flex-wrap items-center gap-2",
30167
+ badgesClassName
30168
30168
  ),
30169
- children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/plus", size: 32 })
30169
+ children: item.badges.map((badge, idx) => /* @__PURE__ */ jsx(Badge, { variant: "secondary", className: badgeClassName, children: badge }, idx))
30170
30170
  }
30171
30171
  ),
30172
- /* @__PURE__ */ jsx("div", { className: "absolute inset-x-0 bottom-0 hidden h-[50%] bg-linear-to-t from-primary from-50% to-transparent lg:block" })
30173
- ] }),
30174
- /* @__PURE__ */ jsxs("div", { className: "relative flex flex-col justify-between gap-4 md:absolute md:inset-0 md:max-lg:inset-x-[50%] md:max-lg:w-[50%]", children: [
30175
- /* @__PURE__ */ jsx("div", { className: 'flex flex-col gap-3 p-4 pt-6 transition-all delay-200 duration-500 lg:group-data-[state="closed"]:opacity-0', children: /* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-2", children: [
30176
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
30172
+ /* @__PURE__ */ jsxs("div", { className: "flex items-end justify-between gap-3", children: [
30173
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1.5", children: [
30177
30174
  item.logo && /* @__PURE__ */ jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsx(
30178
30175
  Img,
30179
30176
  {
30180
30177
  src: item.logo,
30181
30178
  alt: item.logoAlt || item.company || "Logo",
30182
- className: cn("h-6 max-w-[120px] object-contain object-left lg:h-8 lg:max-w-[150px]", logoClassName),
30179
+ className: cn("h-6 max-w-[120px] object-contain object-left invert lg:h-8 lg:max-w-[150px]", logoClassName),
30183
30180
  loading: "lazy",
30184
30181
  optixFlowConfig
30185
30182
  }
30186
30183
  ) }),
30187
- /* @__PURE__ */ jsx("div", { className: "text-base font-medium lg:text-lg", children: item.title }),
30188
- item.description && /* @__PURE__ */ jsx("div", { className: "text-sm text-primary-foreground/70", children: item.description })
30184
+ /* @__PURE__ */ jsx("div", { className: "text-base font-medium text-white lg:text-lg", children: item.title }),
30185
+ item.description && /* @__PURE__ */ jsx("div", { className: "text-sm text-white/80", children: item.description })
30189
30186
  ] }),
30190
30187
  /* @__PURE__ */ jsx(
30191
30188
  "div",
30192
30189
  {
30193
- className: cn(
30194
- "flex size-8 shrink-0 items-center justify-center rounded-full text-foreground transition-transform group-hover:translate-x-1 group-hover:-translate-y-1 lg:size-10",
30195
- getNestedCardBg(background, "card")
30196
- ),
30190
+ className: "flex size-8 shrink-0 items-center justify-center rounded-full bg-white/20 text-white backdrop-blur-sm transition-transform group-hover:translate-x-1 group-hover:-translate-y-1 lg:size-10",
30197
30191
  children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-up-right", size: 20 })
30198
30192
  }
30199
30193
  )
30200
- ] }) }),
30201
- /* @__PURE__ */ jsx(
30202
- "div",
30203
- {
30204
- className: cn(
30205
- 'flex h-20 items-center gap-2 px-4 pb-4 transition-opacity delay-200 duration-500 lg:group-data-[state="closed"]:opacity-0',
30206
- badgesClassName
30207
- ),
30208
- children: item.badges?.map((badge, idx) => /* @__PURE__ */ jsx(Badge, { variant: "secondary", className: badgeClassName, children: badge }, idx))
30209
- }
30210
- )
30194
+ ] })
30211
30195
  ] })
30212
30196
  ]
30213
30197
  }
@@ -30368,7 +30352,7 @@ function CarouselBadgeCards({
30368
30352
  "div",
30369
30353
  {
30370
30354
  className: cn(
30371
- "mb-8 flex items-end justify-between md:mb-14 lg:mb-16",
30355
+ "mb-8 flex items-end justify-between md:mb-14 lg:mb-16 px-6 md:px-0",
30372
30356
  headerClassName
30373
30357
  ),
30374
30358
  children: [
@@ -30632,7 +30616,7 @@ function CarouselGradientOverlay({
30632
30616
  ]
30633
30617
  }
30634
30618
  ),
30635
- /* @__PURE__ */ jsxs("div", { className: "w-full -mx-4 sm:-mx-6 lg:-mx-8", children: [
30619
+ /* @__PURE__ */ jsxs("div", { className: "w-full -mx-4", children: [
30636
30620
  /* @__PURE__ */ jsx(
30637
30621
  Carousel,
30638
30622
  {
@@ -30942,13 +30926,13 @@ function AutoScrollCarousel({
30942
30926
  className: actionClass,
30943
30927
  ...pressableProps
30944
30928
  } = action;
30945
- return /* @__PURE__ */ jsx(
30929
+ return /* @__PURE__ */ jsx("div", { className: "flex text-left", children: /* @__PURE__ */ jsx(
30946
30930
  Pressable,
30947
30931
  {
30948
30932
  variant: "link",
30949
30933
  asButton: true,
30950
30934
  className: cn(
30951
- "font-medium flex items-center",
30935
+ "font-medium flex items-center text-xl",
30952
30936
  actionClass,
30953
30937
  actionClassName
30954
30938
  ),
@@ -30966,7 +30950,7 @@ function AutoScrollCarousel({
30966
30950
  )
30967
30951
  ] })
30968
30952
  }
30969
- );
30953
+ ) });
30970
30954
  }, [actionSlot, action, actionClassName]);
30971
30955
  const imagesContent = useMemo$1(() => {
30972
30956
  if (imagesSlot) return imagesSlot;
@@ -31006,7 +30990,7 @@ function AutoScrollCarousel({
31006
30990
  ),
31007
30991
  children: [
31008
30992
  /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-8 md:gap-12", children: heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
31009
- "h1",
30993
+ "h2",
31010
30994
  {
31011
30995
  className: cn(
31012
30996
  "text-3xl font-bold md:text-4xl",
@@ -31332,11 +31316,11 @@ function CarouselIconTabs({
31332
31316
  "div",
31333
31317
  {
31334
31318
  className: cn(
31335
- "mb-20 flex flex-col items-center justify-center gap-8",
31319
+ "mb-8 md:mb-20 flex flex-col items-center justify-center gap-8",
31336
31320
  headerClassName
31337
31321
  ),
31338
31322
  children: [
31339
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h1", { className: cn("text-4xl", headingClassName), children: heading }) : /* @__PURE__ */ jsx("div", { className: cn("text-4xl", headingClassName), children: heading })),
31323
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h2", { className: cn("text-4xl", headingClassName), children: heading }) : /* @__PURE__ */ jsx("div", { className: cn("text-4xl", headingClassName), children: heading })),
31340
31324
  badge && /* @__PURE__ */ jsx(
31341
31325
  Badge,
31342
31326
  {
@@ -31348,7 +31332,14 @@ function CarouselIconTabs({
31348
31332
  ]
31349
31333
  }
31350
31334
  );
31351
- }, [headerSlot, headerClassName, heading, headingClassName, badge, badgeClassName]);
31335
+ }, [
31336
+ headerSlot,
31337
+ headerClassName,
31338
+ heading,
31339
+ headingClassName,
31340
+ badge,
31341
+ badgeClassName
31342
+ ]);
31352
31343
  const sectionsContent = useMemo$1(() => {
31353
31344
  if (sectionsSlot) return sectionsSlot;
31354
31345
  if (!sections || sections.length === 0) return null;
@@ -31363,7 +31354,7 @@ function CarouselIconTabs({
31363
31354
  src: item.img,
31364
31355
  alt: typeof item.title === "string" ? item.title : item.alt || "Tab image",
31365
31356
  className: cn(
31366
- "aspect-square h-full w-full object-cover md:aspect-2/1 cursor-pointer transition-transform hover:scale-[1.02]",
31357
+ "aspect-square h-full w-full object-cover md:aspect-2/1 cursor-pointer rounded-xl shadow-xl",
31367
31358
  imageClassName
31368
31359
  ),
31369
31360
  loading: "lazy",
@@ -31388,7 +31379,14 @@ function CarouselIconTabs({
31388
31379
  },
31389
31380
  index
31390
31381
  ));
31391
- }, [sectionsSlot, sections, itemClassName, imageClassName, optixFlowConfig, handleImageClick]);
31382
+ }, [
31383
+ sectionsSlot,
31384
+ sections,
31385
+ itemClassName,
31386
+ imageClassName,
31387
+ optixFlowConfig,
31388
+ handleImageClick
31389
+ ]);
31392
31390
  const tabsContent = useMemo$1(() => {
31393
31391
  if (!sections || sections.length === 0) return null;
31394
31392
  return /* @__PURE__ */ jsx(
@@ -31556,16 +31554,7 @@ function TestimonialCarouselCards({
31556
31554
  children: heading
31557
31555
  }
31558
31556
  ),
31559
- /* @__PURE__ */ jsx(
31560
- "p",
31561
- {
31562
- className: cn(
31563
- "text-lg text-muted-foreground",
31564
- descriptionClassName
31565
- ),
31566
- children: description
31567
- }
31568
- )
31557
+ /* @__PURE__ */ jsx("p", { className: cn("text-md", descriptionClassName), children: description })
31569
31558
  ] }),
31570
31559
  /* @__PURE__ */ jsxs(
31571
31560
  "div",
@@ -31646,23 +31635,10 @@ function TestimonialCarouselCards({
31646
31635
  "div",
31647
31636
  {
31648
31637
  className: cn(
31649
- "relative flex h-[460px] w-[400px] flex-col items-start justify-end rounded-2xl p-8",
31650
- testimonial.bgColor,
31651
- quotePanelClassName
31638
+ "relative bg-background text-foreground flex h-[460px] w-[400px] flex-col items-start justify-end rounded-2xl p-8"
31652
31639
  ),
31653
31640
  children: [
31654
- /* @__PURE__ */ jsx(
31655
- Badge,
31656
- {
31657
- className: cn(
31658
- "mb-auto bg-background px-4 py-2",
31659
- badgeClassName
31660
- ),
31661
- children: testimonial.username
31662
- }
31663
- ),
31664
- /* @__PURE__ */ jsx("span", { className: "-rotate-[4deg] text-7xl leading-none", children: '"' }),
31665
- /* @__PURE__ */ jsx("p", { className: "text-xl font-semibold", children: testimonial.quote }),
31641
+ /* @__PURE__ */ jsx("p", { className: "text-lg font-semibold", children: testimonial.quote }),
31666
31642
  /* @__PURE__ */ jsx("p", { className: "mt-4 text-lg font-medium", children: testimonial.author })
31667
31643
  ]
31668
31644
  }
@@ -31689,7 +31665,8 @@ function TestimonialCarouselCards({
31689
31665
  patternOpacity,
31690
31666
  patternClassName,
31691
31667
  className,
31692
- children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start justify-between gap-6 px-4 lg:flex-row lg:px-10", children: [
31668
+ containerClassName: "px-4",
31669
+ children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start justify-between gap-4 lg:flex-row ", children: [
31693
31670
  sidebarContent,
31694
31671
  /* @__PURE__ */ jsxs("div", { className: "relative w-full overflow-hidden pb-12 lg:flex-1", children: [
31695
31672
  /* @__PURE__ */ jsx(
@@ -31730,10 +31707,14 @@ function TestimonialCarouselCards({
31730
31707
  );
31731
31708
  }
31732
31709
  function CarouselIconSidebar({
31710
+ title,
31711
+ description,
31733
31712
  items,
31734
31713
  itemsSlot,
31735
31714
  sidebarSlot,
31736
31715
  className,
31716
+ sectionTitleClassName,
31717
+ sectionDescriptionClassName,
31737
31718
  sidebarClassName,
31738
31719
  iconClassName,
31739
31720
  titleClassName,
@@ -31851,13 +31832,13 @@ function CarouselIconSidebar({
31851
31832
  const itemsContent = useMemo$1(() => {
31852
31833
  if (itemsSlot) return itemsSlot;
31853
31834
  if (!items || items.length === 0) return null;
31854
- return items.map((image, index) => /* @__PURE__ */ jsx(CarouselItem, { className: cn("h-full", itemClassName), children: /* @__PURE__ */ jsx("div", { className: cn("aspect-2/1 h-full w-full", image.className), children: /* @__PURE__ */ jsx(
31835
+ return items.map((image, index) => /* @__PURE__ */ jsx(CarouselItem, { className: cn("h-full", itemClassName), children: /* @__PURE__ */ jsx("div", { className: cn("h-full w-full", image.className), children: /* @__PURE__ */ jsx(
31855
31836
  Img,
31856
31837
  {
31857
31838
  src: image.src,
31858
31839
  alt: typeof image.title === "string" ? image.title : image.alt || "Carousel image",
31859
31840
  className: cn(
31860
- "h-full w-full rounded-lg object-cover cursor-pointer transition-transform hover:scale-[1.02]",
31841
+ "h-full w-full rounded-lg object-cover cursor-pointer",
31861
31842
  imageClassName
31862
31843
  ),
31863
31844
  loading: "lazy",
@@ -31873,7 +31854,14 @@ function CarouselIconSidebar({
31873
31854
  }
31874
31855
  }
31875
31856
  ) }) }, index));
31876
- }, [itemsSlot, items, itemClassName, imageClassName, optixFlowConfig, handleImageClick]);
31857
+ }, [
31858
+ itemsSlot,
31859
+ items,
31860
+ itemClassName,
31861
+ imageClassName,
31862
+ optixFlowConfig,
31863
+ handleImageClick
31864
+ ]);
31877
31865
  return /* @__PURE__ */ jsxs(
31878
31866
  Section,
31879
31867
  {
@@ -31884,6 +31872,25 @@ function CarouselIconSidebar({
31884
31872
  patternClassName,
31885
31873
  className,
31886
31874
  children: [
31875
+ title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
31876
+ title && (typeof title === "string" ? /* @__PURE__ */ jsx(
31877
+ "h2",
31878
+ {
31879
+ className: cn(
31880
+ "text-xl font-medium tracking-tight md:text-2xl lg:text-3xl text-balance",
31881
+ sectionTitleClassName
31882
+ ),
31883
+ children: title
31884
+ }
31885
+ ) : /* @__PURE__ */ jsx("div", { className: sectionTitleClassName, children: title })),
31886
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("max-w-lg text-balance", sectionDescriptionClassName), children: description }) : /* @__PURE__ */ jsx(
31887
+ "div",
31888
+ {
31889
+ className: cn("max-w-lg text-balance", sectionDescriptionClassName),
31890
+ children: description
31891
+ }
31892
+ ))
31893
+ ] }) : null,
31887
31894
  /* @__PURE__ */ jsx(Carousel, { setApi, className: cn("w-full", carouselClassName), children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-5", children: [
31888
31895
  /* @__PURE__ */ jsx("div", { className: "md:col-span-2", children: sidebarContent }),
31889
31896
  /* @__PURE__ */ jsx("div", { className: "h-full md:col-span-3", children: /* @__PURE__ */ jsx(CarouselContent, { className: carouselContentClassName, children: itemsContent }) })
@@ -32608,33 +32615,21 @@ function CarouselTabsContent({
32608
32615
  patternClassName,
32609
32616
  className: cn("overflow-hidden", className),
32610
32617
  children: [
32611
- title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
32618
+ title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
32612
32619
  title && (typeof title === "string" ? /* @__PURE__ */ jsx(
32613
32620
  "h2",
32614
32621
  {
32615
32622
  className: cn(
32616
- "text-xl font-medium tracking-tight md:text-2xl lg:text-3xl",
32623
+ "text-xl font-medium tracking-tight md:text-2xl lg:text-3xl text-balance",
32617
32624
  titleClassName
32618
32625
  ),
32619
32626
  children: title
32620
32627
  }
32621
32628
  ) : /* @__PURE__ */ jsx("div", { className: titleClassName, children: title })),
32622
- description && (typeof description === "string" ? /* @__PURE__ */ jsx(
32623
- "p",
32624
- {
32625
- className: cn(
32626
- "max-w-lg text-muted-foreground",
32627
- descriptionClassName
32628
- ),
32629
- children: description
32630
- }
32631
- ) : /* @__PURE__ */ jsx(
32629
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("max-w-lg text-balance", descriptionClassName), children: description }) : /* @__PURE__ */ jsx(
32632
32630
  "div",
32633
32631
  {
32634
- className: cn(
32635
- "max-w-lg text-muted-foreground",
32636
- descriptionClassName
32637
- ),
32632
+ className: cn("max-w-lg text-balance", descriptionClassName),
32638
32633
  children: description
32639
32634
  }
32640
32635
  ))
@@ -32808,12 +32803,12 @@ function CarouselScaleFocus({
32808
32803
  className: cn("overflow-hidden", className),
32809
32804
  children: [
32810
32805
  /* @__PURE__ */ jsxs("div", { className: "md:px-45", children: [
32811
- title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
32806
+ title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
32812
32807
  title && (typeof title === "string" ? /* @__PURE__ */ jsx(
32813
32808
  "h2",
32814
32809
  {
32815
32810
  className: cn(
32816
- "text-xl font-medium tracking-tight md:text-2xl lg:text-3xl",
32811
+ "text-xl font-medium tracking-tight md:text-2xl lg:text-3xl text-balance",
32817
32812
  titleClassName
32818
32813
  ),
32819
32814
  children: title
@@ -32822,19 +32817,13 @@ function CarouselScaleFocus({
32822
32817
  description && (typeof description === "string" ? /* @__PURE__ */ jsx(
32823
32818
  "p",
32824
32819
  {
32825
- className: cn(
32826
- "max-w-lg text-muted-foreground",
32827
- descriptionClassName
32828
- ),
32820
+ className: cn("max-w-lg text-balance", descriptionClassName),
32829
32821
  children: description
32830
32822
  }
32831
32823
  ) : /* @__PURE__ */ jsx(
32832
32824
  "div",
32833
32825
  {
32834
- className: cn(
32835
- "max-w-lg text-muted-foreground",
32836
- descriptionClassName
32837
- ),
32826
+ className: cn("max-w-lg text-balance", descriptionClassName),
32838
32827
  children: description
32839
32828
  }
32840
32829
  ))
@@ -33138,33 +33127,21 @@ function MasonryMotionGrid({
33138
33127
  patternClassName,
33139
33128
  className,
33140
33129
  children: [
33141
- title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
33130
+ title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
33142
33131
  title && (typeof title === "string" ? /* @__PURE__ */ jsx(
33143
33132
  "h2",
33144
33133
  {
33145
33134
  className: cn(
33146
- "text-xl font-medium tracking-tight md:text-2xl lg:text-3xl",
33135
+ "text-xl font-medium tracking-tight md:text-2xl lg:text-3xl text-balance",
33147
33136
  titleClassName
33148
33137
  ),
33149
33138
  children: title
33150
33139
  }
33151
33140
  ) : /* @__PURE__ */ jsx("div", { className: titleClassName, children: title })),
33152
- description && (typeof description === "string" ? /* @__PURE__ */ jsx(
33153
- "p",
33154
- {
33155
- className: cn(
33156
- "max-w-lg text-muted-foreground",
33157
- descriptionClassName
33158
- ),
33159
- children: description
33160
- }
33161
- ) : /* @__PURE__ */ jsx(
33141
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("max-w-lg text-balance", descriptionClassName), children: description }) : /* @__PURE__ */ jsx(
33162
33142
  "div",
33163
33143
  {
33164
- className: cn(
33165
- "max-w-lg text-muted-foreground",
33166
- descriptionClassName
33167
- ),
33144
+ className: cn("max-w-lg text-balance", descriptionClassName),
33168
33145
  children: description
33169
33146
  }
33170
33147
  ))
@@ -33232,9 +33209,9 @@ function BlurVignette({
33232
33209
  --r: max(var(--transition-length), calc(var(--radius) - var(--inset)));
33233
33210
  --corner-size: calc(var(--r) + var(--inset)) calc(var(--r) + var(--inset));
33234
33211
  --corner-gradient: transparent 0px,
33235
- transparent calc(var(--r) - var(--transition-length)),
33212
+ transparent calc(var(--r) - var(--transition-length)),
33236
33213
  black var(--r);
33237
- --fill-gradient: black,
33214
+ --fill-gradient: black,
33238
33215
  black var(--inset),
33239
33216
  transparent calc(var(--inset) + var(--transition-length)),
33240
33217
  transparent calc(100% - var(--transition-length) - var(--inset)),
@@ -33247,21 +33224,21 @@ function BlurVignette({
33247
33224
  radial-gradient(at bottom left, var(--corner-gradient)),
33248
33225
  radial-gradient(at top left, var(--corner-gradient)),
33249
33226
  radial-gradient(at top right, var(--corner-gradient));
33250
- -webkit-mask-size: 100% var(--fill-narrow-size),
33227
+ -webkit-mask-size: 100% var(--fill-narrow-size),
33251
33228
  var(--fill-narrow-size) 100%,
33252
- var(--corner-size),
33253
- var(--corner-size),
33229
+ var(--corner-size),
33230
+ var(--corner-size),
33254
33231
  var(--corner-size),
33255
33232
  var(--corner-size);
33256
- -webkit-mask-position: 0 var(--fill-farther-position),
33233
+ -webkit-mask-position: 0 var(--fill-farther-position),
33257
33234
  var(--fill-farther-position) 0,
33258
- 0 0,
33259
- 100% 0,
33260
- 100% 100%,
33235
+ 0 0,
33236
+ 100% 0,
33237
+ 100% 100%,
33261
33238
  0 100%;
33262
33239
  -webkit-mask-repeat: no-repeat;
33263
33240
  opacity: 0;
33264
- transition: opacity 0.3s ease;
33241
+ transition: opacity 0.3s ease;
33265
33242
  }
33266
33243
 
33267
33244
  .blur-vignette.active {
@@ -33360,33 +33337,21 @@ function BlurVignetteGrid({
33360
33337
  patternClassName,
33361
33338
  className,
33362
33339
  children: [
33363
- title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
33340
+ title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
33364
33341
  title && (typeof title === "string" ? /* @__PURE__ */ jsx(
33365
33342
  "h2",
33366
33343
  {
33367
33344
  className: cn(
33368
- "text-xl font-medium tracking-tight md:text-2xl lg:text-3xl",
33345
+ "text-xl font-medium tracking-tight md:text-2xl lg:text-3xl text-balance",
33369
33346
  titleClassName
33370
33347
  ),
33371
33348
  children: title
33372
33349
  }
33373
33350
  ) : /* @__PURE__ */ jsx("div", { className: titleClassName, children: title })),
33374
- description && (typeof description === "string" ? /* @__PURE__ */ jsx(
33375
- "p",
33376
- {
33377
- className: cn(
33378
- "max-w-lg text-muted-foreground",
33379
- descriptionClassName
33380
- ),
33381
- children: description
33382
- }
33383
- ) : /* @__PURE__ */ jsx(
33351
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("max-w-lg text-balance", descriptionClassName), children: description }) : /* @__PURE__ */ jsx(
33384
33352
  "div",
33385
33353
  {
33386
- className: cn(
33387
- "max-w-lg text-muted-foreground",
33388
- descriptionClassName
33389
- ),
33354
+ className: cn("max-w-lg text-balance", descriptionClassName),
33390
33355
  children: description
33391
33356
  }
33392
33357
  ))
@@ -33394,7 +33359,11 @@ function BlurVignetteGrid({
33394
33359
  /* @__PURE__ */ jsx(
33395
33360
  "div",
33396
33361
  {
33397
- className: cn(`grid grid-cols-1 md:grid-cols-${gridColumns}`, gridGap, gridClassName),
33362
+ className: cn(
33363
+ `grid grid-cols-1 md:grid-cols-${gridColumns}`,
33364
+ gridGap,
33365
+ gridClassName
33366
+ ),
33398
33367
  children: imagesContent
33399
33368
  }
33400
33369
  )
@@ -33520,27 +33489,24 @@ function InteriorCarousel({
33520
33489
  patternClassName,
33521
33490
  className,
33522
33491
  children: [
33523
- heading || descriptionContent ? /* @__PURE__ */ jsxs("div", { className: "mb-10", children: [
33524
- heading && /* @__PURE__ */ jsx(
33492
+ heading || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
33493
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
33525
33494
  "h2",
33526
33495
  {
33527
33496
  className: cn(
33528
- "mb-4 text-center text-4xl font-semibold",
33497
+ "text-xl font-medium tracking-tight md:text-2xl lg:text-3xl text-balance",
33529
33498
  headingClassName
33530
33499
  ),
33531
33500
  children: heading
33532
33501
  }
33533
- ),
33534
- descriptionContent && /* @__PURE__ */ jsx(
33535
- "p",
33502
+ ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
33503
+ descriptionContent && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("max-w-lg text-balance", descriptionClassName), children: descriptionContent }) : /* @__PURE__ */ jsx(
33504
+ "div",
33536
33505
  {
33537
- className: cn(
33538
- "text-center text-sm text-muted-foreground",
33539
- descriptionClassName
33540
- ),
33506
+ className: cn("max-w-lg text-balance", descriptionClassName),
33541
33507
  children: descriptionContent
33542
33508
  }
33543
- )
33509
+ ))
33544
33510
  ] }) : null,
33545
33511
  /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs(
33546
33512
  Carousel,