@opensite/ui 1.6.9 → 1.7.0

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 (31) hide show
  1. package/dist/hero-billing-platform-logos.cjs +77 -52
  2. package/dist/hero-billing-platform-logos.js +77 -51
  3. package/dist/hero-conversion-video-play.cjs +240 -78
  4. package/dist/hero-conversion-video-play.js +233 -75
  5. package/dist/hero-customer-support-layered.cjs +1 -1
  6. package/dist/hero-customer-support-layered.js +1 -1
  7. package/dist/hero-dashed-border-features.cjs +33 -24
  8. package/dist/hero-dashed-border-features.js +33 -24
  9. package/dist/hero-design-showcase-logos.cjs +102 -38
  10. package/dist/hero-design-showcase-logos.js +102 -38
  11. package/dist/hero-grid-pattern-solutions.cjs +187 -49
  12. package/dist/hero-grid-pattern-solutions.d.cts +1 -4
  13. package/dist/hero-grid-pattern-solutions.d.ts +1 -4
  14. package/dist/hero-grid-pattern-solutions.js +188 -50
  15. package/dist/hero-marketplace-scattered-images.cjs +120 -79
  16. package/dist/hero-marketplace-scattered-images.js +120 -79
  17. package/dist/hero-mentorship-video-split.cjs +32 -13
  18. package/dist/hero-mentorship-video-split.js +32 -13
  19. package/dist/hero-premium-split-avatars.cjs +2 -2
  20. package/dist/hero-premium-split-avatars.js +2 -2
  21. package/dist/hero-productivity-launcher-video.cjs +45 -143
  22. package/dist/hero-productivity-launcher-video.d.cts +5 -23
  23. package/dist/hero-productivity-launcher-video.d.ts +5 -23
  24. package/dist/hero-productivity-launcher-video.js +45 -143
  25. package/dist/hero-split-spiral-shapes.cjs +47 -38
  26. package/dist/hero-split-spiral-shapes.js +47 -38
  27. package/dist/hero-task-timer-animated.cjs +59 -59
  28. package/dist/hero-task-timer-animated.js +59 -59
  29. package/dist/registry.cjs +772 -439
  30. package/dist/registry.js +772 -439
  31. package/package.json +1 -1
@@ -3,7 +3,6 @@
3
3
 
4
4
  var React3 = require('react');
5
5
  var AutoScroll = require('embla-carousel-auto-scroll');
6
- var Autoplay = require('embla-carousel-autoplay');
7
6
  var clsx = require('clsx');
8
7
  var tailwindMerge = require('tailwind-merge');
9
8
  var classVarianceAuthority = require('class-variance-authority');
@@ -33,7 +32,6 @@ function _interopNamespace(e) {
33
32
 
34
33
  var React3__namespace = /*#__PURE__*/_interopNamespace(React3);
35
34
  var AutoScroll__default = /*#__PURE__*/_interopDefault(AutoScroll);
36
- var Autoplay__default = /*#__PURE__*/_interopDefault(Autoplay);
37
35
  var useEmblaCarousel__default = /*#__PURE__*/_interopDefault(useEmblaCarousel);
38
36
 
39
37
  // components/blocks/hero/hero-billing-platform-logos.tsx
@@ -990,7 +988,14 @@ function HeroBillingPlatformLogos({
990
988
  if (actionsSlot) return actionsSlot;
991
989
  if (!actions || actions.length === 0) return null;
992
990
  return actions.map((action, index) => {
993
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
991
+ const {
992
+ label,
993
+ icon,
994
+ iconAfter,
995
+ children,
996
+ className: actionClassName,
997
+ ...pressableProps
998
+ } = action;
994
999
  if (index === 1) {
995
1000
  return /* @__PURE__ */ jsxRuntime.jsx(
996
1001
  Pressable,
@@ -1007,19 +1012,11 @@ function HeroBillingPlatformLogos({
1007
1012
  index
1008
1013
  );
1009
1014
  }
1010
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
1011
- Pressable,
1012
- {
1013
- asButton: true,
1014
- className: actionClassName,
1015
- ...pressableProps,
1016
- children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1017
- icon,
1018
- label,
1019
- iconAfter
1020
- ] })
1021
- }
1022
- ) }, index);
1015
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1016
+ icon,
1017
+ label,
1018
+ iconAfter
1019
+ ] }) }) }, index);
1023
1020
  });
