@opensite/ui 1.7.2 → 1.7.3
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-dark.cjs +137 -95
- package/dist/contact-dark.css +279 -0
- package/dist/contact-dark.d.cts +1 -1
- package/dist/contact-dark.d.ts +1 -1
- package/dist/contact-dark.js +138 -96
- package/dist/contact-faq.cjs +49 -16
- package/dist/contact-faq.css +279 -0
- package/dist/contact-faq.d.cts +1 -1
- package/dist/contact-faq.d.ts +1 -1
- package/dist/contact-faq.js +46 -13
- package/dist/contact-photography.cjs +53 -20
- package/dist/contact-photography.css +279 -0
- package/dist/contact-photography.d.cts +1 -1
- package/dist/contact-photography.d.ts +1 -1
- package/dist/contact-photography.js +49 -16
- package/dist/hero-premium-split-avatars.cjs +1 -1
- package/dist/hero-premium-split-avatars.d.cts +1 -1
- package/dist/hero-premium-split-avatars.d.ts +1 -1
- package/dist/hero-premium-split-avatars.js +1 -1
- package/dist/registry.cjs +240 -126
- package/dist/registry.css +279 -0
- package/dist/registry.js +240 -126
- package/package.json +4 -4
package/dist/registry.cjs
CHANGED
|
@@ -10120,7 +10120,6 @@ function ContactDark({
|
|
|
10120
10120
|
socialLinks,
|
|
10121
10121
|
socialLinksSlot,
|
|
10122
10122
|
className,
|
|
10123
|
-
containerClassName,
|
|
10124
10123
|
headerClassName,
|
|
10125
10124
|
headingClassName,
|
|
10126
10125
|
descriptionClassName,
|
|
@@ -10131,10 +10130,11 @@ function ContactDark({
|
|
|
10131
10130
|
infoPanelClassName,
|
|
10132
10131
|
contactOptionsClassName,
|
|
10133
10132
|
socialLinksClassName,
|
|
10134
|
-
background
|
|
10135
|
-
spacing = "
|
|
10133
|
+
background,
|
|
10134
|
+
spacing = "py-8 md:py-32",
|
|
10135
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
10136
10136
|
pattern,
|
|
10137
|
-
patternOpacity
|
|
10137
|
+
patternOpacity,
|
|
10138
10138
|
formConfig,
|
|
10139
10139
|
onSubmit,
|
|
10140
10140
|
onSuccess,
|
|
@@ -10191,7 +10191,14 @@ function ContactDark({
|
|
|
10191
10191
|
if (actionsSlot) return actionsSlot;
|
|
10192
10192
|
if (actions && actions.length > 0) {
|
|
10193
10193
|
return actions.map((action, index) => {
|
|
10194
|
-
const {
|
|
10194
|
+
const {
|
|
10195
|
+
label,
|
|
10196
|
+
icon,
|
|
10197
|
+
iconAfter,
|
|
10198
|
+
children,
|
|
10199
|
+
className: actionClassName,
|
|
10200
|
+
...pressableProps
|
|
10201
|
+
} = action;
|
|
10195
10202
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
10196
10203
|
Pressable,
|
|
10197
10204
|
{
|
|
@@ -10257,103 +10264,140 @@ function ContactDark({
|
|
|
10257
10264
|
spacing,
|
|
10258
10265
|
pattern,
|
|
10259
10266
|
patternOpacity,
|
|
10260
|
-
className
|
|
10261
|
-
|
|
10267
|
+
className,
|
|
10268
|
+
containerClassName,
|
|
10269
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
10262
10270
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mb-10 text-center", headerClassName), children: [
|
|
10263
|
-
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
10264
|
-
|
|
10265
|
-
] }),
|
|
10266
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Card, { className: cn("grid gap-0 overflow-hidden lg:grid-cols-2", cardClassName), children: [
|
|
10267
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("p-6 lg:p-8", formPanelClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
10268
|
-
forms.Form,
|
|
10271
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
10272
|
+
"h2",
|
|
10269
10273
|
{
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
children:
|
|
10275
|
-
|
|
10276
|
-
|
|
10277
|
-
|
|
10278
|
-
|
|
10279
|
-
|
|
10274
|
+
className: cn(
|
|
10275
|
+
"mb-3 text-3xl font-bold tracking-tight",
|
|
10276
|
+
headingClassName
|
|
10277
|
+
),
|
|
10278
|
+
children: heading
|
|
10279
|
+
}
|
|
10280
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
|
|
10281
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("leading-relaxed ", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
|
|
10282
|
+
] }),
|
|
10283
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
10284
|
+
Card,
|
|
10285
|
+
{
|
|
10286
|
+
className: cn(
|
|
10287
|
+
"grid gap-0 overflow-hidden lg:grid-cols-2",
|
|
10288
|
+
cardClassName
|
|
10289
|
+
),
|
|
10290
|
+
children: [
|
|
10291
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("p-6 lg:p-8", formPanelClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
10292
|
+
forms.Form,
|
|
10293
|
+
{
|
|
10294
|
+
form,
|
|
10295
|
+
action: formConfig?.endpoint,
|
|
10296
|
+
method: formMethod,
|
|
10297
|
+
className: cn("space-y-6", formClassName),
|
|
10298
|
+
children: [
|
|
10299
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 sm:grid-cols-2", children: [
|
|
10300
|
+
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "firstName", children: ({ field, meta }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
10301
|
+
/* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: "first-name", children: "First Name" }),
|
|
10302
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10303
|
+
inputs.TextInput,
|
|
10304
|
+
{
|
|
10305
|
+
...field,
|
|
10306
|
+
id: "first-name",
|
|
10307
|
+
placeholder: "John",
|
|
10308
|
+
error: meta.touched && !!meta.error,
|
|
10309
|
+
"aria-label": "First Name"
|
|
10310
|
+
}
|
|
10311
|
+
)
|
|
10312
|
+
] }) }),
|
|
10313
|
+
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "lastName", children: ({ field, meta }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
10314
|
+
/* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: "last-name", children: "Last Name" }),
|
|
10315
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10316
|
+
inputs.TextInput,
|
|
10317
|
+
{
|
|
10318
|
+
...field,
|
|
10319
|
+
id: "last-name",
|
|
10320
|
+
placeholder: "Doe",
|
|
10321
|
+
error: meta.touched && !!meta.error,
|
|
10322
|
+
"aria-label": "Last Name"
|
|
10323
|
+
}
|
|
10324
|
+
)
|
|
10325
|
+
] }) })
|
|
10326
|
+
] }),
|
|
10327
|
+
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "email", children: ({ field, meta }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
10328
|
+
/* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: "email", children: "Email Address" }),
|
|
10329
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10330
|
+
inputs.TextInput,
|
|
10331
|
+
{
|
|
10332
|
+
...field,
|
|
10333
|
+
id: "email",
|
|
10334
|
+
type: "email",
|
|
10335
|
+
placeholder: "john@example.com",
|
|
10336
|
+
error: meta.touched && !!meta.error,
|
|
10337
|
+
"aria-label": "Email Address"
|
|
10338
|
+
}
|
|
10339
|
+
)
|
|
10340
|
+
] }) }),
|
|
10341
|
+
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
10342
|
+
/* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
10343
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10344
|
+
inputs.TextArea,
|
|
10345
|
+
{
|
|
10346
|
+
...field,
|
|
10347
|
+
id: "message",
|
|
10348
|
+
placeholder: "Tell us how we can help...",
|
|
10349
|
+
rows: 4,
|
|
10350
|
+
error: meta.touched && !!meta.error,
|
|
10351
|
+
"aria-label": "Message"
|
|
10352
|
+
}
|
|
10353
|
+
)
|
|
10354
|
+
] }) }),
|
|
10355
|
+
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
10356
|
+
Pressable,
|
|
10280
10357
|
{
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
|
|
10358
|
+
componentType: "button",
|
|
10359
|
+
type: "submit",
|
|
10360
|
+
className: cn("w-full", submitClassName),
|
|
10361
|
+
asButton: true,
|
|
10362
|
+
disabled: form.isSubmitting,
|
|
10363
|
+
children: [
|
|
10364
|
+
buttonIcon,
|
|
10365
|
+
buttonText
|
|
10366
|
+
]
|
|
10286
10367
|
}
|
|
10287
10368
|
)
|
|
10288
|
-
]
|
|
10289
|
-
|
|
10290
|
-
|
|
10369
|
+
]
|
|
10370
|
+
}
|
|
10371
|
+
) }),
|
|
10372
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
10373
|
+
"div",
|
|
10374
|
+
{
|
|
10375
|
+
className: cn(
|
|
10376
|
+
"flex flex-col justify-between bg-primary p-6 text-primary-foreground lg:p-8",
|
|
10377
|
+
infoPanelClassName
|
|
10378
|
+
),
|
|
10379
|
+
children: [
|
|
10380
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
10381
|
+
contactHeading && (typeof contactHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-3 text-xl font-semibold", children: contactHeading }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3", children: contactHeading })),
|
|
10382
|
+
contactDescription && (typeof contactDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-8 text-sm text-primary-foreground/80", children: contactDescription }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-8", children: contactDescription })),
|
|
10383
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("space-y-4", contactOptionsClassName), children: contactOptionsContent })
|
|
10384
|
+
] }),
|
|
10291
10385
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10292
|
-
|
|
10386
|
+
"div",
|
|
10293
10387
|
{
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
|
|
10388
|
+
className: cn(
|
|
10389
|
+
"mt-8 flex items-center gap-4",
|
|
10390
|
+
socialLinksClassName
|
|
10391
|
+
),
|
|
10392
|
+
children: socialLinksContent
|
|
10299
10393
|
}
|
|
10300
10394
|
)
|
|
10301
|
-
]
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
{
|
|
10308
|
-
...field,
|
|
10309
|
-
id: "email",
|
|
10310
|
-
type: "email",
|
|
10311
|
-
placeholder: "john@example.com",
|
|
10312
|
-
error: meta.touched && !!meta.error,
|
|
10313
|
-
"aria-label": "Email Address"
|
|
10314
|
-
}
|
|
10315
|
-
)
|
|
10316
|
-
] }) }),
|
|
10317
|
-
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
10318
|
-
/* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
10319
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10320
|
-
TextArea,
|
|
10321
|
-
{
|
|
10322
|
-
...field,
|
|
10323
|
-
id: "message",
|
|
10324
|
-
placeholder: "Tell us how we can help...",
|
|
10325
|
-
rows: 4,
|
|
10326
|
-
error: meta.touched && !!meta.error,
|
|
10327
|
-
"aria-label": "Message"
|
|
10328
|
-
}
|
|
10329
|
-
)
|
|
10330
|
-
] }) }),
|
|
10331
|
-
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
10332
|
-
Pressable,
|
|
10333
|
-
{
|
|
10334
|
-
componentType: "button",
|
|
10335
|
-
type: "submit",
|
|
10336
|
-
className: cn("w-full", submitClassName),
|
|
10337
|
-
asButton: true,
|
|
10338
|
-
disabled: form.isSubmitting,
|
|
10339
|
-
children: [
|
|
10340
|
-
buttonIcon,
|
|
10341
|
-
buttonText
|
|
10342
|
-
]
|
|
10343
|
-
}
|
|
10344
|
-
)
|
|
10345
|
-
]
|
|
10346
|
-
}
|
|
10347
|
-
) }),
|
|
10348
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col justify-between bg-primary p-6 text-primary-foreground lg:p-8", infoPanelClassName), children: [
|
|
10349
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
10350
|
-
contactHeading && (typeof contactHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-3 text-xl font-semibold", children: contactHeading }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3", children: contactHeading })),
|
|
10351
|
-
contactDescription && (typeof contactDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-8 text-sm text-primary-foreground/80", children: contactDescription }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-8", children: contactDescription })),
|
|
10352
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("space-y-4", contactOptionsClassName), children: contactOptionsContent })
|
|
10353
|
-
] }),
|
|
10354
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mt-8 flex items-center gap-4", socialLinksClassName), children: socialLinksContent })
|
|
10355
|
-
] })
|
|
10356
|
-
] })
|
|
10395
|
+
]
|
|
10396
|
+
}
|
|
10397
|
+
)
|
|
10398
|
+
]
|
|
10399
|
+
}
|
|
10400
|
+
)
|
|
10357
10401
|
] })
|
|
10358
10402
|
}
|
|
10359
10403
|
);
|
|
@@ -11211,7 +11255,6 @@ function ContactFaq({
|
|
|
11211
11255
|
actions,
|
|
11212
11256
|
actionsSlot,
|
|
11213
11257
|
className,
|
|
11214
|
-
containerClassName,
|
|
11215
11258
|
headerClassName,
|
|
11216
11259
|
headingClassName,
|
|
11217
11260
|
descriptionClassName,
|
|
@@ -11220,10 +11263,11 @@ function ContactFaq({
|
|
|
11220
11263
|
formHeadingClassName,
|
|
11221
11264
|
formClassName,
|
|
11222
11265
|
submitClassName,
|
|
11223
|
-
background
|
|
11224
|
-
spacing = "
|
|
11266
|
+
background,
|
|
11267
|
+
spacing = "py-8 md:py-32",
|
|
11268
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
11225
11269
|
pattern,
|
|
11226
|
-
patternOpacity
|
|
11270
|
+
patternOpacity,
|
|
11227
11271
|
formConfig,
|
|
11228
11272
|
onSubmit,
|
|
11229
11273
|
onSuccess,
|
|
@@ -11280,7 +11324,14 @@ function ContactFaq({
|
|
|
11280
11324
|
if (actionsSlot) return actionsSlot;
|
|
11281
11325
|
if (actions && actions.length > 0) {
|
|
11282
11326
|
return actions.map((action, index) => {
|
|
11283
|
-
const {
|
|
11327
|
+
const {
|
|
11328
|
+
label,
|
|
11329
|
+
icon,
|
|
11330
|
+
iconAfter,
|
|
11331
|
+
children,
|
|
11332
|
+
className: actionClassName,
|
|
11333
|
+
...pressableProps
|
|
11334
|
+
} = action;
|
|
11284
11335
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
11285
11336
|
Pressable,
|
|
11286
11337
|
{
|
|
@@ -11306,14 +11357,42 @@ function ContactFaq({
|
|
|
11306
11357
|
spacing,
|
|
11307
11358
|
pattern,
|
|
11308
11359
|
patternOpacity,
|
|
11309
|
-
className
|
|
11310
|
-
|
|
11360
|
+
className,
|
|
11361
|
+
containerClassName,
|
|
11362
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
11311
11363
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mb-10 text-center", headerClassName), children: [
|
|
11312
|
-
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
11313
|
-
|
|
11364
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
11365
|
+
"h2",
|
|
11366
|
+
{
|
|
11367
|
+
className: cn(
|
|
11368
|
+
"mb-3 text-3xl font-bold tracking-tight text-balance",
|
|
11369
|
+
headingClassName
|
|
11370
|
+
),
|
|
11371
|
+
children: heading
|
|
11372
|
+
}
|
|
11373
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
|
|
11374
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
11375
|
+
"p",
|
|
11376
|
+
{
|
|
11377
|
+
className: cn(
|
|
11378
|
+
"leading-relaxed text-balance",
|
|
11379
|
+
descriptionClassName
|
|
11380
|
+
),
|
|
11381
|
+
children: description
|
|
11382
|
+
}
|
|
11383
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
|
|
11314
11384
|
] }),
|
|
11315
11385
|
/* @__PURE__ */ jsxRuntime.jsx(Card, { className: cn("mx-auto max-w-xl", cardClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: [
|
|
11316
|
-
formHeading && (typeof formHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
11386
|
+
formHeading && (typeof formHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
11387
|
+
"h3",
|
|
11388
|
+
{
|
|
11389
|
+
className: cn(
|
|
11390
|
+
"mb-6 text-xl font-semibold",
|
|
11391
|
+
formHeadingClassName
|
|
11392
|
+
),
|
|
11393
|
+
children: formHeading
|
|
11394
|
+
}
|
|
11395
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: formHeadingClassName, children: formHeading })),
|
|
11317
11396
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
11318
11397
|
forms.Form,
|
|
11319
11398
|
{
|
|
@@ -11326,7 +11405,7 @@ function ContactFaq({
|
|
|
11326
11405
|
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "name", children: ({ field, meta }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
11327
11406
|
/* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: "name", children: "Name" }),
|
|
11328
11407
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11329
|
-
TextInput,
|
|
11408
|
+
inputs.TextInput,
|
|
11330
11409
|
{
|
|
11331
11410
|
...field,
|
|
11332
11411
|
id: "name",
|
|
@@ -11339,7 +11418,7 @@ function ContactFaq({
|
|
|
11339
11418
|
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "email", children: ({ field, meta }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
11340
11419
|
/* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: "email", children: "Email" }),
|
|
11341
11420
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11342
|
-
TextInput,
|
|
11421
|
+
inputs.TextInput,
|
|
11343
11422
|
{
|
|
11344
11423
|
...field,
|
|
11345
11424
|
id: "email",
|
|
@@ -11354,7 +11433,7 @@ function ContactFaq({
|
|
|
11354
11433
|
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "subject", children: ({ field, meta }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
11355
11434
|
/* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: "subject", children: "Subject" }),
|
|
11356
11435
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11357
|
-
TextInput,
|
|
11436
|
+
inputs.TextInput,
|
|
11358
11437
|
{
|
|
11359
11438
|
...field,
|
|
11360
11439
|
id: "subject",
|
|
@@ -11367,7 +11446,7 @@ function ContactFaq({
|
|
|
11367
11446
|
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
11368
11447
|
/* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
11369
11448
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11370
|
-
TextArea,
|
|
11449
|
+
inputs.TextArea,
|
|
11371
11450
|
{
|
|
11372
11451
|
...field,
|
|
11373
11452
|
id: "message",
|
|
@@ -14004,7 +14083,6 @@ function ContactPhotography({
|
|
|
14004
14083
|
actions,
|
|
14005
14084
|
actionsSlot,
|
|
14006
14085
|
className,
|
|
14007
|
-
containerClassName,
|
|
14008
14086
|
headerClassName,
|
|
14009
14087
|
headingClassName,
|
|
14010
14088
|
descriptionClassName,
|
|
@@ -14012,10 +14090,11 @@ function ContactPhotography({
|
|
|
14012
14090
|
cardContentClassName,
|
|
14013
14091
|
formClassName,
|
|
14014
14092
|
submitClassName,
|
|
14015
|
-
background
|
|
14016
|
-
spacing = "
|
|
14093
|
+
background,
|
|
14094
|
+
spacing = "py-8 md:py-32",
|
|
14095
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
14017
14096
|
pattern,
|
|
14018
|
-
patternOpacity
|
|
14097
|
+
patternOpacity,
|
|
14019
14098
|
formConfig,
|
|
14020
14099
|
onSubmit,
|
|
14021
14100
|
onSuccess,
|
|
@@ -14074,12 +14153,28 @@ function ContactPhotography({
|
|
|
14074
14153
|
if (actionsSlot) return actionsSlot;
|
|
14075
14154
|
if (actions && actions.length > 0) {
|
|
14076
14155
|
return actions.map((action, index) => {
|
|
14077
|
-
const {
|
|
14078
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14079
|
-
icon,
|
|
14156
|
+
const {
|
|
14080
14157
|
label,
|
|
14081
|
-
|
|
14082
|
-
|
|
14158
|
+
icon,
|
|
14159
|
+
iconAfter,
|
|
14160
|
+
children,
|
|
14161
|
+
className: actionClassName,
|
|
14162
|
+
...pressableProps
|
|
14163
|
+
} = action;
|
|
14164
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
14165
|
+
Pressable,
|
|
14166
|
+
{
|
|
14167
|
+
asButton: true,
|
|
14168
|
+
className: actionClassName,
|
|
14169
|
+
...pressableProps,
|
|
14170
|
+
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14171
|
+
icon,
|
|
14172
|
+
label,
|
|
14173
|
+
iconAfter
|
|
14174
|
+
] })
|
|
14175
|
+
},
|
|
14176
|
+
index
|
|
14177
|
+
);
|
|
14083
14178
|
});
|
|
14084
14179
|
}
|
|
14085
14180
|
return null;
|
|
@@ -14091,11 +14186,30 @@ function ContactPhotography({
|
|
|
14091
14186
|
spacing,
|
|
14092
14187
|
pattern,
|
|
14093
14188
|
patternOpacity,
|
|
14094
|
-
className
|
|
14095
|
-
|
|
14189
|
+
className,
|
|
14190
|
+
containerClassName,
|
|
14191
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
14096
14192
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mb-10 text-center", headerClassName), children: [
|
|
14097
|
-
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
14098
|
-
|
|
14193
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
14194
|
+
"h2",
|
|
14195
|
+
{
|
|
14196
|
+
className: cn(
|
|
14197
|
+
"mb-3 text-3xl font-bold tracking-tight text-balance",
|
|
14198
|
+
headingClassName
|
|
14199
|
+
),
|
|
14200
|
+
children: heading
|
|
14201
|
+
}
|
|
14202
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
|
|
14203
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
14204
|
+
"p",
|
|
14205
|
+
{
|
|
14206
|
+
className: cn(
|
|
14207
|
+
"leading-relaxed text-balance",
|
|
14208
|
+
descriptionClassName
|
|
14209
|
+
),
|
|
14210
|
+
children: description
|
|
14211
|
+
}
|
|
14212
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
|
|
14099
14213
|
] }),
|
|
14100
14214
|
/* @__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(
|
|
14101
14215
|
forms.Form,
|
|
@@ -14109,7 +14223,7 @@ function ContactPhotography({
|
|
|
14109
14223
|
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "first_name", children: ({ field, meta }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
14110
14224
|
/* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: "first-name", children: "First Name" }),
|
|
14111
14225
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14112
|
-
TextInput,
|
|
14226
|
+
inputs.TextInput,
|
|
14113
14227
|
{
|
|
14114
14228
|
...field,
|
|
14115
14229
|
id: "first-name",
|
|
@@ -14122,7 +14236,7 @@ function ContactPhotography({
|
|
|
14122
14236
|
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "last_name", children: ({ field, meta }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
14123
14237
|
/* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: "last-name", children: "Last Name" }),
|
|
14124
14238
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14125
|
-
TextInput,
|
|
14239
|
+
inputs.TextInput,
|
|
14126
14240
|
{
|
|
14127
14241
|
...field,
|
|
14128
14242
|
id: "last-name",
|
|
@@ -14136,7 +14250,7 @@ function ContactPhotography({
|
|
|
14136
14250
|
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "email", children: ({ field, meta }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
14137
14251
|
/* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: "email", children: "Email" }),
|
|
14138
14252
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14139
|
-
TextInput,
|
|
14253
|
+
inputs.TextInput,
|
|
14140
14254
|
{
|
|
14141
14255
|
...field,
|
|
14142
14256
|
id: "email",
|
|
@@ -14150,7 +14264,7 @@ function ContactPhotography({
|
|
|
14150
14264
|
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "phone", children: ({ field, meta }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
14151
14265
|
/* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: "phone", children: "Phone" }),
|
|
14152
14266
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14153
|
-
TextInput,
|
|
14267
|
+
inputs.TextInput,
|
|
14154
14268
|
{
|
|
14155
14269
|
...field,
|
|
14156
14270
|
id: "phone",
|
|
@@ -14164,7 +14278,7 @@ function ContactPhotography({
|
|
|
14164
14278
|
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
14165
14279
|
/* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
14166
14280
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14167
|
-
TextArea,
|
|
14281
|
+
inputs.TextArea,
|
|
14168
14282
|
{
|
|
14169
14283
|
...field,
|
|
14170
14284
|
id: "message",
|
|
@@ -53217,10 +53331,10 @@ function HeroPremiumSplitAvatars({
|
|
|
53217
53331
|
image,
|
|
53218
53332
|
imageSlot,
|
|
53219
53333
|
background,
|
|
53220
|
-
spacing = "pt-28 pb-8 md:pt-32 md:pb-32",
|
|
53221
53334
|
pattern,
|
|
53222
53335
|
patternOpacity,
|
|
53223
53336
|
className,
|
|
53337
|
+
spacing = "pt-28 pb-8 md:pt-32 md:pb-32",
|
|
53224
53338
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
53225
53339
|
contentClassName,
|
|
53226
53340
|
headingClassName,
|