@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.
Files changed (141) hide show
  1. package/dist/about-developer-profile.cjs +17 -10
  2. package/dist/about-developer-profile.js +17 -10
  3. package/dist/article-chapters-author.cjs +17 -10
  4. package/dist/article-chapters-author.js +17 -10
  5. package/dist/carousel-animated-sections.cjs +79 -25
  6. package/dist/carousel-animated-sections.d.cts +7 -2
  7. package/dist/carousel-animated-sections.d.ts +7 -2
  8. package/dist/carousel-animated-sections.js +79 -25
  9. package/dist/carousel-gallery-thumbnails.cjs +79 -25
  10. package/dist/carousel-gallery-thumbnails.d.cts +7 -2
  11. package/dist/carousel-gallery-thumbnails.d.ts +7 -2
  12. package/dist/carousel-gallery-thumbnails.js +79 -25
  13. package/dist/carousel-portfolio-hero.cjs +79 -25
  14. package/dist/carousel-portfolio-hero.d.cts +7 -2
  15. package/dist/carousel-portfolio-hero.d.ts +7 -2
  16. package/dist/carousel-portfolio-hero.js +79 -25
  17. package/dist/components.cjs +35 -10
  18. package/dist/components.d.cts +29 -2
  19. package/dist/components.d.ts +29 -2
  20. package/dist/components.js +35 -11
  21. package/dist/footer-accordion-social.cjs +17 -10
  22. package/dist/footer-accordion-social.js +17 -10
  23. package/dist/footer-animated-social.cjs +17 -10
  24. package/dist/footer-animated-social.js +17 -10
  25. package/dist/footer-brand-description.cjs +17 -10
  26. package/dist/footer-brand-description.js +17 -10
  27. package/dist/footer-brand-links-contact.cjs +17 -10
  28. package/dist/footer-brand-links-contact.js +17 -10
  29. package/dist/footer-comprehensive-links.cjs +17 -10
  30. package/dist/footer-comprehensive-links.js +17 -10
  31. package/dist/footer-contact-card.cjs +17 -10
  32. package/dist/footer-contact-card.js +17 -10
  33. package/dist/footer-cta-banner.cjs +17 -10
  34. package/dist/footer-cta-banner.js +17 -10
  35. package/dist/footer-cta-social.cjs +17 -10
  36. package/dist/footer-cta-social.js +17 -10
  37. package/dist/footer-info-cards-accordion.cjs +17 -10
  38. package/dist/footer-info-cards-accordion.js +17 -10
  39. package/dist/footer-nav-social.cjs +17 -10
  40. package/dist/footer-nav-social.js +17 -10
  41. package/dist/footer-newsletter-contact.cjs +17 -10
  42. package/dist/footer-newsletter-contact.js +17 -10
  43. package/dist/footer-newsletter-grid.cjs +17 -10
  44. package/dist/footer-newsletter-grid.js +17 -10
  45. package/dist/footer-newsletter-minimal.cjs +17 -10
  46. package/dist/footer-newsletter-minimal.js +17 -10
  47. package/dist/footer-social-apps.cjs +17 -10
  48. package/dist/footer-social-apps.js +17 -10
  49. package/dist/footer-social-newsletter.cjs +17 -10
  50. package/dist/footer-social-newsletter.js +17 -10
  51. package/dist/footer-split-image-accordion.cjs +17 -10
  52. package/dist/footer-split-image-accordion.js +17 -10
  53. package/dist/hero-badge-shadow-overlay.cjs +1 -1
  54. package/dist/hero-badge-shadow-overlay.js +1 -1
  55. package/dist/hero-coming-soon-countdown.cjs +17 -10
  56. package/dist/hero-coming-soon-countdown.js +17 -10
  57. package/dist/hero-video-background-dark.cjs +78 -16
  58. package/dist/hero-video-background-dark.d.cts +7 -2
  59. package/dist/hero-video-background-dark.d.ts +7 -2
  60. package/dist/hero-video-background-dark.js +78 -16
  61. package/dist/index.cjs +35 -10
  62. package/dist/index.d.cts +1 -0
  63. package/dist/index.d.ts +1 -0
  64. package/dist/index.js +35 -11
  65. package/dist/link-page-bento-layout.cjs +17 -10
  66. package/dist/link-page-bento-layout.js +17 -10
  67. package/dist/link-page-grid-cards.cjs +17 -10
  68. package/dist/link-page-grid-cards.js +17 -10
  69. package/dist/link-page-minimal-profile.cjs +17 -10
  70. package/dist/link-page-minimal-profile.js +17 -10
  71. package/dist/link-page-newsletter-social.cjs +17 -10
  72. package/dist/link-page-newsletter-social.js +17 -10
  73. package/dist/link-tree-block.cjs +17 -10
  74. package/dist/link-tree-block.js +17 -10
  75. package/dist/navbar-fullscreen-menu.cjs +17 -10
  76. package/dist/navbar-fullscreen-menu.js +17 -10
  77. package/dist/navbar-transparent-overlay.cjs +17 -10
  78. package/dist/navbar-transparent-overlay.js +17 -10
  79. package/dist/registry.cjs +1398 -851
  80. package/dist/registry.js +1398 -851
  81. package/dist/social-link-icon.cjs +17 -10
  82. package/dist/social-link-icon.d.cts +5 -0
  83. package/dist/social-link-icon.d.ts +5 -0
  84. package/dist/social-link-icon.js +17 -10
  85. package/dist/testimonials-animated-split.cjs +5 -5
  86. package/dist/testimonials-animated-split.js +5 -5
  87. package/dist/testimonials-bento-grid.cjs +48 -56
  88. package/dist/testimonials-bento-grid.js +48 -56
  89. package/dist/testimonials-carousel-image.cjs +608 -96
  90. package/dist/testimonials-carousel-image.d.cts +26 -2
  91. package/dist/testimonials-carousel-image.d.ts +26 -2
  92. package/dist/testimonials-carousel-image.js +609 -97
  93. package/dist/testimonials-centered-avatars.cjs +89 -62
  94. package/dist/testimonials-centered-avatars.d.cts +5 -1
  95. package/dist/testimonials-centered-avatars.d.ts +5 -1
  96. package/dist/testimonials-centered-avatars.js +89 -62
  97. package/dist/testimonials-company-logo.cjs +6 -6
  98. package/dist/testimonials-company-logo.js +6 -6
  99. package/dist/testimonials-grid-add-review.cjs +51 -29
  100. package/dist/testimonials-grid-add-review.js +51 -29
  101. package/dist/testimonials-images-helpful.cjs +181 -160
  102. package/dist/testimonials-images-helpful.d.cts +9 -1
  103. package/dist/testimonials-images-helpful.d.ts +9 -1
  104. package/dist/testimonials-images-helpful.js +181 -159
  105. package/dist/testimonials-list-verified.cjs +63 -44
  106. package/dist/testimonials-list-verified.d.cts +5 -1
  107. package/dist/testimonials-list-verified.d.ts +5 -1
  108. package/dist/testimonials-list-verified.js +64 -45
  109. package/dist/testimonials-logo-cards.cjs +53 -29
  110. package/dist/testimonials-logo-cards.d.cts +5 -1
  111. package/dist/testimonials-logo-cards.d.ts +5 -1
  112. package/dist/testimonials-logo-cards.js +53 -29
  113. package/dist/testimonials-marquee.cjs +524 -102
  114. package/dist/testimonials-marquee.d.cts +5 -1
  115. package/dist/testimonials-marquee.d.ts +5 -1
  116. package/dist/testimonials-marquee.js +525 -100
  117. package/dist/testimonials-mini-dividers.cjs +120 -83
  118. package/dist/testimonials-mini-dividers.d.cts +10 -6
  119. package/dist/testimonials-mini-dividers.d.ts +10 -6
  120. package/dist/testimonials-mini-dividers.js +120 -83
  121. package/dist/testimonials-minimal-numbered.cjs +7 -6
  122. package/dist/testimonials-minimal-numbered.d.cts +5 -1
  123. package/dist/testimonials-minimal-numbered.d.ts +5 -1
  124. package/dist/testimonials-minimal-numbered.js +7 -6
  125. package/dist/testimonials-parallax-number.cjs +14 -8
  126. package/dist/testimonials-parallax-number.js +14 -8
  127. package/dist/testimonials-scrolling-columns.cjs +97 -13
  128. package/dist/testimonials-scrolling-columns.js +97 -13
  129. package/dist/testimonials-simple-grid.cjs +513 -68
  130. package/dist/testimonials-simple-grid.d.cts +9 -5
  131. package/dist/testimonials-simple-grid.d.ts +9 -5
  132. package/dist/testimonials-simple-grid.js +510 -62
  133. package/dist/testimonials-slider-minimal.cjs +604 -90
  134. package/dist/testimonials-slider-minimal.d.cts +17 -1
  135. package/dist/testimonials-slider-minimal.d.ts +17 -1
  136. package/dist/testimonials-slider-minimal.js +598 -81
  137. package/dist/testimonials-split-image.cjs +452 -17
  138. package/dist/testimonials-split-image.js +448 -13
  139. package/dist/testimonials-twitter-cards.cjs +26 -14
  140. package/dist/testimonials-twitter-cards.js +26 -14
  141. package/package.json +11 -1
