@apolitical/component-library 5.4.2 → 5.4.3-ac.0
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/form/types/invite-form/invite-form.d.ts +4 -2
- package/form/types/invite-form/multi-email-textarea.d.ts +8 -0
- package/helpers/intl.d.ts +2 -0
- package/index.js +24 -24
- package/index.mjs +1408 -1381
- package/modals/types/invite-modal/invite-modal.d.ts +4 -2
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -18,14 +18,16 @@ interface IProps {
|
|
|
18
18
|
formTitle?: string;
|
|
19
19
|
/** Form input label */
|
|
20
20
|
formLabel?: string;
|
|
21
|
+
/** Placeholder text for the message input */
|
|
22
|
+
messagePlaceholder?: string;
|
|
21
23
|
/** CTA button text displayed on the form */
|
|
22
24
|
ctaMessage?: string;
|
|
23
25
|
/** Function to send the invites */
|
|
24
|
-
sendInvites(emails: string[]): void;
|
|
26
|
+
sendInvites(emails: string[], personalisedNote?: string): void;
|
|
25
27
|
/** Whether to show the check icon */
|
|
26
28
|
showIcon?: boolean;
|
|
27
29
|
/** Whether to show the modal header */
|
|
28
30
|
showHeader?: boolean;
|
|
29
31
|
}
|
|
30
|
-
declare const InviteModal: ({ className, showModal, title, formTitle, formLabel, ctaMessage, showIcon, onClose, reportError, sendInvites, }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
declare const InviteModal: ({ className, showModal, title, messagePlaceholder, formTitle, formLabel, ctaMessage, showIcon, onClose, reportError, sendInvites, }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
33
|
export default InviteModal;
|