1024
1021
  }, [actionsSlot, actions]);
1025
1022
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -1029,14 +1026,32 @@ function HeroBillingPlatformLogos({
1029
1026
  spacing,
1030
1027
  pattern,
1031
1028
  patternOpacity,
1032
- className: cn("relative flex items-center justify-center dark font-sans", className),
1029
+ className,
1033
1030
  containerClassName,
1034
1031
  children: [
1035
1032
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 items-center justify-center gap-12 lg:grid-cols-[minmax(33.75rem,1fr)_1.5fr] lg:gap-8", children: [
1036
1033
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: contentClassName, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-3", children: [
1037
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn("text-4xl leading-tight md:text-5xl lg:text-[3.5rem]", headingClassName), children: heading }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
1034
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
1035
+ "h1",
1036
+ {
1037
+ className: cn(
1038
+ "text-4xl leading-tight md:text-5xl lg:text-[3.5rem]",
1039
+ headingClassName
1040
+ ),
1041
+ children: heading
1042
+ }
1043
+ ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
1038
1044
  description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-5 text-lg", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
1039
- (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col items-center gap-4 lg:flex-row", actionsClassName), children: renderActions }) })
1045
+ (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
1046
+ "div",
1047
+ {
1048
+ className: cn(
1049
+ "flex flex-col items-center gap-4 lg:flex-row",
1050
+ actionsClassName
1051
+ ),
1052
+ children: renderActions
1053
+ }
1054
+ ) })
1040
1055
  ] }) }),
1041
1056
  imagesSlot ? imagesSlot : mainImage ? /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative mr-auto ml-auto aspect-[1.28581291/1] w-full max-w-149 lg:mr-0 lg:ml-auto", children: [
1042
1057
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative mx-auto aspect-[1.020365896/1] h-full w-[79.35%] max-w-118.25 overflow-hidden rounded-3xl", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -1044,7 +1059,10 @@ function HeroBillingPlatformLogos({
1044
1059
  {
1045
1060
  src: mainImage.src,
1046
1061
  alt: mainImage.alt,
1047
- className: cn("relative z-10 w-full object-cover", mainImage.className),
1062
+ className: cn(
1063
+ "relative z-10 w-full object-cover",
1064
+ mainImage.className
1065
+ ),
1048
1066
  optixFlowConfig
1049
1067
  }
1050
1068
  ) }),
@@ -1053,7 +1071,10 @@ function HeroBillingPlatformLogos({
1053
1071
  {
1054
1072
  src: overlayImages[0].src,
1055
1073
  alt: overlayImages[0].alt,
1056
- className: cn("size-full object-cover", overlayImages[0].className),
1074
+ className: cn(
1075
+ "size-full object-cover",
1076
+ overlayImages[0].className
1077
+ ),
1057
1078
  optixFlowConfig
1058
1079
  }
1059
1080
  ) }),
@@ -1062,7 +1083,10 @@ function HeroBillingPlatformLogos({
1062
1083
  {
1063
1084
  src: overlayImages[1].src,
1064
1085
  alt: overlayImages[1].alt,
1065
- className: cn("size-full object-cover", overlayImages[1].className),
1086
+ className: cn(
1087
+ "size-full object-cover",
1088
+ overlayImages[1].className
1089
+ ),
1066
1090
  optixFlowConfig
1067
1091
  }
1068
1092
  ) }),
@@ -1071,43 +1095,44 @@ function HeroBillingPlatformLogos({
1071
1095
  {
1072
1096
  src: overlayImages[2].src,
1073
1097
  alt: overlayImages[2].alt,
1074
- className: cn("size-full object-cover", overlayImages[2].className),
1098
+ className: cn(
1099
+ "size-full object-cover",
1100
+ overlayImages[2].className
1101
+ ),
1075
1102
  optixFlowConfig
1076
1103
  }
1077
1104
  ) })
