@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.
Files changed (149) hide show
  1. package/dist/about-culture-tabs.cjs +83 -17
  2. package/dist/about-culture-tabs.js +83 -17
  3. package/dist/components.cjs +83 -17
  4. package/dist/components.js +83 -17
  5. package/dist/contact-callback.cjs +38 -552
  6. package/dist/contact-callback.d.cts +6 -74
  7. package/dist/contact-callback.d.ts +6 -74
  8. package/dist/contact-callback.js +36 -535
  9. package/dist/contact-careers.cjs +19 -555
  10. package/dist/contact-careers.d.cts +6 -62
  11. package/dist/contact-careers.d.ts +6 -62
  12. package/dist/contact-careers.js +18 -539
  13. package/dist/contact-catering.cjs +19 -531
  14. package/dist/contact-catering.d.cts +6 -61
  15. package/dist/contact-catering.d.ts +6 -61
  16. package/dist/contact-catering.js +18 -515
  17. package/dist/contact-consultation.cjs +87 -543
  18. package/dist/contact-consultation.d.cts +6 -61
  19. package/dist/contact-consultation.d.ts +6 -61
  20. package/dist/contact-consultation.js +88 -544
  21. package/dist/contact-demo.cjs +20 -563
  22. package/dist/contact-demo.d.cts +10 -50
  23. package/dist/contact-demo.d.ts +10 -50
  24. package/dist/contact-demo.js +19 -547
  25. package/dist/contact-emergency.cjs +1 -1
  26. package/dist/contact-emergency.js +1 -1
  27. package/dist/contact-event.cjs +19 -562
  28. package/dist/contact-event.d.cts +10 -50
  29. package/dist/contact-event.d.ts +10 -50
  30. package/dist/contact-event.js +19 -547
  31. package/dist/contact-feedback.cjs +19 -562
  32. package/dist/contact-feedback.d.cts +10 -50
  33. package/dist/contact-feedback.d.ts +10 -50
  34. package/dist/contact-feedback.js +19 -547
  35. package/dist/contact-fitness.cjs +19 -562
  36. package/dist/contact-fitness.d.cts +10 -50
  37. package/dist/contact-fitness.d.ts +10 -50
  38. package/dist/contact-fitness.js +19 -547
  39. package/dist/contact-guest.cjs +19 -562
  40. package/dist/contact-guest.d.cts +10 -50
  41. package/dist/contact-guest.d.ts +10 -50
  42. package/dist/contact-guest.js +19 -547
  43. package/dist/contact-insurance.cjs +19 -562
  44. package/dist/contact-insurance.d.cts +10 -50
  45. package/dist/contact-insurance.d.ts +10 -50
  46. package/dist/contact-insurance.js +19 -547
  47. package/dist/contact-interview.cjs +19 -562
  48. package/dist/contact-interview.d.cts +11 -51
  49. package/dist/contact-interview.d.ts +11 -51
  50. package/dist/contact-interview.js +19 -547
  51. package/dist/contact-locations.cjs +19 -562
  52. package/dist/contact-locations.d.cts +11 -51
  53. package/dist/contact-locations.d.ts +11 -51
  54. package/dist/contact-locations.js +19 -547
  55. package/dist/contact-maintenance.cjs +19 -562
  56. package/dist/contact-maintenance.d.cts +10 -50
  57. package/dist/contact-maintenance.d.ts +10 -50
  58. package/dist/contact-maintenance.js +19 -547
  59. package/dist/contact-map.cjs +19 -562
  60. package/dist/contact-map.d.cts +11 -51
  61. package/dist/contact-map.d.ts +11 -51
  62. package/dist/contact-map.js +19 -547
  63. package/dist/contact-minimal.cjs +19 -562
  64. package/dist/contact-minimal.d.cts +10 -50
  65. package/dist/contact-minimal.d.ts +10 -50
  66. package/dist/contact-minimal.js +19 -547
  67. package/dist/contact-moving.cjs +19 -562
  68. package/dist/contact-moving.d.cts +11 -51
  69. package/dist/contact-moving.d.ts +11 -51
  70. package/dist/contact-moving.js +19 -547
  71. package/dist/contact-multistep.cjs +19 -562
  72. package/dist/contact-multistep.d.cts +11 -51
  73. package/dist/contact-multistep.d.ts +11 -51
  74. package/dist/contact-multistep.js +19 -547
  75. package/dist/contact-partnership.cjs +22 -565
  76. package/dist/contact-partnership.d.cts +10 -50
  77. package/dist/contact-partnership.d.ts +10 -50
  78. package/dist/contact-partnership.js +22 -550
  79. package/dist/contact-photography.cjs +19 -562
  80. package/dist/contact-photography.d.cts +7 -50
  81. package/dist/contact-photography.d.ts +7 -50
  82. package/dist/contact-photography.js +18 -546
  83. package/dist/contact-press.cjs +19 -562
  84. package/dist/contact-press.d.cts +10 -50
  85. package/dist/contact-press.d.ts +10 -50
  86. package/dist/contact-press.js +19 -547
  87. package/dist/contact-quote.cjs +19 -562
  88. package/dist/contact-quote.d.cts +11 -51
  89. package/dist/contact-quote.d.ts +11 -51
  90. package/dist/contact-quote.js +19 -547
  91. package/dist/contact-referral.cjs +19 -562
  92. package/dist/contact-referral.d.cts +10 -50
  93. package/dist/contact-referral.d.ts +10 -50
  94. package/dist/contact-referral.js +19 -547
  95. package/dist/contact-report.cjs +19 -562
  96. package/dist/contact-report.d.cts +10 -50
  97. package/dist/contact-report.d.ts +10 -50
  98. package/dist/contact-report.js +19 -547
  99. package/dist/contact-reservation.cjs +19 -562
  100. package/dist/contact-reservation.d.cts +10 -50
  101. package/dist/contact-reservation.d.ts +10 -50
  102. package/dist/contact-reservation.js +19 -547
  103. package/dist/contact-retreat.cjs +88 -567
  104. package/dist/contact-retreat.d.cts +11 -51
  105. package/dist/contact-retreat.d.ts +11 -51
  106. package/dist/contact-retreat.js +90 -569
  107. package/dist/contact-rsvp.cjs +19 -562
  108. package/dist/contact-rsvp.d.cts +11 -51
  109. package/dist/contact-rsvp.d.ts +11 -51
  110. package/dist/contact-rsvp.js +19 -547
  111. package/dist/contact-sales.cjs +19 -562
  112. package/dist/contact-sales.d.cts +10 -50
  113. package/dist/contact-sales.d.ts +10 -50
  114. package/dist/contact-sales.js +19 -547
  115. package/dist/contact-schedule.cjs +19 -562
  116. package/dist/contact-schedule.d.cts +11 -51
  117. package/dist/contact-schedule.d.ts +11 -51
  118. package/dist/contact-schedule.js +19 -547
  119. package/dist/contact-sponsorship.cjs +19 -562
  120. package/dist/contact-sponsorship.d.cts +11 -51
  121. package/dist/contact-sponsorship.d.ts +11 -51
  122. package/dist/contact-sponsorship.js +19 -547
  123. package/dist/contact-support.cjs +19 -562
  124. package/dist/contact-support.d.cts +11 -51
  125. package/dist/contact-support.d.ts +11 -51
  126. package/dist/contact-support.js +19 -547
  127. package/dist/contact-tenant.cjs +19 -562
  128. package/dist/contact-tenant.d.cts +11 -51
  129. package/dist/contact-tenant.d.ts +11 -51
  130. package/dist/contact-tenant.js +19 -547
  131. package/dist/contact-volunteer.cjs +19 -562
  132. package/dist/contact-volunteer.d.cts +11 -51
  133. package/dist/contact-volunteer.d.ts +11 -51
  134. package/dist/contact-volunteer.js +19 -547
  135. package/dist/contact-warranty.cjs +19 -562
  136. package/dist/contact-warranty.d.cts +10 -50
  137. package/dist/contact-warranty.d.ts +10 -50
  138. package/dist/contact-warranty.js +19 -547
  139. package/dist/contact-wedding.cjs +19 -562
  140. package/dist/contact-wedding.d.cts +10 -50
  141. package/dist/contact-wedding.d.ts +10 -50
  142. package/dist/contact-wedding.js +19 -547
  143. package/dist/hero-presentation-platform-video.cjs +76 -27
  144. package/dist/hero-presentation-platform-video.js +76 -27
  145. package/dist/index.cjs +83 -17
  146. package/dist/index.js +83 -17
  147. package/dist/registry.cjs +768 -4196
  148. package/dist/registry.js +769 -4197
  149. package/package.json +12 -2
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import { FormFieldConfig, PageSpeedFormConfig } from '@page-speed/forms/integration';
2
+ import { FormEngineProps } from '@page-speed/forms/integration';
3
3
  import { f as SectionBackground, g as SectionSpacing, t as PatternName } from './community-initiatives-Bz_A5vLU.cjs';
