@opensite/ui 2.8.5 → 2.8.7
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-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 +35 -10
- package/dist/components.d.cts +29 -2
- package/dist/components.d.ts +29 -2
- package/dist/components.js +35 -11
- 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/hero-badge-shadow-overlay.cjs +1 -1
- package/dist/hero-badge-shadow-overlay.js +1 -1
- 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 +35 -10
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +35 -11
- 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 +1398 -851
- package/dist/registry.js +1398 -851
- 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-animated-split.cjs +5 -5
- package/dist/testimonials-animated-split.js +5 -5
- package/dist/testimonials-bento-grid.cjs +48 -56
- package/dist/testimonials-bento-grid.js +48 -56
- package/dist/testimonials-carousel-image.cjs +608 -96
- package/dist/testimonials-carousel-image.d.cts +26 -2
- package/dist/testimonials-carousel-image.d.ts +26 -2
- package/dist/testimonials-carousel-image.js +609 -97
- package/dist/testimonials-centered-avatars.cjs +89 -62
- package/dist/testimonials-centered-avatars.d.cts +5 -1
- package/dist/testimonials-centered-avatars.d.ts +5 -1
- package/dist/testimonials-centered-avatars.js +89 -62
- package/dist/testimonials-company-logo.cjs +6 -6
- package/dist/testimonials-company-logo.js +6 -6
- 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-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 +53 -29
- package/dist/testimonials-logo-cards.d.cts +5 -1
- package/dist/testimonials-logo-cards.d.ts +5 -1
- package/dist/testimonials-logo-cards.js +53 -29
- package/dist/testimonials-marquee.cjs +524 -102
- package/dist/testimonials-marquee.d.cts +5 -1
- package/dist/testimonials-marquee.d.ts +5 -1
- package/dist/testimonials-marquee.js +525 -100
- package/dist/testimonials-mini-dividers.cjs +120 -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 +120 -83
- package/dist/testimonials-minimal-numbered.cjs +7 -6
- package/dist/testimonials-minimal-numbered.d.cts +5 -1
- package/dist/testimonials-minimal-numbered.d.ts +5 -1
- package/dist/testimonials-minimal-numbered.js +7 -6
- package/dist/testimonials-parallax-number.cjs +14 -8
- package/dist/testimonials-parallax-number.js +14 -8
- package/dist/testimonials-scrolling-columns.cjs +97 -13
- package/dist/testimonials-scrolling-columns.js +97 -13
- package/dist/testimonials-simple-grid.cjs +513 -68
- package/dist/testimonials-simple-grid.d.cts +9 -5
- package/dist/testimonials-simple-grid.d.ts +9 -5
- package/dist/testimonials-simple-grid.js +510 -62
- package/dist/testimonials-slider-minimal.cjs +604 -90
- package/dist/testimonials-slider-minimal.d.cts +17 -1
- package/dist/testimonials-slider-minimal.d.ts +17 -1
- package/dist/testimonials-slider-minimal.js +598 -81
- package/dist/testimonials-split-image.cjs +452 -17
- package/dist/testimonials-split-image.js +448 -13
- package/dist/testimonials-twitter-cards.cjs +26 -14
- package/dist/testimonials-twitter-cards.js +26 -14
- package/package.json +11 -1
|
@@ -913,6 +913,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
913
913
|
iconClassName,
|
|
914
914
|
className,
|
|
915
915
|
iconNameOverride,
|
|
916
|
+
iconOnly = false,
|
|
916
917
|
...pressableProps
|
|
917
918
|
}, ref) => {
|
|
918
919
|
const platform = usePlatformFromUrl(href);
|
|
@@ -925,6 +926,21 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
925
926
|
const accessibleLabel = React.useMemo(() => {
|
|
926
927
|
return label || platformName;
|
|
927
928
|
}, [label, platformName]);
|
|
929
|
+
const icon = React.useMemo(() => {
|
|
930
|
+
return /* @__PURE__ */ jsx(
|
|
931
|
+
DynamicIcon,
|
|
932
|
+
{
|
|
933
|
+
name: iconName,
|
|
934
|
+
size: iconSize,
|
|
935
|
+
color: iconColor,
|
|
936
|
+
className: iconClassName,
|
|
937
|
+
alt: accessibleLabel
|
|
938
|
+
}
|
|
939
|
+
);
|
|
940
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
941
|
+
if (iconOnly) {
|
|
942
|
+
return icon;
|
|
943
|
+
}
|
|
928
944
|
return /* @__PURE__ */ jsx(
|
|
929
945
|
Pressable,
|
|
930
946
|
{
|
|
@@ -936,16 +952,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
936
952
|
className
|
|
937
953
|
),
|
|
938
954
|
...pressableProps,
|
|
939
|
-
children:
|
|
940
|
-
DynamicIcon,
|
|
941
|
-
{
|
|
942
|
-
name: iconName,
|
|
943
|
-
size: iconSize,
|
|
944
|
-
color: iconColor,
|
|
945
|
-
className: iconClassName,
|
|
946
|
-
alt: accessibleLabel
|
|
947
|
-
}
|
|
948
|
-
)
|
|
955
|
+
children: icon
|
|
949
956
|
}
|
|
950
957
|
);
|
|
951
958
|
}
|
|
@@ -987,7 +994,7 @@ function TestimonialsTwitterCards({
|
|
|
987
994
|
"div",
|
|
988
995
|
{
|
|
989
996
|
className: cn(
|
|
990
|
-
"grid gap-
|
|
997
|
+
"grid gap-6 lg:gap-8 md:grid-cols-2 lg:grid-cols-3",
|
|
991
998
|
gridClassName
|
|
992
999
|
),
|
|
993
1000
|
children: testimonials.map((testimonial, index) => {
|
|
@@ -997,14 +1004,18 @@ function TestimonialsTwitterCards({
|
|
|
997
1004
|
{
|
|
998
1005
|
href: testimonial.linkConfig?.href,
|
|
999
1006
|
className: cn(
|
|
1000
|
-
"bg-card text-card-foreground
|
|
1007
|
+
"bg-card text-card-foreground",
|
|
1008
|
+
"flex flex-col gap-6",
|
|
1009
|
+
testimonial.linkConfig?.href ? "cursor-pointer hover:bg-primary hover:text-primary-foreground transition-all duration-500" : "",
|
|
1010
|
+
"rounded-2xl py-6 shadow-xl group",
|
|
1011
|
+
"ring-4 ring-primary",
|
|
1001
1012
|
cardClassName
|
|
1002
1013
|
),
|
|
1003
1014
|
children: /* @__PURE__ */ jsxs(
|
|
1004
1015
|
CardContent,
|
|
1005
1016
|
{
|
|
1006
1017
|
className: cn(
|
|
1007
|
-
"px-6 h-full flex flex-col-reverse items-stretch justify-between",
|
|
1018
|
+
"px-6 h-full flex flex-col-reverse items-stretch justify-between gap-12",
|
|
1008
1019
|
cardContentClassName
|
|
1009
1020
|
),
|
|
1010
1021
|
children: [
|
|
@@ -1036,7 +1047,8 @@ function TestimonialsTwitterCards({
|
|
|
1036
1047
|
SocialLinkIcon,
|
|
1037
1048
|
{
|
|
1038
1049
|
href: testimonial.linkConfig.href,
|
|
1039
|
-
iconSize:
|
|
1050
|
+
iconSize: 24,
|
|
1051
|
+
iconOnly: true
|
|
1040
1052
|
}
|
|
1041
1053
|
)
|
|
1042
1054
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensite/ui",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.7",
|
|
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",
|
|
@@ -3096,6 +3096,11 @@
|
|
|
3096
3096
|
"import": "./dist/geo-map.js",
|
|
3097
3097
|
"require": "./dist/geo-map.cjs"
|
|
3098
3098
|
},
|
|
3099
|
+
"./components/gradient-overlay": {
|
|
3100
|
+
"types": "./dist/gradient-overlay.d.ts",
|
|
3101
|
+
"import": "./dist/gradient-overlay.js",
|
|
3102
|
+
"require": "./dist/gradient-overlay.cjs"
|
|
3103
|
+
},
|
|
3099
3104
|
"./components/image-slider": {
|
|
3100
3105
|
"types": "./dist/image-slider.d.ts",
|
|
3101
3106
|
"import": "./dist/image-slider.js",
|
|
@@ -3176,6 +3181,11 @@
|
|
|
3176
3181
|
"import": "./dist/social-link-icon.js",
|
|
3177
3182
|
"require": "./dist/social-link-icon.cjs"
|
|
3178
3183
|
},
|
|
3184
|
+
"./components/star-rating": {
|
|
3185
|
+
"types": "./dist/star-rating.d.ts",
|
|
3186
|
+
"import": "./dist/star-rating.js",
|
|
3187
|
+
"require": "./dist/star-rating.cjs"
|
|
3188
|
+
},
|
|
3179
3189
|
"./components/switch": {
|
|
3180
3190
|
"types": "./dist/switch.d.ts",
|
|
3181
3191
|
"import": "./dist/switch.js",
|