1078
1105
  ] }) }) : null
1079
1106
  ] }) }),
1080
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col items-center justify-center gap-8 pt-28", logosClassName), children: [
1081
- logosTagline && (typeof logosTagline === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "px-5 text-center font-mono text-sm font-medium uppercase", children: logosTagline }) : /* @__PURE__ */ jsxRuntime.jsx("div", { children: logosTagline })),
1082
- logosSlot ? logosSlot : logos && logos.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
1083
- Carousel,
1084
- {
1085
- opts: {
1086
- loop: true,
1087
- align: "center"
1088
- },
1089
- plugins: [
1090
- AutoScroll__default.default({
1091
- speed: 1
1092
- }),
1093
- Autoplay__default.default({
1094
- playOnInit: true,
1095
- delay: 1e3
1096
- })
1097
- ],
1098
- className: "relative w-full max-w-(--breakpoint-2xl) overflow-hidden",
1099
- children: /* @__PURE__ */ jsxRuntime.jsx(CarouselContent, { className: "items-center", children: logos.map((logo, index) => /* @__PURE__ */ jsxRuntime.jsx(CarouselItem, { className: "w-fit basis-auto px-7", children: /* @__PURE__ */ jsxRuntime.jsx(
1100
- img.Img,
1107
+ /* @__PURE__ */ jsxRuntime.jsxs(
1108
+ "div",
1109
+ {
1110
+ className: cn(
1111
+ "flex flex-col items-center justify-center gap-8 pt-28",
1112
+ logosClassName
1113
+ ),
1114
+ children: [
1115
+ logosTagline && (typeof logosTagline === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "px-5 text-center font-mono text-sm font-medium uppercase", children: logosTagline }) : /* @__PURE__ */ jsxRuntime.jsx("div", { children: logosTagline })),
1116
+ logosSlot ? logosSlot : logos && logos.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
1117
+ Carousel,
1101
1118
  {
1102
- src: typeof logo.src === "string" ? logo.src : logo.src.light,
1103
- alt: logo.alt,
1104
- className: cn("h-8 w-full object-fill", logo.imgClassName),
1105
- optixFlowConfig
1119
+ opts: { loop: true },
1120
+ plugins: [AutoScroll__default.default({ playOnInit: true, speed: 1 })],
1121
+ className: "relative w-full max-w-(--breakpoint-2xl) overflow-hidden",
1122
+ children: /* @__PURE__ */ jsxRuntime.jsx(CarouselContent, { className: "items-center", children: [...logos, ...logos].map((logo, index) => /* @__PURE__ */ jsxRuntime.jsx(CarouselItem, { className: "w-fit basis-auto px-7", children: /* @__PURE__ */ jsxRuntime.jsx(
1123
+ img.Img,
1124
+ {
1125
+ src: typeof logo.src === "string" ? logo.src : logo.src.light,
1126
+ alt: logo.alt,
1127
+ className: cn("h-8 w-full object-fill", logo.imgClassName),
1128
+ optixFlowConfig
1129
+ }
1130
+ ) }, index)) })
1106
1131
  }
1107
- ) }, index)) })
1108
- }
1109
- ) : null
1110
- ] })
1132
+ ) : null
1133
+ ]
1134
+ }
1135
+ )
1111
1136
  ]
1112
1137
  }
1113
1138
  );
@@ -2,7 +2,6 @@
2
2
  import * as React3 from 'react';
3
3
  import React3__default, { useMemo } from 'react';
4
4
  import AutoScroll from 'embla-carousel-auto-scroll';
5
- import Autoplay from 'embla-carousel-autoplay';
6
5
  import { clsx } from 'clsx';
7
6
  import { twMerge } from 'tailwind-merge';
8
7
  import { cva } from 'class-variance-authority';
