@apolitical/component-library 6.6.25 → 6.6.26-ac.1

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.
@@ -1,3 +1,4 @@
1
+ import { IFormProps } from '../../components/form/form.types';
1
2
  export declare enum FormStatus {
2
3
  NOT_SUBMITTED = "NOT_SUBMITTED",
3
4
  SUCCESS = "SUCCESS",
@@ -27,6 +28,14 @@ interface IProps {
27
28
  sendInvites(emails: string[], personalisedNote?: string): void;
28
29
  /** Initial form status */
29
30
  initialFormStatus?: FormStatus;
31
+ /** Google Tag Manager data */
32
+ gtm?: IFormProps['gtm'];
33
+ /** Optional secondary action button */
34
+ secondaryActionButton?: IFormProps['secondaryActionButton'];
35
+ /** Form meta data */
36
+ meta?: IFormProps['meta'] & {
37
+ shouldHideDoneButtonOnSubmit?: boolean;
38
+ };
30
39
  }
31
- declare const InviteForm: ({ title, label, messagePlaceholder, ctaMessage, titleColor, labelColor, backgroundColor, onClose, reportError, sendInvites, initialFormStatus, }: IProps) => import("react/jsx-runtime").JSX.Element | null;
40
+ declare const InviteForm: ({ title, label, messagePlaceholder, ctaMessage, titleColor, labelColor, backgroundColor, onClose, reportError, sendInvites, initialFormStatus, gtm, secondaryActionButton, meta, }: IProps) => import("react/jsx-runtime").JSX.Element | null;
32
41
  export default InviteForm;