4
- import { A as ActionConfig } from './blocks-Cohq4eio.cjs';
5
4
  import 'react/jsx-runtime';
5
+ import './blocks-Cohq4eio.cjs';
6
6
  import 'class-variance-authority';
7
7
  import './button-variants-lRElsmTc.cjs';
8
8
  import 'class-variance-authority/types';
@@ -12,24 +12,6 @@ interface ContactSponsorshipProps {
12
12
  heading?: React.ReactNode;
13
13
  /** Description text below heading */
14
14
  description?: React.ReactNode;
15
- /** Submit button text */
16
- buttonText?: string;
17
- /** Icon to display in submit button */
18
- buttonIcon?: React.ReactNode;
19
- /** Array of action configurations for custom buttons */
20
- actions?: ActionConfig[];
21
- /** Custom slot for rendering actions (overrides actions array) */
22
- actionsSlot?: React.ReactNode;
23
- /**
24
- * Array of form field configurations
25
- * If not provided, defaults to: first_name, last_name, email, phone, message
26
- */
27
- formFields?: FormFieldConfig[];
28
- /**
29
- * Success message to display after form submission
30
- * @default "Thank you! Your message has been sent successfully."
31
- */
32
- successMessage?: React.ReactNode;
33
15
  /** Additional CSS classes for the section */
34
16
  className?: string;
35
17
  /** Additional CSS classes for the container */
@@ -44,38 +26,16 @@ interface ContactSponsorshipProps {
44
26
  cardClassName?: string;
45
27
  /** Additional CSS classes for the card content */
46
28
  cardContentClassName?: string;
47
- /** Additional CSS classes for the form */
48
- formClassName?: string;
49
- /** Additional CSS classes for the submit button */
50
- submitClassName?: string;
51
- /** Additional CSS classes for the success message */
52
- successMessageClassName?: string;
53
- /** Additional CSS classes for the error message */
54
- errorMessageClassName?: string;
55
- /**
56
- * Background style for the section
57
- */
29
+ /** Background style for the section */
58
30
  background?: SectionBackground;
59
- /**
60
- * Vertical spacing for the section
61
- */
31
+ /** Vertical spacing for the section */
62
32
  spacing?: SectionSpacing;
63
- /**
64
- * Optional background pattern name or URL
65
- */
33
+ /** Optional background pattern name or URL */
66
34
  pattern?: PatternName | undefined;
67
- /**
68
- * Pattern overlay opacity (0-1)
69
- */
35
+ /** Pattern overlay opacity (0-1) */
70
36
  patternOpacity?: number;
71
- /** Form configuration for PageSpeed forms */
72
- formConfig?: PageSpeedFormConfig;
73
- /** Custom submit handler */
74
- onSubmit?: (values: Record<string, any>) => void | Promise<void>;
75
- /** Success callback */
76
- onSuccess?: (data: unknown) => void;
77
- /** Error callback */
78
- onError?: (error: Error) => void;
37
+ /** Full form engine setup and props */
38
+ formEngineSetup?: FormEngineProps;
79
39
  }
80
40
  /**
81
41
  * ContactSponsorship - Contact form with flexible field configuration
@@ -83,11 +43,11 @@ interface ContactSponsorshipProps {
83
43
  * @example
84
44
  * ```tsx
85
45
  * <ContactSponsorship
86
- * heading="Sponsorship Opportunity"
87
- * formConfig={{ endpoint: "/api/contact", format: "json" }}
46
+ * heading="Sponsorship Inquiry"
47
+ * formEngineSetup={{ formConfig: { endpoint: "/api/contact", format: "json" } }}
88
48
  * />
89
49
  * ```
90
50
  */
91
- declare function ContactSponsorship({ heading, description, buttonText, buttonIcon, actions, actionsSlot, formFields, successMessage, className, containerClassName, headerClassName, headingClassName, descriptionClassName, cardClassName, cardContentClassName, formClassName, submitClassName, successMessageClassName, errorMessageClassName, background, spacing, pattern, patternOpacity, formConfig, onSubmit, onSuccess, onError, }: ContactSponsorshipProps): React.JSX.Element;
51
+ declare function ContactSponsorship({ heading, description, className, formEngineSetup, containerClassName, headerClassName, headingClassName, descriptionClassName, cardClassName, cardContentClassName, background, spacing, pattern, patternOpacity, }: ContactSponsorshipProps): React.JSX.Element;
92
52
 
93
53
  export { ContactSponsorship, type ContactSponsorshipProps };
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import { FormFieldConfig, PageSpeedFormConfig } from '@page-speed/forms/integration';
2
+ import { FormEngineProps } from '@page-speed/forms/integration';
3
3
  import { f as SectionBackground, g as SectionSpacing, t as PatternName } from './community-initiatives-Bi_ClKrO.js';
4
- import { A as ActionConfig } from './blocks-k17uluAz.js';
5
4
  import 'react/jsx-runtime';
5
+ import './blocks-k17uluAz.js';
6
6
  import 'class-variance-authority';
7
7
  import './button-variants-lRElsmTc.js';
8
8
  import 'class-variance-authority/types';
@@ -12,24 +12,6 @@ interface ContactSponsorshipProps {
12
12
  heading?: React.ReactNode;
13
13
  /** Description text below heading */
14
14
  description?: React.ReactNode;
15
- /** Submit button text */
16
- buttonText?: string;
17
- /** Icon to display in submit button */
18
- buttonIcon?: React.ReactNode;
19
- /** Array of action configurations for custom buttons */
20
- actions?: ActionConfig[];
21
- /** Custom slot for rendering actions (overrides actions array) */
22
- actionsSlot?: React.ReactNode;
23
- /**
24
- * Array of form field configurations
25
- * If not provided, defaults to: first_name, last_name, email, phone, message
26
- */
27
- formFields?: FormFieldConfig[];
28
- /**
29
- * Success message to display after form submission
30
- * @default "Thank you! Your message has been sent successfully."
31
- */
32
- successMessage?: React.ReactNode;
33
15
  /** Additional CSS classes for the section */
34
16
  className?: string;
35
17
  /** Additional CSS classes for the container */
@@ -44,38 +26,16 @@ interface ContactSponsorshipProps {
44
26
  cardClassName?: string;
45
27
  /** Additional CSS classes for the card content */
46
28
  cardContentClassName?: string;
47
- /** Additional CSS classes for the form */
48
- formClassName?: string;
49
- /** Additional CSS classes for the submit button */
50
- submitClassName?: string;
51
- /** Additional CSS classes for the success message */
52
- successMessageClassName?: string;
53
- /** Additional CSS classes for the error message */
54
- errorMessageClassName?: string;
55
- /**
56
- * Background style for the section
57
- */
29
+ /** Background style for the section */
58
30
  background?: SectionBackground;
59
- /**
60
- * Vertical spacing for the section
61
- */
31
+ /** Vertical spacing for the section */
62
32
  spacing?: SectionSpacing;
63
- /**
64
- * Optional background pattern name or URL
65
- */
33
+ /** Optional background pattern name or URL */
66
34
  pattern?: PatternName | undefined;
67
- /**
68
- * Pattern overlay opacity (0-1)
69
- */
35
+ /** Pattern overlay opacity (0-1) */
70
36
  patternOpacity?: number;
71
- /** Form configuration for PageSpeed forms */
72
- formConfig?: PageSpeedFormConfig;
73
- /** Custom submit handler */
74
- onSubmit?: (values: Record<string, any>) => void | Promise<void>;
75
- /** Success callback */
76
- onSuccess?: (data: unknown) => void;
77
- /** Error callback */
78
- onError?: (error: Error) => void;
37
+ /** Full form engine setup and props */
38
+ formEngineSetup?: FormEngineProps;
79
39
  }
80
40
  /**
81
41
  * ContactSponsorship - Contact form with flexible field configuration
@@ -83,11 +43,11 @@ interface ContactSponsorshipProps {
83
43
  * @example
84
44
  * ```tsx
85
45
  * <ContactSponsorship
86
- * heading="Sponsorship Opportunity"
87
- * formConfig={{ endpoint: "/api/contact", format: "json" }}
46
+ * heading="Sponsorship Inquiry"
47
+ * formEngineSetup={{ formConfig: { endpoint: "/api/contact", format: "json" } }}
88
48
  * />
89
49
  * ```
90
50
  */
91
- declare function ContactSponsorship({ heading, description, buttonText, buttonIcon, actions, actionsSlot, formFields, successMessage, className, containerClassName, headerClassName, headingClassName, descriptionClassName, cardClassName, cardContentClassName, formClassName, submitClassName, successMessageClassName, errorMessageClassName, background, spacing, pattern, patternOpacity, formConfig, onSubmit, onSuccess, onError, }: ContactSponsorshipProps): React.JSX.Element;
51
+ declare function ContactSponsorship({ heading, description, className, formEngineSetup, containerClassName, headerClassName, headingClassName, descriptionClassName, cardClassName, cardContentClassName, background, spacing, pattern, patternOpacity, }: ContactSponsorshipProps): React.JSX.Element;
92
52
 
93
53
  export { ContactSponsorship, type ContactSponsorshipProps };