@@ -964,7 +963,14 @@ function HeroBillingPlatformLogos({
964
963
  if (actionsSlot) return actionsSlot;
965
964
  if (!actions || actions.length === 0) return null;
966
965
  return actions.map((action, index) => {
967
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
966
+ const {
967
+ label,
968
+ icon,
969
+ iconAfter,
970
+ children,
971
+ className: actionClassName,
972
+ ...pressableProps
973
+ } = action;
968
974
  if (index === 1) {
969
975
  return /* @__PURE__ */ jsx(
970
976
  Pressable,
@@ -981,19 +987,11 @@ function HeroBillingPlatformLogos({
981
987
  index
982
988
  );
983
989
  }
984
- return /* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx(
985
- Pressable,
986
- {
987
- asButton: true,
988
- className: actionClassName,
989
- ...pressableProps,
990
- children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
991
- icon,
992
- label,
993
- iconAfter
994
- ] })
995
- }
996
- ) }, index);
990
+ return /* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
991
+ icon,
992
+ label,
993
+ iconAfter
994
+ ] }) }) }, index);
997
995
  });
998
996
  }, [actionsSlot, actions]);
999
997
  return /* @__PURE__ */ jsxs(
@@ -1003,14 +1001,32 @@ function HeroBillingPlatformLogos({
1003
1001
  spacing,
1004
1002
  pattern,
1005
1003
  patternOpacity,
1006
- className: cn("relative flex items-center justify-center dark font-sans", className),
1004
+ className,
1007
1005
  containerClassName,
1008
1006
  children: [
1009
1007
  /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 items-center justify-center gap-12 lg:grid-cols-[minmax(33.75rem,1fr)_1.5fr] lg:gap-8", children: [
1010
1008
  /* @__PURE__ */ jsx("div", { className: contentClassName, children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3", children: [
1011
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h1", { className: cn("text-4xl leading-tight md:text-5xl lg:text-[3.5rem]", headingClassName), children: heading }) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
1009
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
1010
+ "h1",
1011
+ {
1012
+ className: cn(
1013
+ "text-4xl leading-tight md:text-5xl lg:text-[3.5rem]",
1014
+ headingClassName
1015
+ ),
1016
+ children: heading
1017
+ }
1018
+ ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
1012
1019
  description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mb-5 text-lg", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
1013
- (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("div", { className: cn("flex flex-col items-center gap-4 lg:flex-row", actionsClassName), children: renderActions }) })
1020
+ (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
1021
+ "div",
1022
+ {
1023
+ className: cn(
1024
+ "flex flex-col items-center gap-4 lg:flex-row",
1025
+ actionsClassName
1026
+ ),
1027
+ children: renderActions
1028
+ }
1029
+ ) })
1014
1030
  ] }) }),
1015
1031
  imagesSlot ? imagesSlot : mainImage ? /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("div", { className: "relative mr-auto ml-auto aspect-[1.28581291/1] w-full max-w-149 lg:mr-0 lg:ml-auto", children: [
1016
1032
  /* @__PURE__ */ jsx("div", { className: "relative mx-auto aspect-[1.020365896/1] h-full w-[79.35%] max-w-118.25 overflow-hidden rounded-3xl", children: /* @__PURE__ */ jsx(
@@ -1018,7 +1034,10 @@ function HeroBillingPlatformLogos({
1018
1034
  {
1019
1035
  src: mainImage.src,
1020
1036
  alt: mainImage.alt,
1021
- className: cn("relative z-10 w-full object-cover", mainImage.className),
1037
+ className: cn(
1038
+ "relative z-10 w-full object-cover",
1039
+ mainImage.className
1040
+ ),
1022
1041
  optixFlowConfig
1023
1042
  }
1024
1043
  ) }),
@@ -1027,7 +1046,10 @@ function HeroBillingPlatformLogos({
1027
1046
  {
1028
1047
  src: overlayImages[0].src,
1029
1048
  alt: overlayImages[0].alt,
1030
- className: cn("size-full object-cover", overlayImages[0].className),
1049
+ className: cn(
1050
+ "size-full object-cover",
1051
+ overlayImages[0].className
1052
+ ),
1031
1053
  optixFlowConfig
1032
1054
  }
1033
1055
  ) }),
@@ -1036,7 +1058,10 @@ function HeroBillingPlatformLogos({
1036
1058
  {
1037
1059
  src: overlayImages[1].src,
1038
1060
  alt: overlayImages[1].alt,
1039
- className: cn("size-full object-cover", overlayImages[1].className),
1061
+ className: cn(
1062
+ "size-full object-cover",
1063
+ overlayImages[1].className
1064
+ ),
1040
1065
  optixFlowConfig
1041
1066
  }
1042
1067
  ) }),
@@ -1045,43 +1070,44 @@ function HeroBillingPlatformLogos({
1045
1070
  {
1046
1071
  src: overlayImages[2].src,
1047
1072
  alt: overlayImages[2].alt,
1048
- className: cn("size-full object-cover", overlayImages[2].className),
1073
+ className: cn(
1074
+ "size-full object-cover",
1075
+ overlayImages[2].className
1076
+ ),
1049
1077
  optixFlowConfig
1050
1078
  }
1051
1079
  ) })
1052
1080
  ] }) }) : null
1053
1081
  ] }) }),
