@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.js
CHANGED
|
@@ -10080,7 +10080,6 @@ function ContactDark({
|
|
|
10080
10080
|
socialLinks,
|
|
10081
10081
|
socialLinksSlot,
|
|
10082
10082
|
className,
|
|
10083
|
-
containerClassName,
|
|
10084
10083
|
headerClassName,
|
|
10085
10084
|
headingClassName,
|
|
10086
10085
|
descriptionClassName,
|
|
@@ -10091,10 +10090,11 @@ function ContactDark({
|
|
|
10091
10090
|
infoPanelClassName,
|
|
10092
10091
|
contactOptionsClassName,
|
|
10093
10092
|
socialLinksClassName,
|
|
10094
|
-
background
|
|
10095
|
-
spacing = "
|
|
10093
|
+
background,
|
|
10094
|
+
spacing = "py-8 md:py-32",
|
|
10095
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
10096
10096
|
pattern,
|
|
10097
|
-
patternOpacity
|
|
10097
|
+
patternOpacity,
|
|
10098
10098
|
formConfig,
|
|
10099
10099
|
onSubmit,
|
|
10100
10100
|
onSuccess,
|
|
@@ -10151,7 +10151,14 @@ function ContactDark({
|
|
|
10151
10151
|
if (actionsSlot) return actionsSlot;
|
|
10152
10152
|
if (actions && actions.length > 0) {
|
|
10153
10153
|
return actions.map((action, index) => {
|
|
10154
|
-
const {
|
|
10154
|
+
const {
|
|
10155
|
+
label,
|
|
10156
|
+
icon,
|
|
10157
|
+
iconAfter,
|
|
10158
|
+
children,
|
|
10159
|
+
className: actionClassName,
|
|
10160
|
+
...pressableProps
|
|
10161
|
+
} = action;
|
|
10155
10162
|
return /* @__PURE__ */ jsx(
|
|
10156
10163
|
Pressable,
|
|
10157
10164
|
{
|
|
@@ -10217,103 +10224,140 @@ function ContactDark({
|
|
|
10217
10224
|
spacing,
|
|
10218
10225
|
pattern,
|
|
10219
10226
|
patternOpacity,
|
|
10220
|
-
className
|
|
10221
|
-
|
|
10227
|
+
className,
|
|
10228
|
+
containerClassName,
|
|
10229
|
+
children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
10222
10230
|
/* @__PURE__ */ jsxs("div", { className: cn("mb-10 text-center", headerClassName), children: [
|
|
10223
|
-
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
10224
|
-
|
|
10225
|
-
] }),
|
|
10226
|
-
/* @__PURE__ */ jsxs(Card, { className: cn("grid gap-0 overflow-hidden lg:grid-cols-2", cardClassName), children: [
|
|
10227
|
-
/* @__PURE__ */ jsx("div", { className: cn("p-6 lg:p-8", formPanelClassName), children: /* @__PURE__ */ jsxs(
|
|
10228
|
-
Form,
|
|
10231
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
10232
|
+
"h2",
|
|
10229
10233
|
{
|
|
10230
|
-
|
|
10231
|
-
|
|
10232
|
-
|
|
10233
|
-
|
|
10234
|
-
children:
|
|
10235
|
-
|
|
10236
|
-
|
|
10237
|
-
|
|
10238
|
-
|
|
10239
|
-
|
|
10234
|
+
className: cn(
|
|
10235
|
+
"mb-3 text-3xl font-bold tracking-tight",
|
|
10236
|
+
headingClassName
|
|
10237
|
+
),
|
|
10238
|
+
children: heading
|
|
10239
|
+
}
|
|
10240
|
+
) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
|
|
10241
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-relaxed ", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
|
|
10242
|
+
] }),
|
|
10243
|
+
/* @__PURE__ */ jsxs(
|
|
10244
|
+
Card,
|
|
10245
|
+
{
|
|
10246
|
+
className: cn(
|
|
10247
|
+
"grid gap-0 overflow-hidden lg:grid-cols-2",
|
|
10248
|
+
cardClassName
|
|
10249
|
+
),
|
|
10250
|
+
children: [
|
|
10251
|
+
/* @__PURE__ */ jsx("div", { className: cn("p-6 lg:p-8", formPanelClassName), children: /* @__PURE__ */ jsxs(
|
|
10252
|
+
Form,
|
|
10253
|
+
{
|
|
10254
|
+
form,
|
|
10255
|
+
action: formConfig?.endpoint,
|
|
10256
|
+
method: formMethod,
|
|
10257
|
+
className: cn("space-y-6", formClassName),
|
|
10258
|
+
children: [
|
|
10259
|
+
/* @__PURE__ */ jsxs("div", { className: "grid gap-4 sm:grid-cols-2", children: [
|
|
10260
|
+
/* @__PURE__ */ jsx(Field, { name: "firstName", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
10261
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "first-name", children: "First Name" }),
|
|
10262
|
+
/* @__PURE__ */ jsx(
|
|
10263
|
+
TextInput$1,
|
|
10264
|
+
{
|
|
10265
|
+
...field,
|
|
10266
|
+
id: "first-name",
|
|
10267
|
+
placeholder: "John",
|
|
10268
|
+
error: meta.touched && !!meta.error,
|
|
10269
|
+
"aria-label": "First Name"
|
|
10270
|
+
}
|
|
10271
|
+
)
|
|
10272
|
+
] }) }),
|
|
10273
|
+
/* @__PURE__ */ jsx(Field, { name: "lastName", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
10274
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "last-name", children: "Last Name" }),
|
|
10275
|
+
/* @__PURE__ */ jsx(
|
|
10276
|
+
TextInput$1,
|
|
10277
|
+
{
|
|
10278
|
+
...field,
|
|
10279
|
+
id: "last-name",
|
|
10280
|
+
placeholder: "Doe",
|
|
10281
|
+
error: meta.touched && !!meta.error,
|
|
10282
|
+
"aria-label": "Last Name"
|
|
10283
|
+
}
|
|
10284
|
+
)
|
|
10285
|
+
] }) })
|
|
10286
|
+
] }),
|
|
10287
|
+
/* @__PURE__ */ jsx(Field, { name: "email", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
10288
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "email", children: "Email Address" }),
|
|
10289
|
+
/* @__PURE__ */ jsx(
|
|
10290
|
+
TextInput$1,
|
|
10291
|
+
{
|
|
10292
|
+
...field,
|
|
10293
|
+
id: "email",
|
|
10294
|
+
type: "email",
|
|
10295
|
+
placeholder: "john@example.com",
|
|
10296
|
+
error: meta.touched && !!meta.error,
|
|
10297
|
+
"aria-label": "Email Address"
|
|
10298
|
+
}
|
|
10299
|
+
)
|
|
10300
|
+
] }) }),
|
|
10301
|
+
/* @__PURE__ */ jsx(Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
10302
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
10303
|
+
/* @__PURE__ */ jsx(
|
|
10304
|
+
TextArea$1,
|
|
10305
|
+
{
|
|
10306
|
+
...field,
|
|
10307
|
+
id: "message",
|
|
10308
|
+
placeholder: "Tell us how we can help...",
|
|
10309
|
+
rows: 4,
|
|
10310
|
+
error: meta.touched && !!meta.error,
|
|
10311
|
+
"aria-label": "Message"
|
|
10312
|
+
}
|
|
10313
|
+
)
|
|
10314
|
+
] }) }),
|
|
10315
|
+
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxs(
|
|
10316
|
+
Pressable,
|
|
10240
10317
|
{
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10244
|
-
|
|
10245
|
-
|
|
10318
|
+
componentType: "button",
|
|
10319
|
+
type: "submit",
|
|
10320
|
+
className: cn("w-full", submitClassName),
|
|
10321
|
+
asButton: true,
|
|
10322
|
+
disabled: form.isSubmitting,
|
|
10323
|
+
children: [
|
|
10324
|
+
buttonIcon,
|
|
10325
|
+
buttonText
|
|
10326
|
+
]
|
|
10246
10327
|
}
|
|
10247
10328
|
)
|
|
10248
|
-
]
|
|
10249
|
-
|
|
10250
|
-
|
|
10329
|
+
]
|
|
10330
|
+
}
|
|
10331
|
+
) }),
|
|
10332
|
+
/* @__PURE__ */ jsxs(
|
|
10333
|
+
"div",
|
|
10334
|
+
{
|
|
10335
|
+
className: cn(
|
|
10336
|
+
"flex flex-col justify-between bg-primary p-6 text-primary-foreground lg:p-8",
|
|
10337
|
+
infoPanelClassName
|
|
10338
|
+
),
|
|
10339
|
+
children: [
|
|
10340
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
10341
|
+
contactHeading && (typeof contactHeading === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-3 text-xl font-semibold", children: contactHeading }) : /* @__PURE__ */ jsx("div", { className: "mb-3", children: contactHeading })),
|
|
10342
|
+
contactDescription && (typeof contactDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "mb-8 text-sm text-primary-foreground/80", children: contactDescription }) : /* @__PURE__ */ jsx("div", { className: "mb-8", children: contactDescription })),
|
|
10343
|
+
/* @__PURE__ */ jsx("div", { className: cn("space-y-4", contactOptionsClassName), children: contactOptionsContent })
|
|
10344
|
+
] }),
|
|
10251
10345
|
/* @__PURE__ */ jsx(
|
|
10252
|
-
|
|
10346
|
+
"div",
|
|
10253
10347
|
{
|
|
10254
|
-
|
|
10255
|
-
|
|
10256
|
-
|
|
10257
|
-
|
|
10258
|
-
|
|
10348
|
+
className: cn(
|
|
10349
|
+
"mt-8 flex items-center gap-4",
|
|
10350
|
+
socialLinksClassName
|
|
10351
|
+
),
|
|
10352
|
+
children: socialLinksContent
|
|
10259
10353
|
}
|
|
10260
10354
|
)
|
|
10261
|
-
]
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
{
|
|
10268
|
-
...field,
|
|
10269
|
-
id: "email",
|
|
10270
|
-
type: "email",
|
|
10271
|
-
placeholder: "john@example.com",
|
|
10272
|
-
error: meta.touched && !!meta.error,
|
|
10273
|
-
"aria-label": "Email Address"
|
|
10274
|
-
}
|
|
10275
|
-
)
|
|
10276
|
-
] }) }),
|
|
10277
|
-
/* @__PURE__ */ jsx(Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
10278
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
10279
|
-
/* @__PURE__ */ jsx(
|
|
10280
|
-
TextArea,
|
|
10281
|
-
{
|
|
10282
|
-
...field,
|
|
10283
|
-
id: "message",
|
|
10284
|
-
placeholder: "Tell us how we can help...",
|
|
10285
|
-
rows: 4,
|
|
10286
|
-
error: meta.touched && !!meta.error,
|
|
10287
|
-
"aria-label": "Message"
|
|
10288
|
-
}
|
|
10289
|
-
)
|
|
10290
|
-
] }) }),
|
|
10291
|
-
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxs(
|
|
10292
|
-
Pressable,
|
|
10293
|
-
{
|
|
10294
|
-
componentType: "button",
|
|
10295
|
-
type: "submit",
|
|
10296
|
-
className: cn("w-full", submitClassName),
|
|
10297
|
-
asButton: true,
|
|
10298
|
-
disabled: form.isSubmitting,
|
|
10299
|
-
children: [
|
|
10300
|
-
buttonIcon,
|
|
10301
|
-
buttonText
|
|
10302
|
-
]
|
|
10303
|
-
}
|
|
10304
|
-
)
|
|
10305
|
-
]
|
|
10306
|
-
}
|
|
10307
|
-
) }),
|
|
10308
|
-
/* @__PURE__ */ jsxs("div", { className: cn("flex flex-col justify-between bg-primary p-6 text-primary-foreground lg:p-8", infoPanelClassName), children: [
|
|
10309
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
10310
|
-
contactHeading && (typeof contactHeading === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-3 text-xl font-semibold", children: contactHeading }) : /* @__PURE__ */ jsx("div", { className: "mb-3", children: contactHeading })),
|
|
10311
|
-
contactDescription && (typeof contactDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "mb-8 text-sm text-primary-foreground/80", children: contactDescription }) : /* @__PURE__ */ jsx("div", { className: "mb-8", children: contactDescription })),
|
|
10312
|
-
/* @__PURE__ */ jsx("div", { className: cn("space-y-4", contactOptionsClassName), children: contactOptionsContent })
|
|
10313
|
-
] }),
|
|
10314
|
-
/* @__PURE__ */ jsx("div", { className: cn("mt-8 flex items-center gap-4", socialLinksClassName), children: socialLinksContent })
|
|
10315
|
-
] })
|
|
10316
|
-
] })
|
|
10355
|
+
]
|
|
10356
|
+
}
|
|
10357
|
+
)
|
|
10358
|
+
]
|
|
10359
|
+
}
|
|
10360
|
+
)
|
|
10317
10361
|
] })
|
|
10318
10362
|
}
|
|
10319
10363
|
);
|
|
@@ -11171,7 +11215,6 @@ function ContactFaq({
|
|
|
11171
11215
|
actions,
|
|
11172
11216
|
actionsSlot,
|
|
11173
11217
|
className,
|
|
11174
|
-
containerClassName,
|
|
11175
11218
|
headerClassName,
|
|
11176
11219
|
headingClassName,
|
|
11177
11220
|
descriptionClassName,
|
|
@@ -11180,10 +11223,11 @@ function ContactFaq({
|
|
|
11180
11223
|
formHeadingClassName,
|
|
11181
11224
|
formClassName,
|
|
11182
11225
|
submitClassName,
|
|
11183
|
-
background
|
|
11184
|
-
spacing = "
|
|
11226
|
+
background,
|
|
11227
|
+
spacing = "py-8 md:py-32",
|
|
11228
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
11185
11229
|
pattern,
|
|
11186
|
-
patternOpacity
|
|
11230
|
+
patternOpacity,
|
|
11187
11231
|
formConfig,
|
|
11188
11232
|
onSubmit,
|
|
11189
11233
|
onSuccess,
|
|
@@ -11240,7 +11284,14 @@ function ContactFaq({
|
|
|
11240
11284
|
if (actionsSlot) return actionsSlot;
|
|
11241
11285
|
if (actions && actions.length > 0) {
|
|
11242
11286
|
return actions.map((action, index) => {
|
|
11243
|
-
const {
|
|
11287
|
+
const {
|
|
11288
|
+
label,
|
|
11289
|
+
icon,
|
|
11290
|
+
iconAfter,
|
|
11291
|
+
children,
|
|
11292
|
+
className: actionClassName,
|
|
11293
|
+
...pressableProps
|
|
11294
|
+
} = action;
|
|
11244
11295
|
return /* @__PURE__ */ jsx(
|
|
11245
11296
|
Pressable,
|
|
11246
11297
|
{
|
|
@@ -11266,14 +11317,42 @@ function ContactFaq({
|
|
|
11266
11317
|
spacing,
|
|
11267
11318
|
pattern,
|
|
11268
11319
|
patternOpacity,
|
|
11269
|
-
className
|
|
11270
|
-
|
|
11320
|
+
className,
|
|
11321
|
+
containerClassName,
|
|
11322
|
+
children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
11271
11323
|
/* @__PURE__ */ jsxs("div", { className: cn("mb-10 text-center", headerClassName), children: [
|
|
11272
|
-
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
11273
|
-
|
|
11324
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
11325
|
+
"h2",
|
|
11326
|
+
{
|
|
11327
|
+
className: cn(
|
|
11328
|
+
"mb-3 text-3xl font-bold tracking-tight text-balance",
|
|
11329
|
+
headingClassName
|
|
11330
|
+
),
|
|
11331
|
+
children: heading
|
|
11332
|
+
}
|
|
11333
|
+
) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
|
|
11334
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
11335
|
+
"p",
|
|
11336
|
+
{
|
|
11337
|
+
className: cn(
|
|
11338
|
+
"leading-relaxed text-balance",
|
|
11339
|
+
descriptionClassName
|
|
11340
|
+
),
|
|
11341
|
+
children: description
|
|
11342
|
+
}
|
|
11343
|
+
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
|
|
11274
11344
|
] }),
|
|
11275
11345
|
/* @__PURE__ */ jsx(Card, { className: cn("mx-auto max-w-xl", cardClassName), children: /* @__PURE__ */ jsxs(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: [
|
|
11276
|
-
formHeading && (typeof formHeading === "string" ? /* @__PURE__ */ jsx(
|
|
11346
|
+
formHeading && (typeof formHeading === "string" ? /* @__PURE__ */ jsx(
|
|
11347
|
+
"h3",
|
|
11348
|
+
{
|
|
11349
|
+
className: cn(
|
|
11350
|
+
"mb-6 text-xl font-semibold",
|
|
11351
|
+
formHeadingClassName
|
|
11352
|
+
),
|
|
11353
|
+
children: formHeading
|
|
11354
|
+
}
|
|
11355
|
+
) : /* @__PURE__ */ jsx("div", { className: formHeadingClassName, children: formHeading })),
|
|
11277
11356
|
/* @__PURE__ */ jsxs(
|
|
11278
11357
|
Form,
|
|
11279
11358
|
{
|
|
@@ -11286,7 +11365,7 @@ function ContactFaq({
|
|
|
11286
11365
|
/* @__PURE__ */ jsx(Field, { name: "name", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11287
11366
|
/* @__PURE__ */ jsx(Label, { htmlFor: "name", children: "Name" }),
|
|
11288
11367
|
/* @__PURE__ */ jsx(
|
|
11289
|
-
TextInput,
|
|
11368
|
+
TextInput$1,
|
|
11290
11369
|
{
|
|
11291
11370
|
...field,
|
|
11292
11371
|
id: "name",
|
|
@@ -11299,7 +11378,7 @@ function ContactFaq({
|
|
|
11299
11378
|
/* @__PURE__ */ jsx(Field, { name: "email", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11300
11379
|
/* @__PURE__ */ jsx(Label, { htmlFor: "email", children: "Email" }),
|
|
11301
11380
|
/* @__PURE__ */ jsx(
|
|
11302
|
-
TextInput,
|
|
11381
|
+
TextInput$1,
|
|
11303
11382
|
{
|
|
11304
11383
|
...field,
|
|
11305
11384
|
id: "email",
|
|
@@ -11314,7 +11393,7 @@ function ContactFaq({
|
|
|
11314
11393
|
/* @__PURE__ */ jsx(Field, { name: "subject", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11315
11394
|
/* @__PURE__ */ jsx(Label, { htmlFor: "subject", children: "Subject" }),
|
|
11316
11395
|
/* @__PURE__ */ jsx(
|
|
11317
|
-
TextInput,
|
|
11396
|
+
TextInput$1,
|
|
11318
11397
|
{
|
|
11319
11398
|
...field,
|
|
11320
11399
|
id: "subject",
|
|
@@ -11327,7 +11406,7 @@ function ContactFaq({
|
|
|
11327
11406
|
/* @__PURE__ */ jsx(Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11328
11407
|
/* @__PURE__ */ jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
11329
11408
|
/* @__PURE__ */ jsx(
|
|
11330
|
-
TextArea,
|
|
11409
|
+
TextArea$1,
|
|
11331
11410
|
{
|
|
11332
11411
|
...field,
|
|
11333
11412
|
id: "message",
|
|
@@ -13964,7 +14043,6 @@ function ContactPhotography({
|
|
|
13964
14043
|
actions,
|
|
13965
14044
|
actionsSlot,
|
|
13966
14045
|
className,
|
|
13967
|
-
containerClassName,
|
|
13968
14046
|
headerClassName,
|
|
13969
14047
|
headingClassName,
|
|
13970
14048
|
descriptionClassName,
|
|
@@ -13972,10 +14050,11 @@ function ContactPhotography({
|
|
|
13972
14050
|
cardContentClassName,
|
|
13973
14051
|
formClassName,
|
|
13974
14052
|
submitClassName,
|
|
13975
|
-
background
|
|
13976
|
-
spacing = "
|
|
14053
|
+
background,
|
|
14054
|
+
spacing = "py-8 md:py-32",
|
|
14055
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
13977
14056
|
pattern,
|
|
13978
|
-
patternOpacity
|
|
14057
|
+
patternOpacity,
|
|
13979
14058
|
formConfig,
|
|
13980
14059
|
onSubmit,
|
|
13981
14060
|
onSuccess,
|
|
@@ -14034,12 +14113,28 @@ function ContactPhotography({
|
|
|
14034
14113
|
if (actionsSlot) return actionsSlot;
|
|
14035
14114
|
if (actions && actions.length > 0) {
|
|
14036
14115
|
return actions.map((action, index) => {
|
|
14037
|
-
const {
|
|
14038
|
-
return /* @__PURE__ */ jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
14039
|
-
icon,
|
|
14116
|
+
const {
|
|
14040
14117
|
label,
|
|
14041
|
-
|
|
14042
|
-
|
|
14118
|
+
icon,
|
|
14119
|
+
iconAfter,
|
|
14120
|
+
children,
|
|
14121
|
+
className: actionClassName,
|
|
14122
|
+
...pressableProps
|
|
14123
|
+
} = action;
|
|
14124
|
+
return /* @__PURE__ */ jsx(
|
|
14125
|
+
Pressable,
|
|
14126
|
+
{
|
|
14127
|
+
asButton: true,
|
|
14128
|
+
className: actionClassName,
|
|
14129
|
+
...pressableProps,
|
|
14130
|
+
children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
14131
|
+
icon,
|
|
14132
|
+
label,
|
|
14133
|
+
iconAfter
|
|
14134
|
+
] })
|
|
14135
|
+
},
|
|
14136
|
+
index
|
|
14137
|
+
);
|
|
14043
14138
|
});
|
|
14044
14139
|
}
|
|
14045
14140
|
return null;
|
|
@@ -14051,11 +14146,30 @@ function ContactPhotography({
|
|
|
14051
14146
|
spacing,
|
|
14052
14147
|
pattern,
|
|
14053
14148
|
patternOpacity,
|
|
14054
|
-
className
|
|
14055
|
-
|
|
14149
|
+
className,
|
|
14150
|
+
containerClassName,
|
|
14151
|
+
children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
14056
14152
|
/* @__PURE__ */ jsxs("div", { className: cn("mb-10 text-center", headerClassName), children: [
|
|
14057
|
-
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
14058
|
-
|
|
14153
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
14154
|
+
"h2",
|
|
14155
|
+
{
|
|
14156
|
+
className: cn(
|
|
14157
|
+
"mb-3 text-3xl font-bold tracking-tight text-balance",
|
|
14158
|
+
headingClassName
|
|
14159
|
+
),
|
|
14160
|
+
children: heading
|
|
14161
|
+
}
|
|
14162
|
+
) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
|
|
14163
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
14164
|
+
"p",
|
|
14165
|
+
{
|
|
14166
|
+
className: cn(
|
|
14167
|
+
"leading-relaxed text-balance",
|
|
14168
|
+
descriptionClassName
|
|
14169
|
+
),
|
|
14170
|
+
children: description
|
|
14171
|
+
}
|
|
14172
|
+
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
|
|
14059
14173
|
] }),
|
|
14060
14174
|
/* @__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(
|
|
14061
14175
|
Form,
|
|
@@ -14069,7 +14183,7 @@ function ContactPhotography({
|
|
|
14069
14183
|
/* @__PURE__ */ jsx(Field, { name: "first_name", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14070
14184
|
/* @__PURE__ */ jsx(Label, { htmlFor: "first-name", children: "First Name" }),
|
|
14071
14185
|
/* @__PURE__ */ jsx(
|
|
14072
|
-
TextInput,
|
|
14186
|
+
TextInput$1,
|
|
14073
14187
|
{
|
|
14074
14188
|
...field,
|
|
14075
14189
|
id: "first-name",
|
|
@@ -14082,7 +14196,7 @@ function ContactPhotography({
|
|
|
14082
14196
|
/* @__PURE__ */ jsx(Field, { name: "last_name", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14083
14197
|
/* @__PURE__ */ jsx(Label, { htmlFor: "last-name", children: "Last Name" }),
|
|
14084
14198
|
/* @__PURE__ */ jsx(
|
|
14085
|
-
TextInput,
|
|
14199
|
+
TextInput$1,
|
|
14086
14200
|
{
|
|
14087
14201
|
...field,
|
|
14088
14202
|
id: "last-name",
|
|
@@ -14096,7 +14210,7 @@ function ContactPhotography({
|
|
|
14096
14210
|
/* @__PURE__ */ jsx(Field, { name: "email", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14097
14211
|
/* @__PURE__ */ jsx(Label, { htmlFor: "email", children: "Email" }),
|
|
14098
14212
|
/* @__PURE__ */ jsx(
|
|
14099
|
-
TextInput,
|
|
14213
|
+
TextInput$1,
|
|
14100
14214
|
{
|
|
14101
14215
|
...field,
|
|
14102
14216
|
id: "email",
|
|
@@ -14110,7 +14224,7 @@ function ContactPhotography({
|
|
|
14110
14224
|
/* @__PURE__ */ jsx(Field, { name: "phone", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14111
14225
|
/* @__PURE__ */ jsx(Label, { htmlFor: "phone", children: "Phone" }),
|
|
14112
14226
|
/* @__PURE__ */ jsx(
|
|
14113
|
-
TextInput,
|
|
14227
|
+
TextInput$1,
|
|
14114
14228
|
{
|
|
14115
14229
|
...field,
|
|
14116
14230
|
id: "phone",
|
|
@@ -14124,7 +14238,7 @@ function ContactPhotography({
|
|
|
14124
14238
|
/* @__PURE__ */ jsx(Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14125
14239
|
/* @__PURE__ */ jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
14126
14240
|
/* @__PURE__ */ jsx(
|
|
14127
|
-
TextArea,
|
|
14241
|
+
TextArea$1,
|
|
14128
14242
|
{
|
|
14129
14243
|
...field,
|
|
14130
14244
|
id: "message",
|
|
@@ -53177,10 +53291,10 @@ function HeroPremiumSplitAvatars({
|
|
|
53177
53291
|
image,
|
|
53178
53292
|
imageSlot,
|
|
53179
53293
|
background,
|
|
53180
|
-
spacing = "pt-28 pb-8 md:pt-32 md:pb-32",
|
|
53181
53294
|
pattern,
|
|
53182
53295
|
patternOpacity,
|
|
53183
53296
|
className,
|
|
53297
|
+
spacing = "pt-28 pb-8 md:pt-32 md:pb-32",
|
|
53184
53298
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
53185
53299
|
contentClassName,
|
|
53186
53300
|
headingClassName,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensite/ui",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"description": "Foundational UI component library for OpenSite Semantic Site Builder with tree-shakable exports and abstract styling",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -3369,10 +3369,10 @@
|
|
|
3369
3369
|
},
|
|
3370
3370
|
"dependencies": {
|
|
3371
3371
|
"@opensite/hooks": "2.0.6",
|
|
3372
|
-
"@page-speed/forms": "0.3.
|
|
3373
|
-
"@page-speed/img": "0.4.
|
|
3372
|
+
"@page-speed/forms": "0.3.6",
|
|
3373
|
+
"@page-speed/img": "0.4.5",
|
|
3374
3374
|
"@page-speed/lightbox": "0.2.1",
|
|
3375
|
-
"@page-speed/pdf-viewer": "0.1.
|
|
3375
|
+
"@page-speed/pdf-viewer": "0.1.9",
|
|
3376
3376
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
3377
3377
|
"@radix-ui/react-aspect-ratio": "^1.1.8",
|
|
3378
3378
|
"@radix-ui/react-avatar": "^1.1.11",
|