@opensite/ui 2.8.6 → 2.8.8
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/about-developer-profile.cjs +17 -10
- package/dist/about-developer-profile.js +17 -10
- package/dist/article-chapters-author.cjs +17 -10
- package/dist/article-chapters-author.js +17 -10
- package/dist/carousel-animated-sections.cjs +79 -25
- package/dist/carousel-animated-sections.d.cts +7 -2
- package/dist/carousel-animated-sections.d.ts +7 -2
- package/dist/carousel-animated-sections.js +79 -25
- package/dist/carousel-gallery-thumbnails.cjs +79 -25
- package/dist/carousel-gallery-thumbnails.d.cts +7 -2
- package/dist/carousel-gallery-thumbnails.d.ts +7 -2
- package/dist/carousel-gallery-thumbnails.js +79 -25
- package/dist/carousel-icon-sidebar.cjs +5 -4
- package/dist/carousel-icon-sidebar.js +5 -4
- package/dist/carousel-portfolio-hero.cjs +79 -25
- package/dist/carousel-portfolio-hero.d.cts +7 -2
- package/dist/carousel-portfolio-hero.d.ts +7 -2
- package/dist/carousel-portfolio-hero.js +79 -25
- package/dist/components.cjs +81 -42
- package/dist/components.d.cts +29 -2
- package/dist/components.d.ts +29 -2
- package/dist/components.js +81 -43
- package/dist/contact-map.cjs +46 -32
- package/dist/contact-map.js +46 -32
- package/dist/footer-accordion-social.cjs +17 -10
- package/dist/footer-accordion-social.js +17 -10
- package/dist/footer-animated-social.cjs +17 -10
- package/dist/footer-animated-social.js +17 -10
- package/dist/footer-brand-description.cjs +17 -10
- package/dist/footer-brand-description.js +17 -10
- package/dist/footer-brand-links-contact.cjs +17 -10
- package/dist/footer-brand-links-contact.js +17 -10
- package/dist/footer-comprehensive-links.cjs +17 -10
- package/dist/footer-comprehensive-links.js +17 -10
- package/dist/footer-contact-card.cjs +17 -10
- package/dist/footer-contact-card.js +17 -10
- package/dist/footer-cta-banner.cjs +17 -10
- package/dist/footer-cta-banner.js +17 -10
- package/dist/footer-cta-social.cjs +17 -10
- package/dist/footer-cta-social.js +17 -10
- package/dist/footer-info-cards-accordion.cjs +17 -10
- package/dist/footer-info-cards-accordion.js +17 -10
- package/dist/footer-nav-social.cjs +17 -10
- package/dist/footer-nav-social.js +17 -10
- package/dist/footer-newsletter-contact.cjs +17 -10
- package/dist/footer-newsletter-contact.js +17 -10
- package/dist/footer-newsletter-grid.cjs +17 -10
- package/dist/footer-newsletter-grid.js +17 -10
- package/dist/footer-newsletter-minimal.cjs +17 -10
- package/dist/footer-newsletter-minimal.js +17 -10
- package/dist/footer-social-apps.cjs +17 -10
- package/dist/footer-social-apps.js +17 -10
- package/dist/footer-social-newsletter.cjs +17 -10
- package/dist/footer-social-newsletter.js +17 -10
- package/dist/footer-split-image-accordion.cjs +17 -10
- package/dist/footer-split-image-accordion.js +17 -10
- package/dist/geo-map.cjs +46 -32
- package/dist/geo-map.js +46 -32
- package/dist/hero-coming-soon-countdown.cjs +17 -10
- package/dist/hero-coming-soon-countdown.js +17 -10
- package/dist/hero-video-background-dark.cjs +78 -16
- package/dist/hero-video-background-dark.d.cts +7 -2
- package/dist/hero-video-background-dark.d.ts +7 -2
- package/dist/hero-video-background-dark.js +78 -16
- package/dist/index.cjs +81 -42
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +81 -43
- package/dist/link-page-bento-layout.cjs +17 -10
- package/dist/link-page-bento-layout.js +17 -10
- package/dist/link-page-grid-cards.cjs +17 -10
- package/dist/link-page-grid-cards.js +17 -10
- package/dist/link-page-minimal-profile.cjs +17 -10
- package/dist/link-page-minimal-profile.js +17 -10
- package/dist/link-page-newsletter-social.cjs +17 -10
- package/dist/link-page-newsletter-social.js +17 -10
- package/dist/link-tree-block.cjs +17 -10
- package/dist/link-tree-block.js +17 -10
- package/dist/navbar-fullscreen-menu.cjs +17 -10
- package/dist/navbar-fullscreen-menu.js +17 -10
- package/dist/navbar-transparent-overlay.cjs +17 -10
- package/dist/navbar-transparent-overlay.js +17 -10
- package/dist/registry.cjs +967 -620
- package/dist/registry.js +967 -620
- package/dist/social-link-icon.cjs +17 -10
- package/dist/social-link-icon.d.cts +5 -0
- package/dist/social-link-icon.d.ts +5 -0
- package/dist/social-link-icon.js +17 -10
- package/dist/testimonials-bento-grid.cjs +1 -1
- package/dist/testimonials-bento-grid.js +1 -1
- package/dist/testimonials-carousel-image.cjs +16 -2
- package/dist/testimonials-carousel-image.d.cts +5 -1
- package/dist/testimonials-carousel-image.d.ts +5 -1
- package/dist/testimonials-carousel-image.js +16 -2
- package/dist/testimonials-centered-avatars.cjs +1 -1
- package/dist/testimonials-centered-avatars.js +1 -1
- package/dist/testimonials-grid-add-review.cjs +51 -29
- package/dist/testimonials-grid-add-review.js +51 -29
- package/dist/testimonials-images-helpful.cjs +181 -160
- package/dist/testimonials-images-helpful.d.cts +9 -1
- package/dist/testimonials-images-helpful.d.ts +9 -1
- package/dist/testimonials-images-helpful.js +181 -159
- package/dist/testimonials-large-quote.cjs +74 -43
- package/dist/testimonials-large-quote.d.cts +5 -1
- package/dist/testimonials-large-quote.d.ts +5 -1
- package/dist/testimonials-large-quote.js +74 -43
- package/dist/testimonials-list-verified.cjs +63 -44
- package/dist/testimonials-list-verified.d.cts +5 -1
- package/dist/testimonials-list-verified.d.ts +5 -1
- package/dist/testimonials-list-verified.js +64 -45
- package/dist/testimonials-logo-cards.cjs +55 -25
- package/dist/testimonials-logo-cards.d.cts +5 -1
- package/dist/testimonials-logo-cards.d.ts +5 -1
- package/dist/testimonials-logo-cards.js +55 -25
- package/dist/testimonials-marquee.cjs +440 -28
- package/dist/testimonials-marquee.js +441 -26
- package/dist/testimonials-masonry-grid.cjs +486 -69
- package/dist/testimonials-masonry-grid.d.cts +5 -1
- package/dist/testimonials-masonry-grid.d.ts +5 -1
- package/dist/testimonials-masonry-grid.js +483 -63
- package/dist/testimonials-mini-dividers.cjs +119 -83
- package/dist/testimonials-mini-dividers.d.cts +10 -6
- package/dist/testimonials-mini-dividers.d.ts +10 -6
- package/dist/testimonials-mini-dividers.js +119 -83
- package/dist/testimonials-minimal-numbered.cjs +9 -7
- package/dist/testimonials-minimal-numbered.d.cts +5 -1
- package/dist/testimonials-minimal-numbered.d.ts +5 -1
- package/dist/testimonials-minimal-numbered.js +9 -7
- package/dist/testimonials-parallax-number.cjs +14 -9
- package/dist/testimonials-parallax-number.js +14 -9
- package/dist/testimonials-scrolling-columns.cjs +100 -21
- package/dist/testimonials-scrolling-columns.js +100 -21
- package/dist/testimonials-simple-grid.cjs +22 -5
- package/dist/testimonials-simple-grid.js +22 -5
- package/dist/testimonials-slider-minimal.cjs +1 -1
- package/dist/testimonials-slider-minimal.js +1 -1
- package/dist/testimonials-stats-header.cjs +528 -87
- package/dist/testimonials-stats-header.d.cts +39 -3
- package/dist/testimonials-stats-header.d.ts +39 -3
- package/dist/testimonials-stats-header.js +523 -82
- package/dist/testimonials-twitter-cards.cjs +20 -12
- package/dist/testimonials-twitter-cards.js +20 -12
- package/package.json +11 -1
|
@@ -97,6 +97,10 @@ interface TestimonialsLogoCardsProps {
|
|
|
97
97
|
* OptixFlow image optimization configuration
|
|
98
98
|
*/
|
|
99
99
|
optixFlowConfig?: OptixFlowConfig;
|
|
100
|
+
/**
|
|
101
|
+
* Additional CSS classes for the container
|
|
102
|
+
*/
|
|
103
|
+
containerClassName?: string;
|
|
100
104
|
}
|
|
101
105
|
/**
|
|
102
106
|
* TestimonialsLogoCards - A grid of testimonial cards featuring company logos in the
|
|
@@ -125,6 +129,6 @@ interface TestimonialsLogoCardsProps {
|
|
|
125
129
|
* />
|
|
126
130
|
* ```
|
|
127
131
|
*/
|
|
128
|
-
declare function TestimonialsLogoCards({ testimonials, testimonialsSlot, heading, description, className, headerClassName, headingClassName, descriptionClassName, gridClassName, cardClassName, cardHeaderClassName, cardContentClassName, quoteClassName, authorClassName, background, spacing, pattern, patternOpacity, optixFlowConfig, }: TestimonialsLogoCardsProps): React.JSX.Element;
|
|
132
|
+
declare function TestimonialsLogoCards({ testimonials, testimonialsSlot, heading, description, className, headerClassName, headingClassName, descriptionClassName, gridClassName, cardClassName, cardHeaderClassName, cardContentClassName, quoteClassName, authorClassName, background, spacing, containerClassName, pattern, patternOpacity, optixFlowConfig, }: TestimonialsLogoCardsProps): React.JSX.Element;
|
|
129
133
|
|
|
130
134
|
export { type LogoTestimonialItem, TestimonialsLogoCards, type TestimonialsLogoCardsProps };
|
|
@@ -97,6 +97,10 @@ interface TestimonialsLogoCardsProps {
|
|
|
97
97
|
* OptixFlow image optimization configuration
|
|
98
98
|
*/
|
|
99
99
|
optixFlowConfig?: OptixFlowConfig;
|
|
100
|
+
/**
|
|
101
|
+
* Additional CSS classes for the container
|
|
102
|
+
*/
|
|
103
|
+
containerClassName?: string;
|
|
100
104
|
}
|
|
101
105
|
/**
|
|
102
106
|
* TestimonialsLogoCards - A grid of testimonial cards featuring company logos in the
|
|
@@ -125,6 +129,6 @@ interface TestimonialsLogoCardsProps {
|
|
|
125
129
|
* />
|
|
126
130
|
* ```
|
|
127
131
|
*/
|
|
128
|
-
declare function TestimonialsLogoCards({ testimonials, testimonialsSlot, heading, description, className, headerClassName, headingClassName, descriptionClassName, gridClassName, cardClassName, cardHeaderClassName, cardContentClassName, quoteClassName, authorClassName, background, spacing, pattern, patternOpacity, optixFlowConfig, }: TestimonialsLogoCardsProps): React.JSX.Element;
|
|
132
|
+
declare function TestimonialsLogoCards({ testimonials, testimonialsSlot, heading, description, className, headerClassName, headingClassName, descriptionClassName, gridClassName, cardClassName, cardHeaderClassName, cardContentClassName, quoteClassName, authorClassName, background, spacing, containerClassName, pattern, patternOpacity, optixFlowConfig, }: TestimonialsLogoCardsProps): React.JSX.Element;
|
|
129
133
|
|
|
130
134
|
export { type LogoTestimonialItem, TestimonialsLogoCards, type TestimonialsLogoCardsProps };
|
|
@@ -483,18 +483,25 @@ function TestimonialsLogoCards({
|
|
|
483
483
|
quoteClassName,
|
|
484
484
|
authorClassName,
|
|
485
485
|
background,
|
|
486
|
-
spacing,
|
|
486
|
+
spacing = "lg",
|
|
487
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
487
488
|
pattern,
|
|
488
489
|
patternOpacity,
|
|
489
490
|
optixFlowConfig
|
|
490
491
|
}) {
|
|
491
|
-
const getAuthorName = useCallback(
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
492
|
+
const getAuthorName = useCallback(
|
|
493
|
+
(testimonial) => {
|
|
494
|
+
if (typeof testimonial.author === "string") return testimonial.author;
|
|
495
|
+
return "";
|
|
496
|
+
},
|
|
497
|
+
[]
|
|
498
|
+
);
|
|
499
|
+
const getAvatarSrc = useCallback(
|
|
500
|
+
(testimonial) => {
|
|
501
|
+
return testimonial.avatarSrc || testimonial.avatar?.src;
|
|
502
|
+
},
|
|
503
|
+
[]
|
|
504
|
+
);
|
|
498
505
|
const getInitials = useCallback((name) => {
|
|
499
506
|
return name.split(" ").map((n) => n[0]).join("");
|
|
500
507
|
}, []);
|
|
@@ -525,7 +532,10 @@ function TestimonialsLogoCards({
|
|
|
525
532
|
{
|
|
526
533
|
src: testimonial.companyLogo,
|
|
527
534
|
alt: testimonial.companyLogoAlt || "Company logo",
|
|
528
|
-
className:
|
|
535
|
+
className: cn(
|
|
536
|
+
index === 0 ? "h-10" : "h-5",
|
|
537
|
+
"w-auto object-contain"
|
|
538
|
+
),
|
|
529
539
|
optixFlowConfig
|
|
530
540
|
}
|
|
531
541
|
) }),
|
|
@@ -542,20 +552,29 @@ function TestimonialsLogoCards({
|
|
|
542
552
|
{
|
|
543
553
|
className: cn(
|
|
544
554
|
"leading-relaxed",
|
|
545
|
-
index === 0 ? "text-xl font-
|
|
555
|
+
index === 0 ? "text-lg md:text-xl font-light" : "text-sm md:text-base",
|
|
546
556
|
quoteClassName
|
|
547
557
|
),
|
|
548
558
|
children: testimonial.quote
|
|
549
559
|
}
|
|
550
|
-
) :
|
|
560
|
+
) : testimonial.quote),
|
|
551
561
|
/* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-3", authorClassName), children: [
|
|
552
|
-
/* @__PURE__ */ jsxs(
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
562
|
+
/* @__PURE__ */ jsxs(
|
|
563
|
+
Avatar,
|
|
564
|
+
{
|
|
565
|
+
className: cn(
|
|
566
|
+
index === 0 ? "size-12" : "size-10",
|
|
567
|
+
"ring-4 ring-primary"
|
|
568
|
+
),
|
|
569
|
+
children: [
|
|
570
|
+
/* @__PURE__ */ jsx(AvatarImage, { src: avatarSrc, alt: authorName }),
|
|
571
|
+
/* @__PURE__ */ jsx(AvatarFallback, { children: getInitials(authorName) })
|
|
572
|
+
]
|
|
573
|
+
}
|
|
574
|
+
),
|
|
556
575
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
557
|
-
testimonial.author && (typeof testimonial.author === "string" ? /* @__PURE__ */ jsx("cite", { className: "text-sm font-medium
|
|
558
|
-
testimonial.role && (typeof testimonial.role === "string" ? /* @__PURE__ */ jsx("p", { className: "text-xs text-
|
|
576
|
+
testimonial.author && (typeof testimonial.author === "string" ? /* @__PURE__ */ jsx("cite", { className: "text-sm md:text-base font-medium", children: testimonial.author }) : testimonial.author),
|
|
577
|
+
testimonial.role && (typeof testimonial.role === "string" ? /* @__PURE__ */ jsx("p", { className: "text-xs md:text-sm", children: testimonial.role }) : testimonial.role)
|
|
559
578
|
] })
|
|
560
579
|
] })
|
|
561
580
|
]
|
|
@@ -568,7 +587,20 @@ function TestimonialsLogoCards({
|
|
|
568
587
|
})
|
|
569
588
|
}
|
|
570
589
|
);
|
|
571
|
-
}, [
|
|
590
|
+
}, [
|
|
591
|
+
testimonialsSlot,
|
|
592
|
+
gridClassName,
|
|
593
|
+
testimonials,
|
|
594
|
+
cardClassName,
|
|
595
|
+
cardHeaderClassName,
|
|
596
|
+
optixFlowConfig,
|
|
597
|
+
cardContentClassName,
|
|
598
|
+
quoteClassName,
|
|
599
|
+
authorClassName,
|
|
600
|
+
getAuthorName,
|
|
601
|
+
getAvatarSrc,
|
|
602
|
+
getInitials
|
|
603
|
+
]);
|
|
572
604
|
return /* @__PURE__ */ jsxs(
|
|
573
605
|
Section,
|
|
574
606
|
{
|
|
@@ -577,6 +609,7 @@ function TestimonialsLogoCards({
|
|
|
577
609
|
pattern,
|
|
578
610
|
patternOpacity,
|
|
579
611
|
className,
|
|
612
|
+
containerClassName,
|
|
580
613
|
children: [
|
|
581
614
|
/* @__PURE__ */ jsxs(
|
|
582
615
|
"div",
|
|
@@ -587,22 +620,19 @@ function TestimonialsLogoCards({
|
|
|
587
620
|
"h2",
|
|
588
621
|
{
|
|
589
622
|
className: cn(
|
|
590
|
-
"text-3xl font-semibold tracking-tight md:text-4xl",
|
|
623
|
+
"text-3xl font-semibold tracking-tight md:text-4xl text-balance",
|
|
591
624
|
headingClassName
|
|
592
625
|
),
|
|
593
626
|
children: heading
|
|
594
627
|
}
|
|
595
|
-
) :
|
|
628
|
+
) : heading),
|
|
596
629
|
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
597
630
|
"p",
|
|
598
631
|
{
|
|
599
|
-
className: cn(
|
|
600
|
-
"mt-4 text-lg text-muted-foreground",
|
|
601
|
-
descriptionClassName
|
|
602
|
-
),
|
|
632
|
+
className: cn("mt-4 text-lg text-balance", descriptionClassName),
|
|
603
633
|
children: description
|
|
604
634
|
}
|
|
605
|
-
) :
|
|
635
|
+
) : description)
|
|
606
636
|
]
|
|
607
637
|
}
|
|
608
638
|
),
|