@opensite/ui 1.9.7 → 1.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -948,12 +948,28 @@ function ContactPartnership({
948
948
  if (actionsSlot) return actionsSlot;
949
949
  if (actions && actions.length > 0) {
950
950
  return actions.map((action, index) => {
951
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
952
- return /* @__PURE__ */ jsxRuntime.jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
953
- icon,
951
+ const {
954
952
  label,
955
- iconAfter
956
- ] }) }, index);
953
+ icon,
954
+ iconAfter,
955
+ children,
956
+ className: actionClassName,
957
+ ...pressableProps
958
+ } = action;
959
+ return /* @__PURE__ */ jsxRuntime.jsx(
960
+ Pressable,
961
+ {
962
+ asButton: true,
963
+ className: actionClassName,
964
+ ...pressableProps,
965
+ children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
966
+ icon,
967
+ label,
968
+ iconAfter
969
+ ] })
970
+ },
971
+ index
972
+ );
957
973
  });
958
974
  }
959
975
  return null;
@@ -968,8 +984,26 @@ function ContactPartnership({
968
984
  className: cn("py-12", className),
969
985
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mx-auto max-w-4xl px-4", containerClassName), children: [
970
986
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mb-10 text-center", headerClassName), children: [
971
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: cn("mb-3 text-3xl font-bold tracking-tight", headingClassName), children: heading }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
972
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("leading-relaxed text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
987
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
988
+ "h2",
989
+ {
990
+ className: cn(
991
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
992
+ headingClassName
993
+ ),
994
+ children: heading
995
+ }
996
+ ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
997
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
998
+ "p",
999
+ {
1000
+ className: cn(
1001
+ "leading-relaxed text-balance",
1002
+ descriptionClassName
1003
+ ),
1004
+ children: description
1005
+ }
1006
+ ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
973
1007
  ] }),
974
1008
  /* @__PURE__ */ jsxRuntime.jsx(Card, { className: cn("mx-auto max-w-xl", cardClassName), children: /* @__PURE__ */ jsxRuntime.jsx(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
975
1009
  forms.Form,
@@ -926,12 +926,28 @@ function ContactPartnership({
926
926
  if (actionsSlot) return actionsSlot;
927
927
  if (actions && actions.length > 0) {
928
928
  return actions.map((action, index) => {
929
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
930
- return /* @__PURE__ */ jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
931
- icon,
929
+ const {
932
930
  label,
933
- iconAfter
934
- ] }) }, index);
931
+ icon,
932
+ iconAfter,
933
+ children,
934
+ className: actionClassName,
935
+ ...pressableProps
936
+ } = action;
937
+ return /* @__PURE__ */ jsx(
938
+ Pressable,
939
+ {
940
+ asButton: true,
941
+ className: actionClassName,
942
+ ...pressableProps,
943
+ children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
944
+ icon,
945
+ label,
946
+ iconAfter
947
+ ] })
948
+ },
949
+ index
950
+ );
935
951
  });
936
952
  }
937
953
  return null;
@@ -946,8 +962,26 @@ function ContactPartnership({
946
962
  className: cn("py-12", className),
947
963
  children: /* @__PURE__ */ jsxs("div", { className: cn("mx-auto max-w-4xl px-4", containerClassName), children: [
948
964
  /* @__PURE__ */ jsxs("div", { className: cn("mb-10 text-center", headerClassName), children: [
949
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h2", { className: cn("mb-3 text-3xl font-bold tracking-tight", headingClassName), children: heading }) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
950
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-relaxed text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
965
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
966
+ "h2",
967
+ {
968
+ className: cn(
969
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
970
+ headingClassName
971
+ ),
972
+ children: heading
973
+ }
974
+ ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
975
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
976
+ "p",
977
+ {
978
+ className: cn(
979
+ "leading-relaxed text-balance",
980
+ descriptionClassName
981
+ ),
982
+ children: description
983
+ }
984
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
951
985
  ] }),
952
986
  /* @__PURE__ */ jsx(Card, { className: cn("mx-auto max-w-xl", cardClassName), children: /* @__PURE__ */ jsx(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: /* @__PURE__ */ jsxs(
953
987
  Form,