@opensite/ui 2.2.3 → 2.2.5
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/about-culture-tabs.cjs +83 -17
- package/dist/about-culture-tabs.js +83 -17
- package/dist/components.cjs +83 -17
- package/dist/components.js +83 -17
- package/dist/contact-callback.cjs +38 -552
- package/dist/contact-callback.d.cts +6 -74
- package/dist/contact-callback.d.ts +6 -74
- package/dist/contact-callback.js +36 -535
- package/dist/contact-careers.cjs +19 -555
- package/dist/contact-careers.d.cts +6 -62
- package/dist/contact-careers.d.ts +6 -62
- package/dist/contact-careers.js +18 -539
- package/dist/contact-catering.cjs +19 -531
- package/dist/contact-catering.d.cts +6 -61
- package/dist/contact-catering.d.ts +6 -61
- package/dist/contact-catering.js +18 -515
- package/dist/contact-consultation.cjs +87 -543
- package/dist/contact-consultation.d.cts +6 -61
- package/dist/contact-consultation.d.ts +6 -61
- package/dist/contact-consultation.js +88 -544
- package/dist/contact-demo.cjs +20 -563
- package/dist/contact-demo.d.cts +10 -50
- package/dist/contact-demo.d.ts +10 -50
- package/dist/contact-demo.js +19 -547
- package/dist/contact-emergency.cjs +1 -1
- package/dist/contact-emergency.js +1 -1
- package/dist/contact-event.cjs +19 -562
- package/dist/contact-event.d.cts +10 -50
- package/dist/contact-event.d.ts +10 -50
- package/dist/contact-event.js +19 -547
- package/dist/contact-feedback.cjs +19 -562
- package/dist/contact-feedback.d.cts +10 -50
- package/dist/contact-feedback.d.ts +10 -50
- package/dist/contact-feedback.js +19 -547
- package/dist/contact-fitness.cjs +19 -562
- package/dist/contact-fitness.d.cts +10 -50
- package/dist/contact-fitness.d.ts +10 -50
- package/dist/contact-fitness.js +19 -547
- package/dist/contact-guest.cjs +19 -562
- package/dist/contact-guest.d.cts +10 -50
- package/dist/contact-guest.d.ts +10 -50
- package/dist/contact-guest.js +19 -547
- package/dist/contact-insurance.cjs +19 -562
- package/dist/contact-insurance.d.cts +10 -50
- package/dist/contact-insurance.d.ts +10 -50
- package/dist/contact-insurance.js +19 -547
- package/dist/contact-interview.cjs +19 -562
- package/dist/contact-interview.d.cts +11 -51
- package/dist/contact-interview.d.ts +11 -51
- package/dist/contact-interview.js +19 -547
- package/dist/contact-locations.cjs +19 -562
- package/dist/contact-locations.d.cts +11 -51
- package/dist/contact-locations.d.ts +11 -51
- package/dist/contact-locations.js +19 -547
- package/dist/contact-maintenance.cjs +19 -562
- package/dist/contact-maintenance.d.cts +10 -50
- package/dist/contact-maintenance.d.ts +10 -50
- package/dist/contact-maintenance.js +19 -547
- package/dist/contact-map.cjs +19 -562
- package/dist/contact-map.d.cts +11 -51
- package/dist/contact-map.d.ts +11 -51
- package/dist/contact-map.js +19 -547
- package/dist/contact-minimal.cjs +19 -562
- package/dist/contact-minimal.d.cts +10 -50
- package/dist/contact-minimal.d.ts +10 -50
- package/dist/contact-minimal.js +19 -547
- package/dist/contact-moving.cjs +19 -562
- package/dist/contact-moving.d.cts +11 -51
- package/dist/contact-moving.d.ts +11 -51
- package/dist/contact-moving.js +19 -547
- package/dist/contact-multistep.cjs +19 -562
- package/dist/contact-multistep.d.cts +11 -51
- package/dist/contact-multistep.d.ts +11 -51
- package/dist/contact-multistep.js +19 -547
- package/dist/contact-partnership.cjs +22 -565
- package/dist/contact-partnership.d.cts +10 -50
- package/dist/contact-partnership.d.ts +10 -50
- package/dist/contact-partnership.js +22 -550
- package/dist/contact-photography.cjs +19 -562
- package/dist/contact-photography.d.cts +7 -50
- package/dist/contact-photography.d.ts +7 -50
- package/dist/contact-photography.js +18 -546
- package/dist/contact-press.cjs +19 -562
- package/dist/contact-press.d.cts +10 -50
- package/dist/contact-press.d.ts +10 -50
- package/dist/contact-press.js +19 -547
- package/dist/contact-quote.cjs +19 -562
- package/dist/contact-quote.d.cts +11 -51
- package/dist/contact-quote.d.ts +11 -51
- package/dist/contact-quote.js +19 -547
- package/dist/contact-referral.cjs +19 -562
- package/dist/contact-referral.d.cts +10 -50
- package/dist/contact-referral.d.ts +10 -50
- package/dist/contact-referral.js +19 -547
- package/dist/contact-report.cjs +19 -562
- package/dist/contact-report.d.cts +10 -50
- package/dist/contact-report.d.ts +10 -50
- package/dist/contact-report.js +19 -547
- package/dist/contact-reservation.cjs +19 -562
- package/dist/contact-reservation.d.cts +10 -50
- package/dist/contact-reservation.d.ts +10 -50
- package/dist/contact-reservation.js +19 -547
- package/dist/contact-retreat.cjs +88 -567
- package/dist/contact-retreat.d.cts +11 -51
- package/dist/contact-retreat.d.ts +11 -51
- package/dist/contact-retreat.js +90 -569
- package/dist/contact-rsvp.cjs +19 -562
- package/dist/contact-rsvp.d.cts +11 -51
- package/dist/contact-rsvp.d.ts +11 -51
- package/dist/contact-rsvp.js +19 -547
- package/dist/contact-sales.cjs +19 -562
- package/dist/contact-sales.d.cts +10 -50
- package/dist/contact-sales.d.ts +10 -50
- package/dist/contact-sales.js +19 -547
- package/dist/contact-schedule.cjs +19 -562
- package/dist/contact-schedule.d.cts +11 -51
- package/dist/contact-schedule.d.ts +11 -51
- package/dist/contact-schedule.js +19 -547
- package/dist/contact-sponsorship.cjs +19 -562
- package/dist/contact-sponsorship.d.cts +11 -51
- package/dist/contact-sponsorship.d.ts +11 -51
- package/dist/contact-sponsorship.js +19 -547
- package/dist/contact-support.cjs +19 -562
- package/dist/contact-support.d.cts +11 -51
- package/dist/contact-support.d.ts +11 -51
- package/dist/contact-support.js +19 -547
- package/dist/contact-tenant.cjs +19 -562
- package/dist/contact-tenant.d.cts +11 -51
- package/dist/contact-tenant.d.ts +11 -51
- package/dist/contact-tenant.js +19 -547
- package/dist/contact-volunteer.cjs +19 -562
- package/dist/contact-volunteer.d.cts +11 -51
- package/dist/contact-volunteer.d.ts +11 -51
- package/dist/contact-volunteer.js +19 -547
- package/dist/contact-warranty.cjs +19 -562
- package/dist/contact-warranty.d.cts +10 -50
- package/dist/contact-warranty.d.ts +10 -50
- package/dist/contact-warranty.js +19 -547
- package/dist/contact-wedding.cjs +19 -562
- package/dist/contact-wedding.d.cts +10 -50
- package/dist/contact-wedding.d.ts +10 -50
- package/dist/contact-wedding.js +19 -547
- package/dist/hero-presentation-platform-video.cjs +76 -27
- package/dist/hero-presentation-platform-video.js +76 -27
- package/dist/index.cjs +83 -17
- package/dist/index.js +83 -17
- package/dist/registry.cjs +768 -4196
- package/dist/registry.js +769 -4197
- package/package.json +12 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { FormEngineProps } from '@page-speed/forms/integration';
|
|
3
3
|
import { f as SectionBackground, t as PatternName, g as SectionSpacing } from './community-initiatives-Bz_A5vLU.cjs';
|
|
4
|
-
import {
|
|
4
|
+
import { O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'class-variance-authority';
|
|
7
7
|
import './button-variants-lRElsmTc.cjs';
|
|
@@ -16,24 +16,6 @@ interface ContactPhotographyProps {
|
|
|
16
16
|
heading?: React.ReactNode;
|
|
17
17
|
/** Description text below heading */
|
|
18
18
|
description?: React.ReactNode;
|
|
19
|
-
/** Submit button text */
|
|
20
|
-
buttonText?: string;
|
|
21
|
-
/** Icon to display in submit button */
|
|
22
|
-
buttonIcon?: React.ReactNode;
|
|
23
|
-
/** Array of action configurations for custom buttons */
|
|
24
|
-
actions?: ActionConfig[];
|
|
25
|
-
/** Custom slot for rendering actions (overrides actions array) */
|
|
26
|
-
actionsSlot?: React.ReactNode;
|
|
27
|
-
/**
|
|
28
|
-
* Array of form field configurations
|
|
29
|
-
* If not provided, defaults to: first_name, last_name, email, phone, message
|
|
30
|
-
*/
|
|
31
|
-
formFields?: FormFieldConfig[];
|
|
32
|
-
/**
|
|
33
|
-
* Success message to display after form submission
|
|
34
|
-
* @default "Thank you! Your message has been sent successfully."
|
|
35
|
-
*/
|
|
36
|
-
successMessage?: React.ReactNode;
|
|
37
19
|
/**
|
|
38
20
|
* Additional CSS classes for the container
|
|
39
21
|
*/
|
|
@@ -46,14 +28,6 @@ interface ContactPhotographyProps {
|
|
|
46
28
|
descriptionClassName?: string;
|
|
47
29
|
/** Additional CSS classes for the content area */
|
|
48
30
|
contentClassName?: string;
|
|
49
|
-
/** Additional CSS classes for the form */
|
|
50
|
-
formClassName?: string;
|
|
51
|
-
/** Additional CSS classes for the submit button */
|
|
52
|
-
submitClassName?: string;
|
|
53
|
-
/** Additional CSS classes for the success message */
|
|
54
|
-
successMessageClassName?: string;
|
|
55
|
-
/** Additional CSS classes for the error message */
|
|
56
|
-
errorMessageClassName?: string;
|
|
57
31
|
/** Section background variant */
|
|
58
32
|
background?: SectionBackground;
|
|
59
33
|
/** Pattern background key or URL */
|
|
@@ -77,14 +51,10 @@ interface ContactPhotographyProps {
|
|
|
77
51
|
* @default { desktop: 'mediaRight', mobile: 'mediaTop' }
|
|
78
52
|
*/
|
|
79
53
|
directionConfig?: DirectionConfig;
|
|
80
|
-
/**
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
/** Success callback */
|
|
85
|
-
onSuccess?: (data: unknown) => void;
|
|
86
|
-
/** Error callback */
|
|
87
|
-
onError?: (error: Error) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Full form engine setup and props
|
|
56
|
+
*/
|
|
57
|
+
formEngineSetup?: FormEngineProps;
|
|
88
58
|
}
|
|
89
59
|
/**
|
|
90
60
|
* ContactPhotography - A full-width split-screen contact form section with edge-to-edge design,
|
|
@@ -94,20 +64,7 @@ interface ContactPhotographyProps {
|
|
|
94
64
|
* configurable media placement for desktop and mobile.
|
|
95
65
|
* Key features: Pattern background support, edge-to-edge design, no card wrapping.
|
|
96
66
|
* Best for: Photography studios, creative services, visual-first contact pages.
|
|
97
|
-
*
|
|
98
|
-
* @example
|
|
99
|
-
* ```tsx
|
|
100
|
-
* <ContactPhotography
|
|
101
|
-
* heading="Photography Services"
|
|
102
|
-
* description="Book a photography session with us"
|
|
103
|
-
* buttonText="Send Message"
|
|
104
|
-
* imageSrc="/studio.jpg"
|
|
105
|
-
* background="dark"
|
|
106
|
-
* pattern="grid"
|
|
107
|
-
* formConfig={{ endpoint: "/api/contact", format: "json" }}
|
|
108
|
-
* />
|
|
109
|
-
* ```
|
|
110
67
|
*/
|
|
111
|
-
declare function ContactPhotography({ heading, description,
|
|
68
|
+
declare function ContactPhotography({ heading, description, containerClassName, className, headingClassName, descriptionClassName, contentClassName, spacing, background, pattern, patternOpacity, imageSrc, imageAlt, imageClassName, optixFlowConfig, directionConfig, formEngineSetup, }: ContactPhotographyProps): React.JSX.Element;
|
|
112
69
|
|
|
113
70
|
export { ContactPhotography, type ContactPhotographyProps, type DirectionConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { FormEngineProps } from '@page-speed/forms/integration';
|
|
3
3
|
import { f as SectionBackground, t as PatternName, g as SectionSpacing } from './community-initiatives-Bi_ClKrO.js';
|
|
4
|
-
import {
|
|
4
|
+
import { O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'class-variance-authority';
|
|
7
7
|
import './button-variants-lRElsmTc.js';
|
|
@@ -16,24 +16,6 @@ interface ContactPhotographyProps {
|
|
|
16
16
|
heading?: React.ReactNode;
|
|
17
17
|
/** Description text below heading */
|
|
18
18
|
description?: React.ReactNode;
|
|
19
|
-
/** Submit button text */
|
|
20
|
-
buttonText?: string;
|
|
21
|
-
/** Icon to display in submit button */
|
|
22
|
-
buttonIcon?: React.ReactNode;
|
|
23
|
-
/** Array of action configurations for custom buttons */
|
|
24
|
-
actions?: ActionConfig[];
|
|
25
|
-
/** Custom slot for rendering actions (overrides actions array) */
|
|
26
|
-
actionsSlot?: React.ReactNode;
|
|
27
|
-
/**
|
|
28
|
-
* Array of form field configurations
|
|
29
|
-
* If not provided, defaults to: first_name, last_name, email, phone, message
|
|
30
|
-
*/
|
|
31
|
-
formFields?: FormFieldConfig[];
|
|
32
|
-
/**
|
|
33
|
-
* Success message to display after form submission
|
|
34
|
-
* @default "Thank you! Your message has been sent successfully."
|
|
35
|
-
*/
|
|
36
|
-
successMessage?: React.ReactNode;
|
|
37
19
|
/**
|
|
38
20
|
* Additional CSS classes for the container
|
|
39
21
|
*/
|
|
@@ -46,14 +28,6 @@ interface ContactPhotographyProps {
|
|
|
46
28
|
descriptionClassName?: string;
|
|
47
29
|
/** Additional CSS classes for the content area */
|
|
48
30
|
contentClassName?: string;
|
|
49
|
-
/** Additional CSS classes for the form */
|
|
50
|
-
formClassName?: string;
|
|
51
|
-
/** Additional CSS classes for the submit button */
|
|
52
|
-
submitClassName?: string;
|
|
53
|
-
/** Additional CSS classes for the success message */
|
|
54
|
-
successMessageClassName?: string;
|
|
55
|
-
/** Additional CSS classes for the error message */
|
|
56
|
-
errorMessageClassName?: string;
|
|
57
31
|
/** Section background variant */
|
|
58
32
|
background?: SectionBackground;
|
|
59
33
|
/** Pattern background key or URL */
|
|
@@ -77,14 +51,10 @@ interface ContactPhotographyProps {
|
|
|
77
51
|
* @default { desktop: 'mediaRight', mobile: 'mediaTop' }
|
|
78
52
|
*/
|
|
79
53
|
directionConfig?: DirectionConfig;
|
|
80
|
-
/**
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
/** Success callback */
|
|
85
|
-
onSuccess?: (data: unknown) => void;
|
|
86
|
-
/** Error callback */
|
|
87
|
-
onError?: (error: Error) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Full form engine setup and props
|
|
56
|
+
*/
|
|
57
|
+
formEngineSetup?: FormEngineProps;
|
|
88
58
|
}
|
|
89
59
|
/**
|
|
90
60
|
* ContactPhotography - A full-width split-screen contact form section with edge-to-edge design,
|
|
@@ -94,20 +64,7 @@ interface ContactPhotographyProps {
|
|
|
94
64
|
* configurable media placement for desktop and mobile.
|
|
95
65
|
* Key features: Pattern background support, edge-to-edge design, no card wrapping.
|
|
96
66
|
* Best for: Photography studios, creative services, visual-first contact pages.
|
|
97
|
-
*
|
|
98
|
-
* @example
|
|
99
|
-
* ```tsx
|
|
100
|
-
* <ContactPhotography
|
|
101
|
-
* heading="Photography Services"
|
|
102
|
-
* description="Book a photography session with us"
|
|
103
|
-
* buttonText="Send Message"
|
|
104
|
-
* imageSrc="/studio.jpg"
|
|
105
|
-
* background="dark"
|
|
106
|
-
* pattern="grid"
|
|
107
|
-
* formConfig={{ endpoint: "/api/contact", format: "json" }}
|
|
108
|
-
* />
|
|
109
|
-
* ```
|
|
110
67
|
*/
|
|
111
|
-
declare function ContactPhotography({ heading, description,
|
|
68
|
+
declare function ContactPhotography({ heading, description, containerClassName, className, headingClassName, descriptionClassName, contentClassName, spacing, background, pattern, patternOpacity, imageSrc, imageAlt, imageClassName, optixFlowConfig, directionConfig, formEngineSetup, }: ContactPhotographyProps): React.JSX.Element;
|
|
112
69
|
|
|
113
70
|
export { ContactPhotography, type ContactPhotographyProps, type DirectionConfig };
|