package/dist/index.cjs CHANGED
@@ -2190,6 +2190,23 @@ function PopoverContent({
2190
2190
  }
2191
2191
  ) });
2192
2192
  }
2193
+ function StarRating({
2194
+ rating,
2195
+ size = 18,
2196
+ className
2197
+ }) {
2198
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex items-center gap-0.5", className), children: [1, 2, 3, 4, 5].map((star) => /* @__PURE__ */ jsxRuntime.jsx(
2199
+ DynamicIcon,
2200
+ {
2201
+ name: "icon-park-solid/star",
2202
+ size,
2203
+ className: cn(
2204
+ star <= rating ? "fill-primary text-primary" : "fill-muted text-muted"
2205
+ )
2206
+ },
2207
+ star
2208
+ )) });
2209
+ }
2193
2210
  var BUTTON_SIZES = {
2194
2211
  sm: { buttonSize: "size-8", iconSize: 16 },
2195
2212
  md: { buttonSize: "size-10", iconSize: 20 },
@@ -2291,6 +2308,7 @@ var SocialLinkIcon = React6__namespace.forwardRef(
2291
2308
  iconClassName,
2292
2309
  className,
2293
2310
  iconNameOverride,
2311
+ iconOnly = false,
2294
2312
  ...pressableProps
2295
2313
  }, ref) => {
2296
2314
  const platform = usePlatformFromUrl.usePlatformFromUrl(href);
@@ -2303,6 +2321,21 @@ var SocialLinkIcon = React6__namespace.forwardRef(
2303
2321
  const accessibleLabel = React6__namespace.useMemo(() => {
2304
2322
  return label || platformName;
2305
2323
  }, [label, platformName]);
2324
+ const icon = React6__namespace.useMemo(() => {
2325
+ return /* @__PURE__ */ jsxRuntime.jsx(
2326
+ DynamicIcon,
2327
+ {
2328
+ name: iconName,
2329
+ size: iconSize,
2330
+ color: iconColor,
2331
+ className: iconClassName,
2332
+ alt: accessibleLabel
2333
+ }
2334
+ );
2335
+ }, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
2336
+ if (iconOnly) {
2337
+ return icon;
2338
+ }
2306
2339
  return /* @__PURE__ */ jsxRuntime.jsx(
2307
2340
  Pressable,
2308
2341
  {
@@ -2314,16 +2347,7 @@ var SocialLinkIcon = React6__namespace.forwardRef(
2314
2347
  className
2315
2348
  ),
2316
2349
  ...pressableProps,
2317
- children: /* @__PURE__ */ jsxRuntime.jsx(
2318
- DynamicIcon,
2319
- {
2320
- name: iconName,
2321
- size: iconSize,
2322
- color: iconColor,
2323
- className: iconClassName,
2324
- alt: accessibleLabel
2325
- }
2326
- )
2350
+ children: icon
2327
2351
  }
2328
2352
  );
2329
2353
  }
@@ -7666,6 +7690,7 @@ exports.PopoverTrigger = PopoverTrigger;
7666
7690
  exports.Pressable = Pressable;
7667
7691
  exports.Section = Section;
7668
7692
  exports.SocialLinkIcon = SocialLinkIcon;
7693
+ exports.StarRating = StarRating;
7669
7694
  exports.cn = cn;
7670
7695
  exports.getAccentColor = getAccentColor;
7671
7696
  exports.getBorderColor = getBorderColor;
package/dist/index.d.cts CHANGED
@@ -9,6 +9,7 @@ export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle }
9
9
  export { Badge } from './badge.cjs';
10
10
  export { Popover, PopoverContent, PopoverTrigger } from './popover.cjs';
11
11
  export { DynamicIcon } from './dynamic-icon.cjs';
12
+ export { StarRating, StarRatingProps } from './components.cjs';
12
13
  export { CarouselPagination, CarouselPaginationProps } from './carousel-pagination.cjs';
13
14
  export { SocialLinkIcon, SocialLinkIconDynamicIconProps, SocialLinkIconProps } from './social-link-icon.cjs';
14
15
  export { PaymentPlatformIcon, PaymentPlatformIconProps, PaymentPlatformName } from './payment-platform-icon.cjs';
package/dist/index.d.ts CHANGED
@@ -9,6 +9,7 @@ export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle }
9
9
  export { Badge } from './badge.js';
