@opensite/ui 2.0.2 → 2.0.4
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/hero-ai-powered-carousel.cjs +152 -77
- package/dist/hero-ai-powered-carousel.d.cts +5 -13
- package/dist/hero-ai-powered-carousel.d.ts +5 -13
- package/dist/hero-ai-powered-carousel.js +152 -77
- package/dist/hero-announcement-badge.cjs +679 -665
- package/dist/hero-announcement-badge.d.cts +1 -1
- package/dist/hero-announcement-badge.d.ts +1 -1
- package/dist/hero-announcement-badge.js +689 -675
- package/dist/hero-badge-shadow-overlay.cjs +79 -32
- package/dist/hero-badge-shadow-overlay.js +80 -33
- package/dist/hero-centered-image-grid.cjs +106 -95
- package/dist/hero-centered-image-grid.d.cts +2 -14
- package/dist/hero-centered-image-grid.d.ts +2 -14
- package/dist/hero-centered-image-grid.js +106 -95
- package/dist/hero-community-survey-cta.cjs +149 -58
- package/dist/hero-community-survey-cta.d.cts +1 -1
- package/dist/hero-community-survey-cta.d.ts +1 -1
- package/dist/hero-community-survey-cta.js +149 -58
- package/dist/hero-design-carousel-portfolio.cjs +158 -66
- package/dist/hero-design-carousel-portfolio.d.cts +7 -11
- package/dist/hero-design-carousel-portfolio.d.ts +7 -11
- package/dist/hero-design-carousel-portfolio.js +158 -66
- package/dist/hero-event-registration.cjs +765 -718
- package/dist/hero-event-registration.js +761 -714
- package/dist/hero-fullscreen-background-image.cjs +746 -649
- package/dist/hero-fullscreen-background-image.d.cts +12 -4
- package/dist/hero-fullscreen-background-image.d.ts +12 -4
- package/dist/hero-fullscreen-background-image.js +746 -649
- package/dist/hero-fullscreen-logo-cta.cjs +89 -31
- package/dist/hero-fullscreen-logo-cta.js +89 -31
- package/dist/hero-gradient-avatars-rating.cjs +847 -816
- package/dist/hero-gradient-avatars-rating.d.cts +1 -13
- package/dist/hero-gradient-avatars-rating.d.ts +1 -13
- package/dist/hero-gradient-avatars-rating.js +844 -813
- package/dist/hero-gradient-client-focused.cjs +690 -629
- package/dist/hero-gradient-client-focused.d.cts +1 -1
- package/dist/hero-gradient-client-focused.d.ts +1 -1
- package/dist/hero-gradient-client-focused.js +689 -628
- package/dist/hero-grid-pattern-efficiency.cjs +59 -47
- package/dist/hero-grid-pattern-efficiency.d.cts +1 -8
- package/dist/hero-grid-pattern-efficiency.d.ts +1 -8
- package/dist/hero-grid-pattern-efficiency.js +59 -47
- package/dist/hero-logo-centered-screenshot.cjs +1 -1
- package/dist/hero-logo-centered-screenshot.js +1 -1
- package/dist/hero-marketplace-scattered-images.cjs +2 -6
- package/dist/hero-marketplace-scattered-images.d.cts +1 -4
- package/dist/hero-marketplace-scattered-images.d.ts +1 -4
- package/dist/hero-marketplace-scattered-images.js +2 -6
- package/dist/hero-pattern-logo-tech-stack.cjs +1 -1
- package/dist/hero-pattern-logo-tech-stack.js +1 -1
- package/dist/hero-platform-features-grid.cjs +5 -5
- package/dist/hero-platform-features-grid.js +5 -5
- package/dist/hero-simple-centered-image.cjs +140 -44
- package/dist/hero-simple-centered-image.d.cts +1 -1
- package/dist/hero-simple-centered-image.d.ts +1 -1
- package/dist/hero-simple-centered-image.js +140 -44
- package/dist/hero-spiral-pattern-cards.cjs +857 -809
- package/dist/hero-spiral-pattern-cards.d.cts +5 -1
- package/dist/hero-spiral-pattern-cards.d.ts +5 -1
- package/dist/hero-spiral-pattern-cards.js +856 -808
- package/dist/hero-split-geometric-shapes.cjs +754 -723
- package/dist/hero-split-geometric-shapes.d.cts +5 -1
- package/dist/hero-split-geometric-shapes.d.ts +5 -1
- package/dist/hero-split-geometric-shapes.js +748 -717
- package/dist/hero-task-timer-animated.cjs +698 -650
- package/dist/hero-task-timer-animated.d.cts +5 -1
- package/dist/hero-task-timer-animated.d.ts +5 -1
- package/dist/hero-task-timer-animated.js +697 -649
- package/dist/hero-ui-library-showcase.cjs +734 -719
- package/dist/hero-ui-library-showcase.d.cts +5 -1
- package/dist/hero-ui-library-showcase.d.ts +5 -1
- package/dist/hero-ui-library-showcase.js +732 -717
- package/dist/registry.cjs +1035 -788
- package/dist/registry.js +1035 -788
- package/package.json +1 -1
|
@@ -31,32 +31,6 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
|
31
31
|
function cn(...inputs) {
|
|
32
32
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
33
33
|
}
|
|
34
|
-
function getTextColor(parentBg, variant = "default", options) {
|
|
35
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
36
|
-
if (isDark) {
|
|
37
|
-
switch (variant) {
|
|
38
|
-
case "default":
|
|
39
|
-
return "text-foreground";
|
|
40
|
-
case "muted":
|
|
41
|
-
return "text-foreground/80";
|
|
42
|
-
case "subtle":
|
|
43
|
-
return "text-foreground/60";
|
|
44
|
-
case "accent":
|
|
45
|
-
return "text-accent-foreground";
|
|
46
|
-
}
|
|
47
|
-
} else {
|
|
48
|
-
switch (variant) {
|
|
49
|
-
case "default":
|
|
50
|
-
return "text-foreground";
|
|
51
|
-
case "muted":
|
|
52
|
-
return "text-muted-foreground";
|
|
53
|
-
case "subtle":
|
|
54
|
-
return "text-muted-foreground/70";
|
|
55
|
-
case "accent":
|
|
56
|
-
return "text-primary";
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
34
|
function normalizePhoneNumber(input) {
|
|
61
35
|
const trimmed = input.trim();
|
|
62
36
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -852,18 +826,16 @@ var Section = React__namespace.default.forwardRef(
|
|
|
852
826
|
Section.displayName = "Section";
|
|
853
827
|
function HeroGridPatternEfficiency({
|
|
854
828
|
heading,
|
|
855
|
-
highlightedWord = "efficiency.",
|
|
856
829
|
description,
|
|
857
830
|
action,
|
|
858
831
|
actionSlot,
|
|
859
|
-
actionSubtext
|
|
860
|
-
showGridPattern = true,
|
|
832
|
+
actionSubtext,
|
|
861
833
|
background,
|
|
862
|
-
|
|
834
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
835
|
+
spacing = "pt-32 pb-8 md:pt-32 md:pb-32",
|
|
863
836
|
pattern,
|
|
864
837
|
patternOpacity,
|
|
865
838
|
className,
|
|
866
|
-
containerClassName,
|
|
867
839
|
contentClassName,
|
|
868
840
|
headingClassName,
|
|
869
841
|
descriptionClassName,
|
|
@@ -872,7 +844,14 @@ function HeroGridPatternEfficiency({
|
|
|
872
844
|
const renderAction = React.useMemo(() => {
|
|
873
845
|
if (actionSlot) return actionSlot;
|
|
874
846
|
if (!action) return null;
|
|
875
|
-
const {
|
|
847
|
+
const {
|
|
848
|
+
label,
|
|
849
|
+
icon,
|
|
850
|
+
iconAfter,
|
|
851
|
+
children,
|
|
852
|
+
className: btnClassName,
|
|
853
|
+
...pressableProps
|
|
854
|
+
} = action;
|
|
876
855
|
return /* @__PURE__ */ jsxRuntime.jsx(Pressable, { asButton: true, className: btnClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
877
856
|
icon,
|
|
878
857
|
label,
|
|
@@ -881,14 +860,29 @@ function HeroGridPatternEfficiency({
|
|
|
881
860
|
}, [actionSlot, action]);
|
|
882
861
|
const renderHeading = React.useMemo(() => {
|
|
883
862
|
if (heading) {
|
|
884
|
-
return typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
863
|
+
return typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
864
|
+
"h1",
|
|
865
|
+
{
|
|
866
|
+
className: cn(
|
|
867
|
+
"text-5xl leading-tight font-extrabold lg:text-8xl lg:leading-snug text-balance",
|
|
868
|
+
headingClassName
|
|
869
|
+
),
|
|
870
|
+
children: heading
|
|
871
|
+
}
|
|
872
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
873
|
+
"h1",
|
|
874
|
+
{
|
|
875
|
+
className: cn(
|
|
876
|
+
"text-5xl leading-tight font-extrabold lg:text-8xl lg:leading-snug text-balance",
|
|
877
|
+
headingClassName
|
|
878
|
+
),
|
|
879
|
+
children: heading
|
|
880
|
+
}
|
|
881
|
+
);
|
|
882
|
+
} else {
|
|
883
|
+
return null;
|
|
885
884
|
}
|
|
886
|
-
|
|
887
|
-
"Less complexity. ",
|
|
888
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "mr-6", children: "More" }),
|
|
889
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("relative inline-block before:absolute before:top-0 before:-right-2 before:-bottom-2 before:-left-4 before:-z-10 before:rounded-lg", `before:${getTextColor(background, "muted")}/15`), children: highlightedWord })
|
|
890
|
-
] });
|
|
891
|
-
}, [heading, highlightedWord, headingClassName]);
|
|
885
|
+
}, [heading, headingClassName]);
|
|
892
886
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
893
887
|
Section,
|
|
894
888
|
{
|
|
@@ -896,15 +890,33 @@ function HeroGridPatternEfficiency({
|
|
|
896
890
|
spacing,
|
|
897
891
|
pattern,
|
|
898
892
|
patternOpacity,
|
|
899
|
-
className
|
|
900
|
-
|
|
901
|
-
|
|
893
|
+
className,
|
|
894
|
+
containerClassName,
|
|
895
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("relative max-w-5xl", contentClassName), children: [
|
|
902
896
|
renderHeading,
|
|
903
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
897
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
898
|
+
"p",
|
|
899
|
+
{
|
|
900
|
+
className: cn(
|
|
901
|
+
"mt-7 text-xl font-light lg:text-3xl text-balance",
|
|
902
|
+
descriptionClassName
|
|
903
|
+
),
|
|
904
|
+
children: description
|
|
905
|
+
}
|
|
906
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
|
|
907
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
908
|
+
"div",
|
|
909
|
+
{
|
|
910
|
+
className: cn(
|
|
911
|
+
"mt-12 flex w-fit flex-col gap-2.5 text-center",
|
|
912
|
+
actionClassName
|
|
913
|
+
),
|
|
914
|
+
children: [
|
|
915
|
+
renderAction,
|
|
916
|
+
actionSubtext && (typeof actionSubtext === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm", children: actionSubtext }) : actionSubtext)
|
|
917
|
+
]
|
|
918
|
+
}
|
|
919
|
+
)
|
|
908
920
|
] }) })
|
|
909
921
|
}
|
|
910
922
|
);
|
|
@@ -11,10 +11,6 @@ interface HeroGridPatternEfficiencyProps {
|
|
|
11
11
|
* Main heading content (can include highlighted text)
|
|
12
12
|
*/
|
|
13
13
|
heading?: React.ReactNode;
|
|
14
|
-
/**
|
|
15
|
-
* Highlighted word in heading (rendered with background)
|
|
16
|
-
*/
|
|
17
|
-
highlightedWord?: React.ReactNode;
|
|
18
14
|
/**
|
|
19
15
|
* Description text below heading
|
|
20
16
|
*/
|
|
@@ -32,9 +28,6 @@ interface HeroGridPatternEfficiencyProps {
|
|
|
32
28
|
*/
|
|
33
29
|
actionSubtext?: React.ReactNode;
|
|
34
30
|
/**
|
|
35
|
-
* Whether to show the grid pattern background
|
|
36
|
-
*/
|
|
37
|
-
showGridPattern?: boolean; /**
|
|
38
31
|
* Background style for the section
|
|
39
32
|
*/
|
|
40
33
|
background?: SectionBackground;
|
|
@@ -75,6 +68,6 @@ interface HeroGridPatternEfficiencyProps {
|
|
|
75
68
|
*/
|
|
76
69
|
actionClassName?: string;
|
|
77
70
|
}
|
|
78
|
-
declare function HeroGridPatternEfficiency({ heading,
|
|
71
|
+
declare function HeroGridPatternEfficiency({ heading, description, action, actionSlot, actionSubtext, background, containerClassName, spacing, pattern, patternOpacity, className, contentClassName, headingClassName, descriptionClassName, actionClassName, }: HeroGridPatternEfficiencyProps): React.JSX.Element;
|
|
79
72
|
|
|
80
73
|
export { HeroGridPatternEfficiency, type HeroGridPatternEfficiencyProps };
|
|
@@ -11,10 +11,6 @@ interface HeroGridPatternEfficiencyProps {
|
|
|
11
11
|
* Main heading content (can include highlighted text)
|
|
12
12
|
*/
|
|
13
13
|
heading?: React.ReactNode;
|
|
14
|
-
/**
|
|
15
|
-
* Highlighted word in heading (rendered with background)
|
|
16
|
-
*/
|
|
17
|
-
highlightedWord?: React.ReactNode;
|
|
18
14
|
/**
|
|
19
15
|
* Description text below heading
|
|
20
16
|
*/
|
|
@@ -32,9 +28,6 @@ interface HeroGridPatternEfficiencyProps {
|
|
|
32
28
|
*/
|
|
33
29
|
actionSubtext?: React.ReactNode;
|
|
34
30
|
/**
|
|
35
|
-
* Whether to show the grid pattern background
|
|
36
|
-
*/
|
|
37
|
-
showGridPattern?: boolean; /**
|
|
38
31
|
* Background style for the section
|
|
39
32
|
*/
|
|
40
33
|
background?: SectionBackground;
|
|
@@ -75,6 +68,6 @@ interface HeroGridPatternEfficiencyProps {
|
|
|
75
68
|
*/
|
|
76
69
|
actionClassName?: string;
|
|
77
70
|
}
|
|
78
|
-
declare function HeroGridPatternEfficiency({ heading,
|
|
71
|
+
declare function HeroGridPatternEfficiency({ heading, description, action, actionSlot, actionSubtext, background, containerClassName, spacing, pattern, patternOpacity, className, contentClassName, headingClassName, descriptionClassName, actionClassName, }: HeroGridPatternEfficiencyProps): React.JSX.Element;
|
|
79
72
|
|
|
80
73
|
export { HeroGridPatternEfficiency, type HeroGridPatternEfficiencyProps };
|
|
@@ -10,32 +10,6 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
10
10
|
function cn(...inputs) {
|
|
11
11
|
return twMerge(clsx(inputs));
|
|
12
12
|
}
|
|
13
|
-
function getTextColor(parentBg, variant = "default", options) {
|
|
14
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
15
|
-
if (isDark) {
|
|
16
|
-
switch (variant) {
|
|
17
|
-
case "default":
|
|
18
|
-
return "text-foreground";
|
|
19
|
-
case "muted":
|
|
20
|
-
return "text-foreground/80";
|
|
21
|
-
case "subtle":
|
|
22
|
-
return "text-foreground/60";
|
|
23
|
-
case "accent":
|
|
24
|
-
return "text-accent-foreground";
|
|
25
|
-
}
|
|
26
|
-
} else {
|
|
27
|
-
switch (variant) {
|
|
28
|
-
case "default":
|
|
29
|
-
return "text-foreground";
|
|
30
|
-
case "muted":
|
|
31
|
-
return "text-muted-foreground";
|
|
32
|
-
case "subtle":
|
|
33
|
-
return "text-muted-foreground/70";
|
|
34
|
-
case "accent":
|
|
35
|
-
return "text-primary";
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
13
|
function normalizePhoneNumber(input) {
|
|
40
14
|
const trimmed = input.trim();
|
|
41
15
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -831,18 +805,16 @@ var Section = React__default.forwardRef(
|
|
|
831
805
|
Section.displayName = "Section";
|
|
832
806
|
function HeroGridPatternEfficiency({
|
|
833
807
|
heading,
|
|
834
|
-
highlightedWord = "efficiency.",
|
|
835
808
|
description,
|
|
836
809
|
action,
|
|
837
810
|
actionSlot,
|
|
838
|
-
actionSubtext
|
|
839
|
-
showGridPattern = true,
|
|
811
|
+
actionSubtext,
|
|
840
812
|
background,
|
|
841
|
-
|
|
813
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
814
|
+
spacing = "pt-32 pb-8 md:pt-32 md:pb-32",
|
|
842
815
|
pattern,
|
|
843
816
|
patternOpacity,
|
|
844
817
|
className,
|
|
845
|
-
containerClassName,
|
|
846
818
|
contentClassName,
|
|
847
819
|
headingClassName,
|
|
848
820
|
descriptionClassName,
|
|
@@ -851,7 +823,14 @@ function HeroGridPatternEfficiency({
|
|
|
851
823
|
const renderAction = useMemo(() => {
|
|
852
824
|
if (actionSlot) return actionSlot;
|
|
853
825
|
if (!action) return null;
|
|
854
|
-
const {
|
|
826
|
+
const {
|
|
827
|
+
label,
|
|
828
|
+
icon,
|
|
829
|
+
iconAfter,
|
|
830
|
+
children,
|
|
831
|
+
className: btnClassName,
|
|
832
|
+
...pressableProps
|
|
833
|
+
} = action;
|
|
855
834
|
return /* @__PURE__ */ jsx(Pressable, { asButton: true, className: btnClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
856
835
|
icon,
|
|
857
836
|
label,
|
|
@@ -860,14 +839,29 @@ function HeroGridPatternEfficiency({
|
|
|
860
839
|
}, [actionSlot, action]);
|
|
861
840
|
const renderHeading = useMemo(() => {
|
|
862
841
|
if (heading) {
|
|
863
|
-
return typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
842
|
+
return typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
843
|
+
"h1",
|
|
844
|
+
{
|
|
845
|
+
className: cn(
|
|
846
|
+
"text-5xl leading-tight font-extrabold lg:text-8xl lg:leading-snug text-balance",
|
|
847
|
+
headingClassName
|
|
848
|
+
),
|
|
849
|
+
children: heading
|
|
850
|
+
}
|
|
851
|
+
) : /* @__PURE__ */ jsx(
|
|
852
|
+
"h1",
|
|
853
|
+
{
|
|
854
|
+
className: cn(
|
|
855
|
+
"text-5xl leading-tight font-extrabold lg:text-8xl lg:leading-snug text-balance",
|
|
856
|
+
headingClassName
|
|
857
|
+
),
|
|
858
|
+
children: heading
|
|
859
|
+
}
|
|
860
|
+
);
|
|
861
|
+
} else {
|
|
862
|
+
return null;
|
|
864
863
|
}
|
|
865
|
-
|
|
866
|
-
"Less complexity. ",
|
|
867
|
-
/* @__PURE__ */ jsx("span", { className: "mr-6", children: "More" }),
|
|
868
|
-
/* @__PURE__ */ jsx("span", { className: cn("relative inline-block before:absolute before:top-0 before:-right-2 before:-bottom-2 before:-left-4 before:-z-10 before:rounded-lg", `before:${getTextColor(background, "muted")}/15`), children: highlightedWord })
|
|
869
|
-
] });
|
|
870
|
-
}, [heading, highlightedWord, headingClassName]);
|
|
864
|
+
}, [heading, headingClassName]);
|
|
871
865
|
return /* @__PURE__ */ jsx(
|
|
872
866
|
Section,
|
|
873
867
|
{
|
|
@@ -875,15 +869,33 @@ function HeroGridPatternEfficiency({
|
|
|
875
869
|
spacing,
|
|
876
870
|
pattern,
|
|
877
871
|
patternOpacity,
|
|
878
|
-
className
|
|
879
|
-
|
|
880
|
-
|
|
872
|
+
className,
|
|
873
|
+
containerClassName,
|
|
874
|
+
children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: cn("relative max-w-5xl", contentClassName), children: [
|
|
881
875
|
renderHeading,
|
|
882
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
876
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
877
|
+
"p",
|
|
878
|
+
{
|
|
879
|
+
className: cn(
|
|
880
|
+
"mt-7 text-xl font-light lg:text-3xl text-balance",
|
|
881
|
+
descriptionClassName
|
|
882
|
+
),
|
|
883
|
+
children: description
|
|
884
|
+
}
|
|
885
|
+
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
|
|
886
|
+
/* @__PURE__ */ jsxs(
|
|
887
|
+
"div",
|
|
888
|
+
{
|
|
889
|
+
className: cn(
|
|
890
|
+
"mt-12 flex w-fit flex-col gap-2.5 text-center",
|
|
891
|
+
actionClassName
|
|
892
|
+
),
|
|
893
|
+
children: [
|
|
894
|
+
renderAction,
|
|
895
|
+
actionSubtext && (typeof actionSubtext === "string" ? /* @__PURE__ */ jsx("p", { className: "text-sm", children: actionSubtext }) : actionSubtext)
|
|
896
|
+
]
|
|
897
|
+
}
|
|
898
|
+
)
|
|
887
899
|
] }) })
|
|
888
900
|
}
|
|
889
901
|
);
|
|
@@ -841,7 +841,6 @@ function HeroMarketplaceScatteredImages({
|
|
|
841
841
|
taglineSlot,
|
|
842
842
|
images,
|
|
843
843
|
imagesSlot,
|
|
844
|
-
showGridPattern = true,
|
|
845
844
|
background,
|
|
846
845
|
spacing = "py-32 md:py-32",
|
|
847
846
|
pattern,
|
|
@@ -908,10 +907,7 @@ function HeroMarketplaceScatteredImages({
|
|
|
908
907
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-3 md:grid-cols-3", children: columns.map((colImages, colIndex) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
909
908
|
"div",
|
|
910
909
|
{
|
|
911
|
-
className: cn(
|
|
912
|
-
"grid gap-3",
|
|
913
|
-
colIndex === 2 && "hidden md:grid"
|
|
914
|
-
),
|
|
910
|
+
className: cn("grid gap-3", colIndex === 2 && "hidden md:grid"),
|
|
915
911
|
children: colImages.map((image, imgIndex) => {
|
|
916
912
|
const height = heightPatterns[colIndex][imgIndex % heightPatterns[colIndex].length];
|
|
917
913
|
const direction = colIndex % 2 === 0 ? "up" : "down";
|
|
@@ -980,7 +976,7 @@ function HeroMarketplaceScatteredImages({
|
|
|
980
976
|
"div",
|
|
981
977
|
{
|
|
982
978
|
className: cn(
|
|
983
|
-
"relative mx-auto max-w-xl py-10 text-center flex flex-col gap-6 items-center",
|
|
979
|
+
"relative mx-auto max-w-xl py-0 md:py-10 text-center flex flex-col gap-6 items-center",
|
|
984
980
|
contentClassName
|
|
985
981
|
),
|
|
986
982
|
children: [
|
|
@@ -44,9 +44,6 @@ interface HeroMarketplaceScatteredImagesProps {
|
|
|
44
44
|
*/
|
|
45
45
|
imagesSlot?: React.ReactNode;
|
|
46
46
|
/**
|
|
47
|
-
* Whether to show the grid pattern background
|
|
48
|
-
*/
|
|
49
|
-
showGridPattern?: boolean; /**
|
|
50
47
|
* Background style for the section
|
|
51
48
|
*/
|
|
52
49
|
background?: SectionBackground;
|
|
@@ -91,6 +88,6 @@ interface HeroMarketplaceScatteredImagesProps {
|
|
|
91
88
|
*/
|
|
92
89
|
optixFlowConfig?: OptixFlowConfig;
|
|
93
90
|
}
|
|
94
|
-
declare function HeroMarketplaceScatteredImages({ heading, description, action, actionSlot, tagline, taglineIcon, taglineSlot, images, imagesSlot,
|
|
91
|
+
declare function HeroMarketplaceScatteredImages({ heading, description, action, actionSlot, tagline, taglineIcon, taglineSlot, images, imagesSlot, background, spacing, pattern, patternOpacity, className, containerClassName, contentClassName, headingClassName, descriptionClassName, imagesClassName, optixFlowConfig, }: HeroMarketplaceScatteredImagesProps): React.JSX.Element;
|
|
95
92
|
|
|
96
93
|
export { HeroMarketplaceScatteredImages, type HeroMarketplaceScatteredImagesProps };
|
|
@@ -44,9 +44,6 @@ interface HeroMarketplaceScatteredImagesProps {
|
|
|
44
44
|
*/
|
|
45
45
|
imagesSlot?: React.ReactNode;
|
|
46
46
|
/**
|
|
47
|
-
* Whether to show the grid pattern background
|
|
48
|
-
*/
|
|
49
|
-
showGridPattern?: boolean; /**
|
|
50
47
|
* Background style for the section
|
|
51
48
|
*/
|
|
52
49
|
background?: SectionBackground;
|
|
@@ -91,6 +88,6 @@ interface HeroMarketplaceScatteredImagesProps {
|
|
|
91
88
|
*/
|
|
92
89
|
optixFlowConfig?: OptixFlowConfig;
|
|
93
90
|
}
|
|
94
|
-
declare function HeroMarketplaceScatteredImages({ heading, description, action, actionSlot, tagline, taglineIcon, taglineSlot, images, imagesSlot,
|
|
91
|
+
declare function HeroMarketplaceScatteredImages({ heading, description, action, actionSlot, tagline, taglineIcon, taglineSlot, images, imagesSlot, background, spacing, pattern, patternOpacity, className, containerClassName, contentClassName, headingClassName, descriptionClassName, imagesClassName, optixFlowConfig, }: HeroMarketplaceScatteredImagesProps): React.JSX.Element;
|
|
95
92
|
|
|
96
93
|
export { HeroMarketplaceScatteredImages, type HeroMarketplaceScatteredImagesProps };
|
|
@@ -820,7 +820,6 @@ function HeroMarketplaceScatteredImages({
|
|
|
820
820
|
taglineSlot,
|
|
821
821
|
images,
|
|
822
822
|
imagesSlot,
|
|
823
|
-
showGridPattern = true,
|
|
824
823
|
background,
|
|
825
824
|
spacing = "py-32 md:py-32",
|
|
826
825
|
pattern,
|
|
@@ -887,10 +886,7 @@ function HeroMarketplaceScatteredImages({
|
|
|
887
886
|
children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-3 md:grid-cols-3", children: columns.map((colImages, colIndex) => /* @__PURE__ */ jsx(
|
|
888
887
|
"div",
|
|
889
888
|
{
|
|
890
|
-
className: cn(
|
|
891
|
-
"grid gap-3",
|
|
892
|
-
colIndex === 2 && "hidden md:grid"
|
|
893
|
-
),
|
|
889
|
+
className: cn("grid gap-3", colIndex === 2 && "hidden md:grid"),
|
|
894
890
|
children: colImages.map((image, imgIndex) => {
|
|
895
891
|
const height = heightPatterns[colIndex][imgIndex % heightPatterns[colIndex].length];
|
|
896
892
|
const direction = colIndex % 2 === 0 ? "up" : "down";
|
|
@@ -959,7 +955,7 @@ function HeroMarketplaceScatteredImages({
|
|
|
959
955
|
"div",
|
|
960
956
|
{
|
|
961
957
|
className: cn(
|
|
962
|
-
"relative mx-auto max-w-xl py-10 text-center flex flex-col gap-6 items-center",
|
|
958
|
+
"relative mx-auto max-w-xl py-0 md:py-10 text-center flex flex-col gap-6 items-center",
|
|
963
959
|
contentClassName
|
|
964
960
|
),
|
|
965
961
|
children: [
|
|
@@ -838,7 +838,7 @@ function HeroPatternLogoTechStack({
|
|
|
838
838
|
techLogosSlot,
|
|
839
839
|
background,
|
|
840
840
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
841
|
-
spacing = "
|
|
841
|
+
spacing = "pt-32 pb-8 md:pt-32 md:pb-32",
|
|
842
842
|
pattern,
|
|
843
843
|
patternOpacity,
|
|
844
844
|
className,
|
|
@@ -817,7 +817,7 @@ function HeroPatternLogoTechStack({
|
|
|
817
817
|
techLogosSlot,
|
|
818
818
|
background,
|
|
819
819
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
820
|
-
spacing = "
|
|
820
|
+
spacing = "pt-32 pb-8 md:pt-32 md:pb-32",
|
|
821
821
|
pattern,
|
|
822
822
|
patternOpacity,
|
|
823
823
|
className,
|
|
@@ -842,7 +842,7 @@ function HeroPlatformFeaturesGrid({
|
|
|
842
842
|
featuresSlot,
|
|
843
843
|
background,
|
|
844
844
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
845
|
-
spacing = "
|
|
845
|
+
spacing = "pt-32 pb-8 md:pt-32 md:pb-32",
|
|
846
846
|
pattern,
|
|
847
847
|
patternOpacity,
|
|
848
848
|
className,
|
|
@@ -861,7 +861,7 @@ function HeroPlatformFeaturesGrid({
|
|
|
861
861
|
src: logoSrc,
|
|
862
862
|
alt: logo.alt,
|
|
863
863
|
className: cn(
|
|
864
|
-
"mx-auto mb-5 w-
|
|
864
|
+
"mx-auto mb-5 w-24 md:mb-6 md:w-28 lg:mb-7 lg:w-32",
|
|
865
865
|
logo.imgClassName
|
|
866
866
|
),
|
|
867
867
|
optixFlowConfig
|
|
@@ -892,7 +892,7 @@ function HeroPlatformFeaturesGrid({
|
|
|
892
892
|
"div",
|
|
893
893
|
{
|
|
894
894
|
className: cn(
|
|
895
|
-
"mt-16 grid gap-px overflow-hidden rounded-lg border bg-input md:grid-cols-2 lg:grid-cols-4 w-full",
|
|
895
|
+
"mt-12 md:mt-16 grid gap-px overflow-hidden rounded-lg border bg-input md:grid-cols-2 lg:grid-cols-4 w-full",
|
|
896
896
|
featuresClassName
|
|
897
897
|
),
|
|
898
898
|
children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -927,7 +927,7 @@ function HeroPlatformFeaturesGrid({
|
|
|
927
927
|
"div",
|
|
928
928
|
{
|
|
929
929
|
className: cn(
|
|
930
|
-
"flex flex-col items-center w-full gap-6 text-center",
|
|
930
|
+
"flex flex-col items-center w-full gap-4 md:gap-6 text-center",
|
|
931
931
|
headerClassName
|
|
932
932
|
),
|
|
933
933
|
children: [
|
|
@@ -952,7 +952,7 @@ function HeroPlatformFeaturesGrid({
|
|
|
952
952
|
children: heading
|
|
953
953
|
}
|
|
954
954
|
)),
|
|
955
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("max-w-2xl md:text-lg text-balance"), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("max-w-2xl md:text-lg text-balance"), children: description })),
|
|
955
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-6 max-w-2xl md:text-lg text-balance"), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("max-w-2xl md:text-lg text-balance"), children: description })),
|
|
956
956
|
renderAction
|
|
957
957
|
]
|
|
958
958
|
}
|
|
@@ -821,7 +821,7 @@ function HeroPlatformFeaturesGrid({
|
|
|
821
821
|
featuresSlot,
|
|
822
822
|
background,
|
|
823
823
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
824
|
-
spacing = "
|
|
824
|
+
spacing = "pt-32 pb-8 md:pt-32 md:pb-32",
|
|
825
825
|
pattern,
|
|
826
826
|
patternOpacity,
|
|
827
827
|
className,
|
|
@@ -840,7 +840,7 @@ function HeroPlatformFeaturesGrid({
|
|
|
840
840
|
src: logoSrc,
|
|
841
841
|
alt: logo.alt,
|
|
842
842
|
className: cn(
|
|
843
|
-
"mx-auto mb-5 w-
|
|
843
|
+
"mx-auto mb-5 w-24 md:mb-6 md:w-28 lg:mb-7 lg:w-32",
|
|
844
844
|
logo.imgClassName
|
|
845
845
|
),
|
|
846
846
|
optixFlowConfig
|
|
@@ -871,7 +871,7 @@ function HeroPlatformFeaturesGrid({
|
|
|
871
871
|
"div",
|
|
872
872
|
{
|
|
873
873
|
className: cn(
|
|
874
|
-
"mt-16 grid gap-px overflow-hidden rounded-lg border bg-input md:grid-cols-2 lg:grid-cols-4 w-full",
|
|
874
|
+
"mt-12 md:mt-16 grid gap-px overflow-hidden rounded-lg border bg-input md:grid-cols-2 lg:grid-cols-4 w-full",
|
|
875
875
|
featuresClassName
|
|
876
876
|
),
|
|
877
877
|
children: features.map((feature, index) => /* @__PURE__ */ jsxs(
|
|
@@ -906,7 +906,7 @@ function HeroPlatformFeaturesGrid({
|
|
|
906
906
|
"div",
|
|
907
907
|
{
|
|
908
908
|
className: cn(
|
|
909
|
-
"flex flex-col items-center w-full gap-6 text-center",
|
|
909
|
+
"flex flex-col items-center w-full gap-4 md:gap-6 text-center",
|
|
910
910
|
headerClassName
|
|
911
911
|
),
|
|
912
912
|
children: [
|
|
@@ -931,7 +931,7 @@ function HeroPlatformFeaturesGrid({
|
|
|
931
931
|
children: heading
|
|
932
932
|
}
|
|
933
933
|
)),
|
|
934
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("max-w-2xl md:text-lg text-balance"), children: description }) : /* @__PURE__ */ jsx("div", { className: cn("max-w-2xl md:text-lg text-balance"), children: description })),
|
|
934
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mb-6 max-w-2xl md:text-lg text-balance"), children: description }) : /* @__PURE__ */ jsx("div", { className: cn("max-w-2xl md:text-lg text-balance"), children: description })),
|
|
935
935
|
renderAction
|
|
936
936
|
]
|
|
937
937
|
}
|