@opensite/ui 1.9.6 → 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.
- package/dist/contact-callback.cjs +12 -6
- package/dist/contact-callback.js +12 -6
- package/dist/contact-card.cjs +22 -9
- package/dist/contact-card.js +22 -9
- package/dist/contact-careers.cjs +12 -6
- package/dist/contact-careers.js +12 -6
- package/dist/contact-catering.cjs +3 -6
- package/dist/contact-catering.js +3 -6
- package/dist/contact-demo.cjs +11 -2
- package/dist/contact-demo.js +11 -2
- package/dist/contact-event.cjs +2 -2
- package/dist/contact-event.js +2 -2
- package/dist/contact-feedback.cjs +2 -2
- package/dist/contact-feedback.js +2 -2
- package/dist/contact-fitness.cjs +2 -2
- package/dist/contact-fitness.js +2 -2
- package/dist/contact-guest.cjs +11 -2
- package/dist/contact-guest.js +11 -2
- package/dist/contact-image.cjs +11 -2
- package/dist/contact-image.js +11 -2
- package/dist/contact-maintenance.cjs +41 -7
- package/dist/contact-maintenance.js +41 -7
- package/dist/contact-map.cjs +41 -7
- package/dist/contact-map.js +41 -7
- package/dist/contact-minimal.cjs +47 -4
- package/dist/contact-minimal.js +47 -4
- package/dist/contact-moving.cjs +41 -7
- package/dist/contact-moving.js +41 -7
- package/dist/contact-multistep.cjs +41 -7
- package/dist/contact-multistep.js +41 -7
- package/dist/contact-partnership.cjs +41 -7
- package/dist/contact-partnership.js +41 -7
- package/dist/registry.cjs +340 -78
- package/dist/registry.js +340 -78
- package/package.json +2 -2
|
@@ -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 {
|
|
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
|
-
|
|
956
|
-
|
|
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(
|
|
972
|
-
|
|
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 {
|
|
930
|
-
return /* @__PURE__ */ jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
931
|
-
icon,
|
|
929
|
+
const {
|
|
932
930
|
label,
|
|
933
|
-
|
|
934
|
-
|
|
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(
|
|
950
|
-
|
|
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,
|