@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
|
@@ -935,6 +935,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
935
935
|
iconClassName,
|
|
936
936
|
className,
|
|
937
937
|
iconNameOverride,
|
|
938
|
+
iconOnly = false,
|
|
938
939
|
...pressableProps
|
|
939
940
|
}, ref) => {
|
|
940
941
|
const platform = usePlatformFromUrl.usePlatformFromUrl(href);
|
|
@@ -947,6 +948,21 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
947
948
|
const accessibleLabel = React__namespace.useMemo(() => {
|
|
948
949
|
return label || platformName;
|
|
949
950
|
}, [label, platformName]);
|
|
951
|
+
const icon = React__namespace.useMemo(() => {
|
|
952
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
953
|
+
DynamicIcon,
|
|
954
|
+
{
|
|
955
|
+
name: iconName,
|
|
956
|
+
size: iconSize,
|
|
957
|
+
color: iconColor,
|
|
958
|
+
className: iconClassName,
|
|
959
|
+
alt: accessibleLabel
|
|
960
|
+
}
|
|
961
|
+
);
|
|
962
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
963
|
+
if (iconOnly) {
|
|
964
|
+
return icon;
|
|
965
|
+
}
|
|
950
966
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
951
967
|
Pressable,
|
|
952
968
|
{
|
|
@@ -958,16 +974,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
958
974
|
className
|
|
959
975
|
),
|
|
960
976
|
...pressableProps,
|
|
961
|
-
children:
|
|
962
|
-
DynamicIcon,
|
|
963
|
-
{
|
|
964
|
-
name: iconName,
|
|
965
|
-
size: iconSize,
|
|
966
|
-
color: iconColor,
|
|
967
|
-
className: iconClassName,
|
|
968
|
-
alt: accessibleLabel
|
|
969
|
-
}
|
|
970
|
-
)
|
|
977
|
+
children: icon
|
|
971
978
|
}
|
|
972
979
|
);
|
|
973
980
|
}
|
|
@@ -1009,7 +1016,7 @@ function TestimonialsTwitterCards({
|
|
|
1009
1016
|
"div",
|
|
1010
1017
|
{
|
|
1011
1018
|
className: cn(
|
|
1012
|
-
"grid gap-
|
|
1019
|
+
"grid gap-6 lg:gap-8 md:grid-cols-2 lg:grid-cols-3",
|
|
1013
1020
|
gridClassName
|
|
1014
1021
|
),
|
|
1015
1022
|
children: testimonials.map((testimonial, index) => {
|
|
@@ -1062,7 +1069,8 @@ function TestimonialsTwitterCards({
|
|
|
1062
1069
|
SocialLinkIcon,
|
|
1063
1070
|
{
|
|
1064
1071
|
href: testimonial.linkConfig.href,
|
|
1065
|
-
iconSize: 24
|
|
1072
|
+
iconSize: 24,
|
|
1073
|
+
iconOnly: true
|
|
1066
1074
|
}
|
|
1067
1075
|
)
|
|
1068
1076
|
]
|
|
@@ -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) => {
|
|
@@ -1040,7 +1047,8 @@ function TestimonialsTwitterCards({
|
|
|
1040
1047
|
SocialLinkIcon,
|
|
1041
1048
|
{
|
|
1042
1049
|
href: testimonial.linkConfig.href,
|
|
1043
|
-
iconSize: 24
|
|
1050
|
+
iconSize: 24,
|
|
1051
|
+
iconOnly: true
|
|
1044
1052
|
}
|
|
1045
1053
|
)
|
|
1046
1054
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensite/ui",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.8",
|
|
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",
|