@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
package/dist/components.js
CHANGED
|
@@ -2106,6 +2106,23 @@ function PopoverContent({
|
|
|
2106
2106
|
}
|
|
2107
2107
|
) });
|
|
2108
2108
|
}
|
|
2109
|
+
function StarRating({
|
|
2110
|
+
rating,
|
|
2111
|
+
size = 18,
|
|
2112
|
+
className
|
|
2113
|
+
}) {
|
|
2114
|
+
return /* @__PURE__ */ jsx("div", { className: cn("flex items-center gap-0.5", className), children: [1, 2, 3, 4, 5].map((star) => /* @__PURE__ */ jsx(
|
|
2115
|
+
DynamicIcon,
|
|
2116
|
+
{
|
|
2117
|
+
name: "icon-park-solid/star",
|
|
2118
|
+
size,
|
|
2119
|
+
className: cn(
|
|
2120
|
+
star <= rating ? "fill-primary text-primary" : "fill-muted text-muted"
|
|
2121
|
+
)
|
|
2122
|
+
},
|
|
2123
|
+
star
|
|
2124
|
+
)) });
|
|
2125
|
+
}
|
|
2109
2126
|
var BUTTON_SIZES = {
|
|
2110
2127
|
sm: { buttonSize: "size-8", iconSize: 16 },
|
|
2111
2128
|
md: { buttonSize: "size-10", iconSize: 20 },
|
|
@@ -2207,6 +2224,7 @@ var SocialLinkIcon = React6.forwardRef(
|
|
|
2207
2224
|
iconClassName,
|
|
2208
2225
|
className,
|
|
2209
2226
|
iconNameOverride,
|
|
2227
|
+
iconOnly = false,
|
|
2210
2228
|
...pressableProps
|
|
2211
2229
|
}, ref) => {
|
|
2212
2230
|
const platform = usePlatformFromUrl(href);
|
|
@@ -2219,6 +2237,21 @@ var SocialLinkIcon = React6.forwardRef(
|
|
|
2219
2237
|
const accessibleLabel = React6.useMemo(() => {
|
|
2220
2238
|
return label || platformName;
|
|
2221
2239
|
}, [label, platformName]);
|
|
2240
|
+
const icon = React6.useMemo(() => {
|
|
2241
|
+
return /* @__PURE__ */ jsx(
|
|
2242
|
+
DynamicIcon,
|
|
2243
|
+
{
|
|
2244
|
+
name: iconName,
|
|
2245
|
+
size: iconSize,
|
|
2246
|
+
color: iconColor,
|
|
2247
|
+
className: iconClassName,
|
|
2248
|
+
alt: accessibleLabel
|
|
2249
|
+
}
|
|
2250
|
+
);
|
|
2251
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
2252
|
+
if (iconOnly) {
|
|
2253
|
+
return icon;
|
|
2254
|
+
}
|
|
2222
2255
|
return /* @__PURE__ */ jsx(
|
|
2223
2256
|
Pressable,
|
|
2224
2257
|
{
|
|
@@ -2230,16 +2263,7 @@ var SocialLinkIcon = React6.forwardRef(
|
|
|
2230
2263
|
className
|
|
2231
2264
|
),
|
|
2232
2265
|
...pressableProps,
|
|
2233
|
-
children:
|
|
2234
|
-
DynamicIcon,
|
|
2235
|
-
{
|
|
2236
|
-
name: iconName,
|
|
2237
|
-
size: iconSize,
|
|
2238
|
-
color: iconColor,
|
|
2239
|
-
className: iconClassName,
|
|
2240
|
-
alt: accessibleLabel
|
|
2241
|
-
}
|
|
2242
|
-
)
|
|
2266
|
+
children: icon
|
|
2243
2267
|
}
|
|
2244
2268
|
);
|
|
2245
2269
|
}
|
|
@@ -7488,4 +7512,4 @@ function FooterNavSocial({
|
|
|
7488
7512
|
);
|
|
7489
7513
|
}
|
|
7490
7514
|
|
|
7491
|
-
export { AboutCultureTabs, AboutExpandableValues, AboutMissionPrinciples, AboutSplitHero, AlternatingBlocks, AnimatedDialog, Badge, BannerAnnouncementDismissible, BannerCountdownSale, BannerDeliveryCountdown, BannerEventPromo, BannerFloatingOffer, BannerGdprRights, BannerPrivacyNotice, BannerPromoCta, BannerSocialFollow, BannerSurveyIncentive, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CarouselPagination, CommunityInitiatives, Container, DynamicIcon, FooterAnimatedSocial, FooterBackgroundCard, FooterBrandDescription, FooterContactCard, FooterCtaBanner, FooterCtaSocial, FooterLinksGrid, FooterNavSocial, FooterNewsletterGrid, FooterNewsletterMinimal, FooterSimpleCentered, FooterSocialApps, FooterSocialNewsletter, GeoMap, ImageSlider, MediaHoverCtas, PageHeroBanner, PaymentPlatformIcon, Popover, PopoverContent, PopoverTrigger, Pressable, Section, SocialLinkIcon };
|
|
7515
|
+
export { AboutCultureTabs, AboutExpandableValues, AboutMissionPrinciples, AboutSplitHero, AlternatingBlocks, AnimatedDialog, Badge, BannerAnnouncementDismissible, BannerCountdownSale, BannerDeliveryCountdown, BannerEventPromo, BannerFloatingOffer, BannerGdprRights, BannerPrivacyNotice, BannerPromoCta, BannerSocialFollow, BannerSurveyIncentive, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CarouselPagination, CommunityInitiatives, Container, DynamicIcon, FooterAnimatedSocial, FooterBackgroundCard, FooterBrandDescription, FooterContactCard, FooterCtaBanner, FooterCtaSocial, FooterLinksGrid, FooterNavSocial, FooterNewsletterGrid, FooterNewsletterMinimal, FooterSimpleCentered, FooterSocialApps, FooterSocialNewsletter, GeoMap, ImageSlider, MediaHoverCtas, PageHeroBanner, PaymentPlatformIcon, Popover, PopoverContent, PopoverTrigger, Pressable, Section, SocialLinkIcon, StarRating };
|
|
@@ -1415,6 +1415,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1415
1415
|
iconClassName,
|
|
1416
1416
|
className,
|
|
1417
1417
|
iconNameOverride,
|
|
1418
|
+
iconOnly = false,
|
|
1418
1419
|
...pressableProps
|
|
1419
1420
|
}, ref) => {
|
|
1420
1421
|
const platform = usePlatformFromUrl.usePlatformFromUrl(href);
|
|
@@ -1427,6 +1428,21 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1427
1428
|
const accessibleLabel = React__namespace.useMemo(() => {
|
|
1428
1429
|
return label || platformName;
|
|
1429
1430
|
}, [label, platformName]);
|
|
1431
|
+
const icon = React__namespace.useMemo(() => {
|
|
1432
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1433
|
+
DynamicIcon,
|
|
1434
|
+
{
|
|
1435
|
+
name: iconName,
|
|
1436
|
+
size: iconSize,
|
|
1437
|
+
color: iconColor,
|
|
1438
|
+
className: iconClassName,
|
|
1439
|
+
alt: accessibleLabel
|
|
1440
|
+
}
|
|
1441
|
+
);
|
|
1442
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
1443
|
+
if (iconOnly) {
|
|
1444
|
+
return icon;
|
|
1445
|
+
}
|
|
1430
1446
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1431
1447
|
Pressable,
|
|
1432
1448
|
{
|
|
@@ -1438,16 +1454,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1438
1454
|
className
|
|
1439
1455
|
),
|
|
1440
1456
|
...pressableProps,
|
|
1441
|
-
children:
|
|
1442
|
-
DynamicIcon,
|
|
1443
|
-
{
|
|
1444
|
-
name: iconName,
|
|
1445
|
-
size: iconSize,
|
|
1446
|
-
color: iconColor,
|
|
1447
|
-
className: iconClassName,
|
|
1448
|
-
alt: accessibleLabel
|
|
1449
|
-
}
|
|
1450
|
-
)
|
|
1457
|
+
children: icon
|
|
1451
1458
|
}
|
|
1452
1459
|
);
|
|
1453
1460
|
}
|
|
@@ -1394,6 +1394,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1394
1394
|
iconClassName,
|
|
1395
1395
|
className,
|
|
1396
1396
|
iconNameOverride,
|
|
1397
|
+
iconOnly = false,
|
|
1397
1398
|
...pressableProps
|
|
1398
1399
|
}, ref) => {
|
|
1399
1400
|
const platform = usePlatformFromUrl(href);
|
|
@@ -1406,6 +1407,21 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1406
1407
|
const accessibleLabel = React.useMemo(() => {
|
|
1407
1408
|
return label || platformName;
|
|
1408
1409
|
}, [label, platformName]);
|
|
1410
|
+
const icon = React.useMemo(() => {
|
|
1411
|
+
return /* @__PURE__ */ jsx(
|
|
1412
|
+
DynamicIcon,
|
|
1413
|
+
{
|
|
1414
|
+
name: iconName,
|
|
1415
|
+
size: iconSize,
|
|
1416
|
+
color: iconColor,
|
|
1417
|
+
className: iconClassName,
|
|
1418
|
+
alt: accessibleLabel
|
|
1419
|
+
}
|
|
1420
|
+
);
|
|
1421
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
1422
|
+
if (iconOnly) {
|
|
1423
|
+
return icon;
|
|
1424
|
+
}
|
|
1409
1425
|
return /* @__PURE__ */ jsx(
|
|
1410
1426
|
Pressable,
|
|
1411
1427
|
{
|
|
@@ -1417,16 +1433,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1417
1433
|
className
|
|
1418
1434
|
),
|
|
1419
1435
|
...pressableProps,
|
|
1420
|
-
children:
|
|
1421
|
-
DynamicIcon,
|
|
1422
|
-
{
|
|
1423
|
-
name: iconName,
|
|
1424
|
-
size: iconSize,
|
|
1425
|
-
color: iconColor,
|
|
1426
|
-
className: iconClassName,
|
|
1427
|
-
alt: accessibleLabel
|
|
1428
|
-
}
|
|
1429
|
-
)
|
|
1436
|
+
children: icon
|
|
1430
1437
|
}
|
|
1431
1438
|
);
|
|
1432
1439
|
}
|
|
@@ -1038,6 +1038,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1038
1038
|
iconClassName,
|
|
1039
1039
|
className,
|
|
1040
1040
|
iconNameOverride,
|
|
1041
|
+
iconOnly = false,
|
|
1041
1042
|
...pressableProps
|
|
1042
1043
|
}, ref) => {
|
|
1043
1044
|
const platform = usePlatformFromUrl.usePlatformFromUrl(href);
|
|
@@ -1050,6 +1051,21 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1050
1051
|
const accessibleLabel = React__namespace.useMemo(() => {
|
|
1051
1052
|
return label || platformName;
|
|
1052
1053
|
}, [label, platformName]);
|
|
1054
|
+
const icon = React__namespace.useMemo(() => {
|
|
1055
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1056
|
+
DynamicIcon,
|
|
1057
|
+
{
|
|
1058
|
+
name: iconName,
|
|
1059
|
+
size: iconSize,
|
|
1060
|
+
color: iconColor,
|
|
1061
|
+
className: iconClassName,
|
|
1062
|
+
alt: accessibleLabel
|
|
1063
|
+
}
|
|
1064
|
+
);
|
|
1065
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
1066
|
+
if (iconOnly) {
|
|
1067
|
+
return icon;
|
|
1068
|
+
}
|
|
1053
1069
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1054
1070
|
Pressable,
|
|
1055
1071
|
{
|
|
@@ -1061,16 +1077,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1061
1077
|
className
|
|
1062
1078
|
),
|
|
1063
1079
|
...pressableProps,
|
|
1064
|
-
children:
|
|
1065
|
-
DynamicIcon,
|
|
1066
|
-
{
|
|
1067
|
-
name: iconName,
|
|
1068
|
-
size: iconSize,
|
|
1069
|
-
color: iconColor,
|
|
1070
|
-
className: iconClassName,
|
|
1071
|
-
alt: accessibleLabel
|
|
1072
|
-
}
|
|
1073
|
-
)
|
|
1080
|
+
children: icon
|
|
1074
1081
|
}
|
|
1075
1082
|
);
|
|
1076
1083
|
}
|
|
@@ -1017,6 +1017,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1017
1017
|
iconClassName,
|
|
1018
1018
|
className,
|
|
1019
1019
|
iconNameOverride,
|
|
1020
|
+
iconOnly = false,
|
|
1020
1021
|
...pressableProps
|
|
1021
1022
|
}, ref) => {
|
|
1022
1023
|
const platform = usePlatformFromUrl(href);
|
|
@@ -1029,6 +1030,21 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1029
1030
|
const accessibleLabel = React.useMemo(() => {
|
|
1030
1031
|
return label || platformName;
|
|
1031
1032
|
}, [label, platformName]);
|
|
1033
|
+
const icon = React.useMemo(() => {
|
|
1034
|
+
return /* @__PURE__ */ jsx(
|
|
1035
|
+
DynamicIcon,
|
|
1036
|
+
{
|
|
1037
|
+
name: iconName,
|
|
1038
|
+
size: iconSize,
|
|
1039
|
+
color: iconColor,
|
|
1040
|
+
className: iconClassName,
|
|
1041
|
+
alt: accessibleLabel
|
|
1042
|
+
}
|
|
1043
|
+
);
|
|
1044
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
1045
|
+
if (iconOnly) {
|
|
1046
|
+
return icon;
|
|
1047
|
+
}
|
|
1032
1048
|
return /* @__PURE__ */ jsx(
|
|
1033
1049
|
Pressable,
|
|
1034
1050
|
{
|
|
@@ -1040,16 +1056,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1040
1056
|
className
|
|
1041
1057
|
),
|
|
1042
1058
|
...pressableProps,
|
|
1043
|
-
children:
|
|
1044
|
-
DynamicIcon,
|
|
1045
|
-
{
|
|
1046
|
-
name: iconName,
|
|
1047
|
-
size: iconSize,
|
|
1048
|
-
color: iconColor,
|
|
1049
|
-
className: iconClassName,
|
|
1050
|
-
alt: accessibleLabel
|
|
1051
|
-
}
|
|
1052
|
-
)
|
|
1059
|
+
children: icon
|
|
1053
1060
|
}
|
|
1054
1061
|
);
|
|
1055
1062
|
}
|
|
@@ -1485,6 +1485,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1485
1485
|
iconClassName,
|
|
1486
1486
|
className,
|
|
1487
1487
|
iconNameOverride,
|
|
1488
|
+
iconOnly = false,
|
|
1488
1489
|
...pressableProps
|
|
1489
1490
|
}, ref) => {
|
|
1490
1491
|
const platform = usePlatformFromUrl.usePlatformFromUrl(href);
|
|
@@ -1497,6 +1498,21 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1497
1498
|
const accessibleLabel = React__namespace.useMemo(() => {
|
|
1498
1499
|
return label || platformName;
|
|
1499
1500
|
}, [label, platformName]);
|
|
1501
|
+
const icon = React__namespace.useMemo(() => {
|
|
1502
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1503
|
+
DynamicIcon,
|
|
1504
|
+
{
|
|
1505
|
+
name: iconName,
|
|
1506
|
+
size: iconSize,
|
|
1507
|
+
color: iconColor,
|
|
1508
|
+
className: iconClassName,
|
|
1509
|
+
alt: accessibleLabel
|
|
1510
|
+
}
|
|
1511
|
+
);
|
|
1512
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
1513
|
+
if (iconOnly) {
|
|
1514
|
+
return icon;
|
|
1515
|
+
}
|
|
1500
1516
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1501
1517
|
Pressable,
|
|
1502
1518
|
{
|
|
@@ -1508,16 +1524,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1508
1524
|
className
|
|
1509
1525
|
),
|
|
1510
1526
|
...pressableProps,
|
|
1511
|
-
children:
|
|
1512
|
-
DynamicIcon,
|
|
1513
|
-
{
|
|
1514
|
-
name: iconName,
|
|
1515
|
-
size: iconSize,
|
|
1516
|
-
color: iconColor,
|
|
1517
|
-
className: iconClassName,
|
|
1518
|
-
alt: accessibleLabel
|
|
1519
|
-
}
|
|
1520
|
-
)
|
|
1527
|
+
children: icon
|
|
1521
1528
|
}
|
|
1522
1529
|
);
|
|
1523
1530
|
}
|
|
@@ -1464,6 +1464,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1464
1464
|
iconClassName,
|
|
1465
1465
|
className,
|
|
1466
1466
|
iconNameOverride,
|
|
1467
|
+
iconOnly = false,
|
|
1467
1468
|
...pressableProps
|
|
1468
1469
|
}, ref) => {
|
|
1469
1470
|
const platform = usePlatformFromUrl(href);
|
|
@@ -1476,6 +1477,21 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1476
1477
|
const accessibleLabel = React.useMemo(() => {
|
|
1477
1478
|
return label || platformName;
|
|
1478
1479
|
}, [label, platformName]);
|
|
1480
|
+
const icon = React.useMemo(() => {
|
|
1481
|
+
return /* @__PURE__ */ jsx(
|
|
1482
|
+
DynamicIcon,
|
|
1483
|
+
{
|
|
1484
|
+
name: iconName,
|
|
1485
|
+
size: iconSize,
|
|
1486
|
+
color: iconColor,
|
|
1487
|
+
className: iconClassName,
|
|
1488
|
+
alt: accessibleLabel
|
|
1489
|
+
}
|
|
1490
|
+
);
|
|
1491
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
1492
|
+
if (iconOnly) {
|
|
1493
|
+
return icon;
|
|
1494
|
+
}
|
|
1479
1495
|
return /* @__PURE__ */ jsx(
|
|
1480
1496
|
Pressable,
|
|
1481
1497
|
{
|
|
@@ -1487,16 +1503,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1487
1503
|
className
|
|
1488
1504
|
),
|
|
1489
1505
|
...pressableProps,
|
|
1490
|
-
children:
|
|
1491
|
-
DynamicIcon,
|
|
1492
|
-
{
|
|
1493
|
-
name: iconName,
|
|
1494
|
-
size: iconSize,
|
|
1495
|
-
color: iconColor,
|
|
1496
|
-
className: iconClassName,
|
|
1497
|
-
alt: accessibleLabel
|
|
1498
|
-
}
|
|
1499
|
-
)
|
|
1506
|
+
children: icon
|
|
1500
1507
|
}
|
|
1501
1508
|
);
|
|
1502
1509
|
}
|
|
@@ -1038,6 +1038,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1038
1038
|
iconClassName,
|
|
1039
1039
|
className,
|
|
1040
1040
|
iconNameOverride,
|
|
1041
|
+
iconOnly = false,
|
|
1041
1042
|
...pressableProps
|
|
1042
1043
|
}, ref) => {
|
|
1043
1044
|
const platform = usePlatformFromUrl.usePlatformFromUrl(href);
|
|
@@ -1050,6 +1051,21 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1050
1051
|
const accessibleLabel = React__namespace.useMemo(() => {
|
|
1051
1052
|
return label || platformName;
|
|
1052
1053
|
}, [label, platformName]);
|
|
1054
|
+
const icon = React__namespace.useMemo(() => {
|
|
1055
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1056
|
+
DynamicIcon,
|
|
1057
|
+
{
|
|
1058
|
+
name: iconName,
|
|
1059
|
+
size: iconSize,
|
|
1060
|
+
color: iconColor,
|
|
1061
|
+
className: iconClassName,
|
|
1062
|
+
alt: accessibleLabel
|
|
1063
|
+
}
|
|
1064
|
+
);
|
|
1065
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
1066
|
+
if (iconOnly) {
|
|
1067
|
+
return icon;
|
|
1068
|
+
}
|
|
1053
1069
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1054
1070
|
Pressable,
|
|
1055
1071
|
{
|
|
@@ -1061,16 +1077,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1061
1077
|
className
|
|
1062
1078
|
),
|
|
1063
1079
|
...pressableProps,
|
|
1064
|
-
children:
|
|
1065
|
-
DynamicIcon,
|
|
1066
|
-
{
|
|
1067
|
-
name: iconName,
|
|
1068
|
-
size: iconSize,
|
|
1069
|
-
color: iconColor,
|
|
1070
|
-
className: iconClassName,
|
|
1071
|
-
alt: accessibleLabel
|
|
1072
|
-
}
|
|
1073
|
-
)
|
|
1080
|
+
children: icon
|
|
1074
1081
|
}
|
|
1075
1082
|
);
|
|
1076
1083
|
}
|
|
@@ -1017,6 +1017,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1017
1017
|
iconClassName,
|
|
1018
1018
|
className,
|
|
1019
1019
|
iconNameOverride,
|
|
1020
|
+
iconOnly = false,
|
|
1020
1021
|
...pressableProps
|
|
1021
1022
|
}, ref) => {
|
|
1022
1023
|
const platform = usePlatformFromUrl(href);
|
|
@@ -1029,6 +1030,21 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1029
1030
|
const accessibleLabel = React.useMemo(() => {
|
|
1030
1031
|
return label || platformName;
|
|
1031
1032
|
}, [label, platformName]);
|
|
1033
|
+
const icon = React.useMemo(() => {
|
|
1034
|
+
return /* @__PURE__ */ jsx(
|
|
1035
|
+
DynamicIcon,
|
|
1036
|
+
{
|
|
1037
|
+
name: iconName,
|
|
1038
|
+
size: iconSize,
|
|
1039
|
+
color: iconColor,
|
|
1040
|
+
className: iconClassName,
|
|
1041
|
+
alt: accessibleLabel
|
|
1042
|
+
}
|
|
1043
|
+
);
|
|
1044
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
1045
|
+
if (iconOnly) {
|
|
1046
|
+
return icon;
|
|
1047
|
+
}
|
|
1032
1048
|
return /* @__PURE__ */ jsx(
|
|
1033
1049
|
Pressable,
|
|
1034
1050
|
{
|
|
@@ -1040,16 +1056,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1040
1056
|
className
|
|
1041
1057
|
),
|
|
1042
1058
|
...pressableProps,
|
|
1043
|
-
children:
|
|
1044
|
-
DynamicIcon,
|
|
1045
|
-
{
|
|
1046
|
-
name: iconName,
|
|
1047
|
-
size: iconSize,
|
|
1048
|
-
color: iconColor,
|
|
1049
|
-
className: iconClassName,
|
|
1050
|
-
alt: accessibleLabel
|
|
1051
|
-
}
|
|
1052
|
-
)
|
|
1059
|
+
children: icon
|
|
1053
1060
|
}
|
|
1054
1061
|
);
|
|
1055
1062
|
}
|
|
@@ -1038,6 +1038,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1038
1038
|
iconClassName,
|
|
1039
1039
|
className,
|
|
1040
1040
|
iconNameOverride,
|
|
1041
|
+
iconOnly = false,
|
|
1041
1042
|
...pressableProps
|
|
1042
1043
|
}, ref) => {
|
|
1043
1044
|
const platform = usePlatformFromUrl.usePlatformFromUrl(href);
|
|
@@ -1050,6 +1051,21 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1050
1051
|
const accessibleLabel = React__namespace.useMemo(() => {
|
|
1051
1052
|
return label || platformName;
|
|
1052
1053
|
}, [label, platformName]);
|
|
1054
|
+
const icon = React__namespace.useMemo(() => {
|
|
1055
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1056
|
+
DynamicIcon,
|
|
1057
|
+
{
|
|
1058
|
+
name: iconName,
|
|
1059
|
+
size: iconSize,
|
|
1060
|
+
color: iconColor,
|
|
1061
|
+
className: iconClassName,
|
|
1062
|
+
alt: accessibleLabel
|
|
1063
|
+
}
|
|
1064
|
+
);
|
|
1065
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
1066
|
+
if (iconOnly) {
|
|
1067
|
+
return icon;
|
|
1068
|
+
}
|
|
1053
1069
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1054
1070
|
Pressable,
|
|
1055
1071
|
{
|
|
@@ -1061,16 +1077,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1061
1077
|
className
|
|
1062
1078
|
),
|
|
1063
1079
|
...pressableProps,
|
|
1064
|
-
children:
|
|
1065
|
-
DynamicIcon,
|
|
1066
|
-
{
|
|
1067
|
-
name: iconName,
|
|
1068
|
-
size: iconSize,
|
|
1069
|
-
color: iconColor,
|
|
1070
|
-
className: iconClassName,
|
|
1071
|
-
alt: accessibleLabel
|
|
1072
|
-
}
|
|
1073
|
-
)
|
|
1080
|
+
children: icon
|
|
1074
1081
|
}
|
|
1075
1082
|
);
|
|
1076
1083
|
}
|
|
@@ -1017,6 +1017,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1017
1017
|
iconClassName,
|
|
1018
1018
|
className,
|
|
1019
1019
|
iconNameOverride,
|
|
1020
|
+
iconOnly = false,
|
|
1020
1021
|
...pressableProps
|
|
1021
1022
|
}, ref) => {
|
|
1022
1023
|
const platform = usePlatformFromUrl(href);
|
|
@@ -1029,6 +1030,21 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1029
1030
|
const accessibleLabel = React.useMemo(() => {
|
|
1030
1031
|
return label || platformName;
|
|
1031
1032
|
}, [label, platformName]);
|
|
1033
|
+
const icon = React.useMemo(() => {
|
|
1034
|
+
return /* @__PURE__ */ jsx(
|
|
1035
|
+
DynamicIcon,
|
|
1036
|
+
{
|
|
1037
|
+
name: iconName,
|
|
1038
|
+
size: iconSize,
|
|
1039
|
+
color: iconColor,
|
|
1040
|
+
className: iconClassName,
|
|
1041
|
+
alt: accessibleLabel
|
|
1042
|
+
}
|
|
1043
|
+
);
|
|
1044
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
1045
|
+
if (iconOnly) {
|
|
1046
|
+
return icon;
|
|
1047
|
+
}
|
|
1032
1048
|
return /* @__PURE__ */ jsx(
|
|
1033
1049
|
Pressable,
|
|
1034
1050
|
{
|
|
@@ -1040,16 +1056,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1040
1056
|
className
|
|
1041
1057
|
),
|
|
1042
1058
|
...pressableProps,
|
|
1043
|
-
children:
|
|
1044
|
-
DynamicIcon,
|
|
1045
|
-
{
|
|
1046
|
-
name: iconName,
|
|
1047
|
-
size: iconSize,
|
|
1048
|
-
color: iconColor,
|
|
1049
|
-
className: iconClassName,
|
|
1050
|
-
alt: accessibleLabel
|
|
1051
|
-
}
|
|
1052
|
-
)
|
|
1059
|
+
children: icon
|
|
1053
1060
|
}
|
|
1054
1061
|
);
|
|
1055
1062
|
}
|
|
@@ -1485,6 +1485,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1485
1485
|
iconClassName,
|
|
1486
1486
|
className,
|
|
1487
1487
|
iconNameOverride,
|
|
1488
|
+
iconOnly = false,
|
|
1488
1489
|
...pressableProps
|
|
1489
1490
|
}, ref) => {
|
|
1490
1491
|
const platform = usePlatformFromUrl.usePlatformFromUrl(href);
|
|
@@ -1497,6 +1498,21 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1497
1498
|
const accessibleLabel = React__namespace.useMemo(() => {
|
|
1498
1499
|
return label || platformName;
|
|
1499
1500
|
}, [label, platformName]);
|
|
1501
|
+
const icon = React__namespace.useMemo(() => {
|
|
1502
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1503
|
+
DynamicIcon,
|
|
1504
|
+
{
|
|
1505
|
+
name: iconName,
|
|
1506
|
+
size: iconSize,
|
|
1507
|
+
color: iconColor,
|
|
1508
|
+
className: iconClassName,
|
|
1509
|
+
alt: accessibleLabel
|
|
1510
|
+
}
|
|
1511
|
+
);
|
|
1512
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
1513
|
+
if (iconOnly) {
|
|
1514
|
+
return icon;
|
|
1515
|
+
}
|
|
1500
1516
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1501
1517
|
Pressable,
|
|
1502
1518
|
{
|
|
@@ -1508,16 +1524,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1508
1524
|
className
|
|
1509
1525
|
),
|
|
1510
1526
|
...pressableProps,
|
|
1511
|
-
children:
|
|
1512
|
-
DynamicIcon,
|
|
1513
|
-
{
|
|
1514
|
-
name: iconName,
|
|
1515
|
-
size: iconSize,
|
|
1516
|
-
color: iconColor,
|
|
1517
|
-
className: iconClassName,
|
|
1518
|
-
alt: accessibleLabel
|
|
1519
|
-
}
|
|
1520
|
-
)
|
|
1527
|
+
children: icon
|
|
1521
1528
|
}
|
|
1522
1529
|
);
|
|
1523
1530
|
}
|
|
@@ -1464,6 +1464,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1464
1464
|
iconClassName,
|
|
1465
1465
|
className,
|
|
1466
1466
|
iconNameOverride,
|
|
1467
|
+
iconOnly = false,
|
|
1467
1468
|
...pressableProps
|
|
1468
1469
|
}, ref) => {
|
|
1469
1470
|
const platform = usePlatformFromUrl(href);
|
|
@@ -1476,6 +1477,21 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1476
1477
|
const accessibleLabel = React.useMemo(() => {
|
|
1477
1478
|
return label || platformName;
|
|
1478
1479
|
}, [label, platformName]);
|
|
1480
|
+
const icon = React.useMemo(() => {
|
|
1481
|
+
return /* @__PURE__ */ jsx(
|
|
1482
|
+
DynamicIcon,
|
|
1483
|
+
{
|
|
1484
|
+
name: iconName,
|
|
1485
|
+
size: iconSize,
|
|
1486
|
+
color: iconColor,
|
|
1487
|
+
className: iconClassName,
|
|
1488
|
+
alt: accessibleLabel
|
|
1489
|
+
}
|
|
1490
|
+
);
|
|
1491
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
1492
|
+
if (iconOnly) {
|
|
1493
|
+
return icon;
|
|
1494
|
+
}
|
|
1479
1495
|
return /* @__PURE__ */ jsx(
|
|
1480
1496
|
Pressable,
|
|
1481
1497
|
{
|
|
@@ -1487,16 +1503,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1487
1503
|
className
|
|
1488
1504
|
),
|
|
1489
1505
|
...pressableProps,
|
|
1490
|
-
children:
|
|
1491
|
-
DynamicIcon,
|
|
1492
|
-
{
|
|
1493
|
-
name: iconName,
|
|
1494
|
-
size: iconSize,
|
|
1495
|
-
color: iconColor,
|
|
1496
|
-
className: iconClassName,
|
|
1497
|
-
alt: accessibleLabel
|
|
1498
|
-
}
|
|
1499
|
-
)
|
|
1506
|
+
children: icon
|
|
1500
1507
|
}
|
|
1501
1508
|
);
|
|
1502
1509
|
}
|
|
@@ -1485,6 +1485,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1485
1485
|
iconClassName,
|
|
1486
1486
|
className,
|
|
1487
1487
|
iconNameOverride,
|
|
1488
|
+
iconOnly = false,
|
|
1488
1489
|
...pressableProps
|
|
1489
1490
|
}, ref) => {
|
|
1490
1491
|
const platform = usePlatformFromUrl.usePlatformFromUrl(href);
|
|
@@ -1497,6 +1498,21 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1497
1498
|
const accessibleLabel = React__namespace.useMemo(() => {
|
|
1498
1499
|
return label || platformName;
|
|
1499
1500
|
}, [label, platformName]);
|
|
1501
|
+
const icon = React__namespace.useMemo(() => {
|
|
1502
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1503
|
+
DynamicIcon,
|
|
1504
|
+
{
|
|
1505
|
+
name: iconName,
|
|
1506
|
+
size: iconSize,
|
|
1507
|
+
color: iconColor,
|
|
1508
|
+
className: iconClassName,
|
|
1509
|
+
alt: accessibleLabel
|
|
1510
|
+
}
|
|
1511
|
+
);
|
|
1512
|
+
}, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
|
|
1513
|
+
if (iconOnly) {
|
|
1514
|
+
return icon;
|
|
1515
|
+
}
|
|
1500
1516
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1501
1517
|
Pressable,
|
|
1502
1518
|
{
|
|
@@ -1508,16 +1524,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1508
1524
|
className
|
|
1509
1525
|
),
|
|
1510
1526
|
...pressableProps,
|
|
1511
|
-
children:
|
|
1512
|
-
DynamicIcon,
|
|
1513
|
-
{
|
|
1514
|
-
name: iconName,
|
|
1515
|
-
size: iconSize,
|
|
1516
|
-
color: iconColor,
|
|
1517
|
-
className: iconClassName,
|
|
1518
|
-
alt: accessibleLabel
|
|
1519
|
-
}
|
|
1520
|
-
)
|
|
1527
|
+
children: icon
|
|
1521
1528
|
}
|
|
1522
1529
|
);
|
|
1523
1530
|
}
|