10
10
  export { Popover, PopoverContent, PopoverTrigger } from './popover.js';
11
11
  export { DynamicIcon } from './dynamic-icon.js';
12
+ export { StarRating, StarRatingProps } from './components.js';
12
13
  export { CarouselPagination, CarouselPaginationProps } from './carousel-pagination.js';
13
14
  export { SocialLinkIcon, SocialLinkIconDynamicIconProps, SocialLinkIconProps } from './social-link-icon.js';
14
15
  export { PaymentPlatformIcon, PaymentPlatformIconProps, PaymentPlatformName } from './payment-platform-icon.js';
package/dist/index.js CHANGED
@@ -2168,6 +2168,23 @@ function PopoverContent({
2168
2168
  }
2169
2169
  ) });
2170
2170
  }
2171
+ function StarRating({
2172
+ rating,
2173
+ size = 18,
2174
+ className
2175
+ }) {
2176
+ return /* @__PURE__ */ jsx("div", { className: cn("flex items-center gap-0.5", className), children: [1, 2, 3, 4, 5].map((star) => /* @__PURE__ */ jsx(
2177
+ DynamicIcon,
2178
+ {
2179
+ name: "icon-park-solid/star",
2180
+ size,
2181
+ className: cn(
2182
+ star <= rating ? "fill-primary text-primary" : "fill-muted text-muted"
2183
+ )
2184
+ },
2185
+ star
2186
+ )) });
2187
+ }
2171
2188
  var BUTTON_SIZES = {
2172
2189
  sm: { buttonSize: "size-8", iconSize: 16 },
2173
2190
  md: { buttonSize: "size-10", iconSize: 20 },
@@ -2269,6 +2286,7 @@ var SocialLinkIcon = React6.forwardRef(
2269
2286
  iconClassName,
2270
2287
  className,
2271
2288
  iconNameOverride,
2289
+ iconOnly = false,
2272
2290
  ...pressableProps
2273
2291
  }, ref) => {
2274
2292
  const platform = usePlatformFromUrl(href);
@@ -2281,6 +2299,21 @@ var SocialLinkIcon = React6.forwardRef(
2281
2299
  const accessibleLabel = React6.useMemo(() => {
2282
2300
  return label || platformName;
2283
2301
  }, [label, platformName]);
2302
+ const icon = React6.useMemo(() => {
2303
+ return /* @__PURE__ */ jsx(
2304
+ DynamicIcon,
2305
+ {
2306
+ name: iconName,
2307
+ size: iconSize,
2308
+ color: iconColor,
2309
+ className: iconClassName,
2310
+ alt: accessibleLabel
2311
+ }
2312
+ );
2313
+ }, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
2314
+ if (iconOnly) {
2315
+ return icon;
2316
+ }
2284
2317
  return /* @__PURE__ */ jsx(
2285
2318
  Pressable,
2286
2319
  {
@@ -2292,16 +2325,7 @@ var SocialLinkIcon = React6.forwardRef(
2292
2325
  className
2293
2326
  ),
2294
2327
  ...pressableProps,
2295
- children: /* @__PURE__ */ jsx(
2296
- DynamicIcon,
2297
- {
2298
- name: iconName,
2299
- size: iconSize,
2300
- color: iconColor,
2301
- className: iconClassName,
2302
- alt: accessibleLabel
2303
- }
2304
- )
2328
+ children: icon
2305
2329
  }
2306
2330
  );
2307
2331
  }
@@ -7560,4 +7584,4 @@ var useResponsiveLayout = ({
7560
7584
  return { responsiveClassName };
7561
7585
  };
7562
7586
 
7563
- 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, cn, getAccentColor, getBorderColor, getNestedCardBg, getNestedCardTextColor, getTextColor, useNavigation, useResponsiveLayout };
7587
+ 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, cn, getAccentColor, getBorderColor, getNestedCardBg, getNestedCardTextColor, getTextColor, useNavigation, useResponsiveLayout };
@@ -879,6 +879,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
879
879
  iconClassName,
880
880
  className,
881
881
  iconNameOverride,
882
+ iconOnly = false,
882
883
  ...pressableProps
883
884
  }, ref) => {
884
885
  const platform = usePlatformFromUrl.usePlatformFromUrl(href);
@@ -891,6 +892,21 @@ var SocialLinkIcon = React__namespace.forwardRef(
891
892
  const accessibleLabel = React__namespace.useMemo(() => {
892
893
  return label || platformName;
893
894
  }, [label, platformName]);
895
+ const icon = React__namespace.useMemo(() => {
896
+ return /* @__PURE__ */ jsxRuntime.jsx(
897
+ DynamicIcon,
898
+ {
899
+ name: iconName,
900
+ size: iconSize,
901
+ color: iconColor,
902
+ className: iconClassName,
903
+ alt: accessibleLabel
904
+ }
905
+ );
906
+ }, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
907
+ if (iconOnly) {
908
+ return icon;
909
+ }
894
910
  return /* @__PURE__ */ jsxRuntime.jsx(
895
911
  Pressable,
896
912
  {
@@ -902,16 +918,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
902
918
  className
903
919
  ),
904
920
  ...pressableProps,
905
- children: /* @__PURE__ */ jsxRuntime.jsx(
906
- DynamicIcon,
907
- {
908
- name: iconName,
909
- size: iconSize,
910
- color: iconColor,
911
- className: iconClassName,
912
- alt: accessibleLabel
913
- }
914
- )
921
+ children: icon
915
922
  }
916
923
  );
917
924
  }
@@ -858,6 +858,7 @@ var SocialLinkIcon = React.forwardRef(
858
858
  iconClassName,
859
859
  className,
860
860
  iconNameOverride,
861
+ iconOnly = false,
861
862
  ...pressableProps
862
863
  }, ref) => {
863
864
  const platform = usePlatformFromUrl(href);
@@ -870,6 +871,21 @@ var SocialLinkIcon = React.forwardRef(
870
871
  const accessibleLabel = React.useMemo(() => {
871
872
  return label || platformName;
872
873
  }, [label, platformName]);
874
+ const icon = React.useMemo(() => {
875
+ return /* @__PURE__ */ jsx(
876
+ DynamicIcon,
877
+ {
878
+ name: iconName,
879
+ size: iconSize,
880
+ color: iconColor,
881
+ className: iconClassName,
882
+ alt: accessibleLabel
883
+ }
884
+ );
885
+ }, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
886
+ if (iconOnly) {
887
+ return icon;
888
+ }
873
889
  return /* @__PURE__ */ jsx(
874
890
  Pressable,
875
891
  {
@@ -881,16 +897,7 @@ var SocialLinkIcon = React.forwardRef(
881
897
  className
882
898
  ),
883
899
  ...pressableProps,
884
- children: /* @__PURE__ */ jsx(
885
- DynamicIcon,
886
- {
887
- name: iconName,
888
- size: iconSize,
889
- color: iconColor,
890
- className: iconClassName,
891
- alt: accessibleLabel
892
- }
893
- )
900
+ children: icon
894
901
  }
895
902
  );
896
903
  }
@@ -879,6 +879,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
879
879
  iconClassName,
880
880
  className,
881
881
  iconNameOverride,
882
+ iconOnly = false,
882
883
  ...pressableProps
883
884
  }, ref) => {
884
885
  const platform = usePlatformFromUrl.usePlatformFromUrl(href);
@@ -891,6 +892,21 @@ var SocialLinkIcon = React__namespace.forwardRef(
891
892
  const accessibleLabel = React__namespace.useMemo(() => {
892
893
  return label || platformName;
893
894
  }, [label, platformName]);
895
+ const icon = React__namespace.useMemo(() => {
896
+ return /* @__PURE__ */ jsxRuntime.jsx(
897
+ DynamicIcon,
898
+ {
899
+ name: iconName,
900
+ size: iconSize,
901
+ color: iconColor,
902
+ className: iconClassName,
903
+ alt: accessibleLabel
904
+ }
905
+ );
906
+ }, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
907
+ if (iconOnly) {
908
+ return icon;
909
+ }
894
910
  return /* @__PURE__ */ jsxRuntime.jsx(
895
911
  Pressable,
896
912
  {
@@ -902,16 +918,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
902
918
  className
903
919
  ),
904
920
  ...pressableProps,
905
- children: /* @__PURE__ */ jsxRuntime.jsx(
906
- DynamicIcon,
907
- {
908
- name: iconName,
909
- size: iconSize,
910
- color: iconColor,
911
- className: iconClassName,
912
- alt: accessibleLabel
913
- }
914
- )
921
+ children: icon
915
922
  }
916
923
  );
917
924
  }
@@ -858,6 +858,7 @@ var SocialLinkIcon = React.forwardRef(
858
858
  iconClassName,
859
859
  className,
860
860
  iconNameOverride,
861
+ iconOnly = false,
861
862
  ...pressableProps
862
863
  }, ref) => {
863
864
  const platform = usePlatformFromUrl(href);
@@ -870,6 +871,21 @@ var SocialLinkIcon = React.forwardRef(
870
871
  const accessibleLabel = React.useMemo(() => {
871
872
  return label || platformName;
872
873
  }, [label, platformName]);
874
+ const icon = React.useMemo(() => {
875
+ return /* @__PURE__ */ jsx(
876
+ DynamicIcon,
877
+ {
878
+ name: iconName,
879
+ size: iconSize,
880
+ color: iconColor,
881
+ className: iconClassName,
882
+ alt: accessibleLabel
883
+ }
884
+ );
885
+ }, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
886
+ if (iconOnly) {
887
+ return icon;
888
+ }
873
889
  return /* @__PURE__ */ jsx(
874
890
  Pressable,
875
891
  {
@@ -881,16 +897,7 @@ var SocialLinkIcon = React.forwardRef(
881
897
  className
882
898
  ),
883
899
  ...pressableProps,
884
- children: /* @__PURE__ */ jsx(
885
- DynamicIcon,
886
- {
887
- name: iconName,
888
- size: iconSize,
889
- color: iconColor,
890
- className: iconClassName,
891
- alt: accessibleLabel
892
- }
893
- )
900
+ children: icon
894
901
  }
895
902
  );
896
903
  }
@@ -879,6 +879,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
879
879
  iconClassName,
880
880
  className,
881
881
  iconNameOverride,
882
+ iconOnly = false,
882
883
  ...pressableProps
883
884
  }, ref) => {
884
885
  const platform = usePlatformFromUrl.usePlatformFromUrl(href);
@@ -891,6 +892,21 @@ var SocialLinkIcon = React__namespace.forwardRef(
891
892
  const accessibleLabel = React__namespace.useMemo(() => {
892
893
  return label || platformName;
893
894
  }, [label, platformName]);
895
+ const icon = React__namespace.useMemo(() => {
896
+ return /* @__PURE__ */ jsxRuntime.jsx(
897
+ DynamicIcon,
898
+ {
899
+ name: iconName,
900
+ size: iconSize,
901
+ color: iconColor,
902
+ className: iconClassName,
903
+ alt: accessibleLabel
904
+ }
905
+ );
906
+ }, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
907
+ if (iconOnly) {
908
+ return icon;
909
+ }
894
910
  return /* @__PURE__ */ jsxRuntime.jsx(
895
911
  Pressable,
896
912
  {
@@ -902,16 +918,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
902
918
  className
903
919
  ),
904
920
  ...pressableProps,
905
- children: /* @__PURE__ */ jsxRuntime.jsx(
906
- DynamicIcon,
907
- {
908
- name: iconName,
909
- size: iconSize,
910
- color: iconColor,
911
- className: iconClassName,
912
- alt: accessibleLabel
913
- }
914
- )
921
+ children: icon
915
922
  }
916
923
  );
917
924
  }
@@ -858,6 +858,7 @@ var SocialLinkIcon = React.forwardRef(
858
858
  iconClassName,
859
859
  className,
860
860
  iconNameOverride,
861
+ iconOnly = false,
861
862
  ...pressableProps
862
863
  }, ref) => {
863
864
  const platform = usePlatformFromUrl(href);
@@ -870,6 +871,21 @@ var SocialLinkIcon = React.forwardRef(
870
871
  const accessibleLabel = React.useMemo(() => {
871
872
  return label || platformName;
872
873
  }, [label, platformName]);
874
+ const icon = React.useMemo(() => {
875
+ return /* @__PURE__ */ jsx(
876
+ DynamicIcon,
877
+ {
878
+ name: iconName,
879
+ size: iconSize,
880
+ color: iconColor,
881
+ className: iconClassName,
882
+ alt: accessibleLabel
883
+ }
884
+ );
885
+ }, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
886
+ if (iconOnly) {
887
+ return icon;
888
+ }
873
889
  return /* @__PURE__ */ jsx(
874
890
  Pressable,
875
891
  {
@@ -881,16 +897,7 @@ var SocialLinkIcon = React.forwardRef(
881
897
  className
882
898
  ),
883
899
  ...pressableProps,
884
- children: /* @__PURE__ */ jsx(
885
- DynamicIcon,
886
- {
887
- name: iconName,
888
- size: iconSize,
889
- color: iconColor,
890
- className: iconClassName,
891
- alt: accessibleLabel
892
- }
893
- )
900
+ children: icon
894
901
  }
895
902
  );
896
903
  }
@@ -880,6 +880,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
880
880
  iconClassName,
881
881
  className,
882
882
  iconNameOverride,
883
+ iconOnly = false,
883
884
  ...pressableProps
884
885
  }, ref) => {
885
886
  const platform = usePlatformFromUrl.usePlatformFromUrl(href);
@@ -892,6 +893,21 @@ var SocialLinkIcon = React__namespace.forwardRef(
892
893
  const accessibleLabel = React__namespace.useMemo(() => {
893
894
  return label || platformName;
894
895
  }, [label, platformName]);
896
+ const icon = React__namespace.useMemo(() => {
897
+ return /* @__PURE__ */ jsxRuntime.jsx(
898
+ DynamicIcon,
899
+ {
900
+ name: iconName,
901
+ size: iconSize,
902
+ color: iconColor,
903
+ className: iconClassName,
904
+ alt: accessibleLabel
905
+ }
906
+ );
907
+ }, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
908
+ if (iconOnly) {
909
+ return icon;
910
+ }
895
911
  return /* @__PURE__ */ jsxRuntime.jsx(
896
912
  Pressable,
897
913
  {
@@ -903,16 +919,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
903
919
  className
904
920
  ),
905
921
  ...pressableProps,
906
- children: /* @__PURE__ */ jsxRuntime.jsx(
907
- DynamicIcon,
908
- {
909
- name: iconName,
910
- size: iconSize,
911
- color: iconColor,
912
- className: iconClassName,
913
- alt: accessibleLabel
914
- }
915
- )
922
+ children: icon
916
923
  }
917
924
  );
918
925
  }
@@ -859,6 +859,7 @@ var SocialLinkIcon = React.forwardRef(
859
859
  iconClassName,
860
860
  className,
861
861
  iconNameOverride,
862
+ iconOnly = false,
862
863
  ...pressableProps
863
864
  }, ref) => {
864
865
  const platform = usePlatformFromUrl(href);
@@ -871,6 +872,21 @@ var SocialLinkIcon = React.forwardRef(
871
872
  const accessibleLabel = React.useMemo(() => {
872
873
  return label || platformName;
873
874
  }, [label, platformName]);
875
+ const icon = React.useMemo(() => {
876
+ return /* @__PURE__ */ jsx(
877
+ DynamicIcon,
878
+ {
879
+ name: iconName,
880
+ size: iconSize,
881
+ color: iconColor,
882
+ className: iconClassName,
883
+ alt: accessibleLabel
884
+ }
885
+ );
886
+ }, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
887
+ if (iconOnly) {
888
+ return icon;
889
+ }
874
890
  return /* @__PURE__ */ jsx(
875
891
  Pressable,
876
892
  {
@@ -882,16 +898,7 @@ var SocialLinkIcon = React.forwardRef(
882
898
  className
883
899
  ),
884
900
  ...pressableProps,
885
- children: /* @__PURE__ */ jsx(
886
- DynamicIcon,
887
- {
888
- name: iconName,
889
- size: iconSize,
890
- color: iconColor,
891
- className: iconClassName,
892
- alt: accessibleLabel
893
- }
894
- )
901
+ children: icon
895
902
  }
896
903
  );
897
904
  }
@@ -913,6 +913,7 @@ var SocialLinkIcon = React7__namespace.forwardRef(
913
913
  iconClassName,
914
914
  className,
915
915
  iconNameOverride,
916
+ iconOnly = false,
916
917
  ...pressableProps
917
918
  }, ref) => {
918
919
  const platform = usePlatformFromUrl.usePlatformFromUrl(href);
@@ -925,6 +926,21 @@ var SocialLinkIcon = React7__namespace.forwardRef(
925
926
  const accessibleLabel = React7__namespace.useMemo(() => {
926
927
  return label || platformName;
927
928
  }, [label, platformName]);
929
+ const icon = React7__namespace.useMemo(() => {
930
+ return /* @__PURE__ */ jsxRuntime.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__ */ jsxRuntime.jsx(
929
945
  Pressable,
930
946
  {
@@ -936,16 +952,7 @@ var SocialLinkIcon = React7__namespace.forwardRef(
936
952
  className
937
953
  ),
938
954
  ...pressableProps,
939
- children: /* @__PURE__ */ jsxRuntime.jsx(
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
  }
@@ -892,6 +892,7 @@ var SocialLinkIcon = React7.forwardRef(
892
892
  iconClassName,
893
893
  className,
894
894
  iconNameOverride,
895
+ iconOnly = false,
895
896
  ...pressableProps
896
897
  }, ref) => {
897
898
  const platform = usePlatformFromUrl(href);
@@ -904,6 +905,21 @@ var SocialLinkIcon = React7.forwardRef(
904
905
  const accessibleLabel = React7.useMemo(() => {
905
906
  return label || platformName;
906
907
  }, [label, platformName]);
908
+ const icon = React7.useMemo(() => {
909
+ return /* @__PURE__ */ jsx(
910
+ DynamicIcon,
911
+ {
912
+ name: iconName,
913
+ size: iconSize,
914
+ color: iconColor,
915
+ className: iconClassName,
916
+ alt: accessibleLabel
917
+ }
918
+ );
919
+ }, [iconName, iconSize, iconColor, iconClassName, accessibleLabel]);
920
+ if (iconOnly) {
921
+ return icon;
922
+ }
907
923
  return /* @__PURE__ */ jsx(
908
924
  Pressable,
909
925
  {
@@ -915,16 +931,7 @@ var SocialLinkIcon = React7.forwardRef(
915
931
  className
916
932
  ),
917
933
  ...pressableProps,
918
- children: /* @__PURE__ */ jsx(
919
- DynamicIcon,
920
- {
921
- name: iconName,
922
- size: iconSize,
923
- color: iconColor,
924
- className: iconClassName,
925
- alt: accessibleLabel
926
- }
927
- )
934
+ children: icon
928
935
  }
929
936
  );
930
937
  }