@bigbinary/neeto-molecules 3.16.14 → 3.16.16
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/EmailForm.js +25 -8
- package/dist/EmailForm.js.map +1 -1
- package/dist/ProductEmbed.js +1 -1
- package/dist/ProductEmbed.js.map +1 -1
- package/dist/cjs/EmailForm.js +25 -8
- package/dist/cjs/EmailForm.js.map +1 -1
- package/dist/cjs/ProductEmbed.js +1 -1
- package/dist/cjs/ProductEmbed.js.map +1 -1
- package/package.json +1 -1
- package/src/translations/en.json +2 -1
- package/types/EmailForm.d.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-molecules",
|
|
3
|
-
"version": "3.16.
|
|
3
|
+
"version": "3.16.16",
|
|
4
4
|
"description": "A package of reusable molecular components for neeto products.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-molecules.git",
|
|
6
6
|
"author": "Amaljith K <amaljith.k@bigbinary.com>",
|
package/src/translations/en.json
CHANGED
|
@@ -610,7 +610,8 @@
|
|
|
610
610
|
"subject": "Subject",
|
|
611
611
|
"ccBcc": "Cc/Bcc",
|
|
612
612
|
"cc": "CC",
|
|
613
|
-
"bCc": "BCC"
|
|
613
|
+
"bCc": "BCC",
|
|
614
|
+
"resetToDefault": "Reset to default"
|
|
614
615
|
},
|
|
615
616
|
"tooltips": {
|
|
616
617
|
"replyTo": "'Reply to' is the designated address where replies to the email should be sent."
|
package/types/EmailForm.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ type EmailFormProps = {
|
|
|
26
26
|
messageVariables?: ContentVariables[];
|
|
27
27
|
subjectVariables?: ContentVariables[];
|
|
28
28
|
handleCancel?: () => void;
|
|
29
|
+
handleResetToDefault?: () => void;
|
|
29
30
|
isLoading?: boolean;
|
|
30
31
|
replyToOptions?: FieldOptions[];
|
|
31
32
|
sendToOptions?: FieldOptions[];
|
|
@@ -34,6 +35,8 @@ type EmailFormProps = {
|
|
|
34
35
|
className?: string;
|
|
35
36
|
replyToFieldProps?: ReplyToFieldProps;
|
|
36
37
|
sendToFieldProps?: SendToFieldProps;
|
|
38
|
+
showResetToDefaultButton?: boolean;
|
|
39
|
+
editorRef?: React.Ref<HTMLDivElement>;
|
|
37
40
|
editorAddons?: string[];
|
|
38
41
|
};
|
|
39
42
|
interface ExtendedEmailPreviewProps extends EmailPreviewProps {
|