1054
- /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-center justify-center gap-8 pt-28", logosClassName), children: [
1055
- logosTagline && (typeof logosTagline === "string" ? /* @__PURE__ */ jsx("p", { className: "px-5 text-center font-mono text-sm font-medium uppercase", children: logosTagline }) : /* @__PURE__ */ jsx("div", { children: logosTagline })),
1056
- logosSlot ? logosSlot : logos && logos.length > 0 ? /* @__PURE__ */ jsx(
1057
- Carousel,
1058
- {
1059
- opts: {
1060
- loop: true,
1061
- align: "center"
1062
- },
1063
- plugins: [
1064
- AutoScroll({
1065
- speed: 1
1066
- }),
1067
- Autoplay({
1068
- playOnInit: true,
1069
- delay: 1e3
1070
- })
1071
- ],
1072
- className: "relative w-full max-w-(--breakpoint-2xl) overflow-hidden",
1073
- children: /* @__PURE__ */ jsx(CarouselContent, { className: "items-center", children: logos.map((logo, index) => /* @__PURE__ */ jsx(CarouselItem, { className: "w-fit basis-auto px-7", children: /* @__PURE__ */ jsx(
1074
- Img,
1082
+ /* @__PURE__ */ jsxs(
1083
+ "div",
1084
+ {
1085
+ className: cn(
1086
+ "flex flex-col items-center justify-center gap-8 pt-28",
1087
+ logosClassName
1088
+ ),
1089
+ children: [
1090
+ logosTagline && (typeof logosTagline === "string" ? /* @__PURE__ */ jsx("p", { className: "px-5 text-center font-mono text-sm font-medium uppercase", children: logosTagline }) : /* @__PURE__ */ jsx("div", { children: logosTagline })),
1091
+ logosSlot ? logosSlot : logos && logos.length > 0 ? /* @__PURE__ */ jsx(
1092
+ Carousel,
1075
1093
  {
1076
- src: typeof logo.src === "string" ? logo.src : logo.src.light,
1077
- alt: logo.alt,
1078
- className: cn("h-8 w-full object-fill", logo.imgClassName),
1079
- optixFlowConfig
1094
+ opts: { loop: true },
1095
+ plugins: [AutoScroll({ playOnInit: true, speed: 1 })],
1096
+ className: "relative w-full max-w-(--breakpoint-2xl) overflow-hidden",
1097
+ children: /* @__PURE__ */ jsx(CarouselContent, { className: "items-center", children: [...logos, ...logos].map((logo, index) => /* @__PURE__ */ jsx(CarouselItem, { className: "w-fit basis-auto px-7", children: /* @__PURE__ */ jsx(
1098
+ Img,
1099
+ {
1100
+ src: typeof logo.src === "string" ? logo.src : logo.src.light,
1101
+ alt: logo.alt,
1102
+ className: cn("h-8 w-full object-fill", logo.imgClassName),
1103
+ optixFlowConfig
1104
+ }
1105
+ ) }, index)) })
1080
1106
  }
1081
- ) }, index)) })
1082
- }
1083
- ) : null
1084
- ] })
1107
+ ) : null
1108
+ ]
1109
+ }
1110
+ )
1085
1111
  ]
1086
1112
  }
1087
1113
  );