@bigbinary/neeto-molecules 4.0.123 → 4.0.125
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/CopyToClipboardButton.js +11 -5
- package/dist/CopyToClipboardButton.js.map +1 -1
- package/dist/EmailForm.js +102 -118
- package/dist/EmailForm.js.map +1 -1
- package/dist/EmailPreview.js +88 -70
- package/dist/EmailPreview.js.map +1 -1
- package/dist/ErrorPage.js +2 -0
- package/dist/ErrorPage.js.map +1 -1
- package/dist/SendToFields.js +31 -19
- package/dist/SendToFields.js.map +1 -1
- package/dist/cjs/CopyToClipboardButton.js +10 -4
- package/dist/cjs/CopyToClipboardButton.js.map +1 -1
- package/dist/cjs/EmailForm.js +100 -116
- package/dist/cjs/EmailForm.js.map +1 -1
- package/dist/cjs/EmailPreview.js +106 -70
- package/dist/cjs/EmailPreview.js.map +1 -1
- package/dist/cjs/ErrorPage.js +2 -0
- package/dist/cjs/ErrorPage.js.map +1 -1
- package/dist/cjs/SendToFields.js +31 -19
- package/dist/cjs/SendToFields.js.map +1 -1
- package/package.json +1 -1
- package/src/translations/bg.json +9 -2
- package/src/translations/en.json +9 -5
- package/src/translations/hi.json +9 -2
- package/src/translations/th.json +9 -2
- package/types/EmailForm.d.ts +5 -3
package/dist/cjs/SendToFields.js
CHANGED
|
@@ -2213,25 +2213,37 @@ var SendToFields = function SendToFields(_ref) {
|
|
|
2213
2213
|
onClick: function onClick() {
|
|
2214
2214
|
return setIsBulkUploadPaneOpen(true);
|
|
2215
2215
|
}
|
|
2216
|
-
}), showSendToField && /*#__PURE__*/jsxRuntime.jsx(
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2216
|
+
}), showSendToField && /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
2217
|
+
className: "neeto-ui-border-gray-200 w-full border-b pb-1",
|
|
2218
|
+
children: /*#__PURE__*/jsxRuntime.jsx(MultiEmailInput, _objectSpread(_objectSpread({
|
|
2219
|
+
name: "sendTo",
|
|
2220
|
+
ref: sendToFieldRef
|
|
2221
|
+
}, emailInputProps), {}, {
|
|
2222
|
+
suffix: showCcBccButton && /*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
2223
|
+
"data-cy": "cc-bcc-button",
|
|
2224
|
+
"data-testid": "cc-bcc-button",
|
|
2225
|
+
label: t("neetoMolecules.emailForm.labels.ccBcc"),
|
|
2226
|
+
size: "small",
|
|
2227
|
+
style: "link",
|
|
2228
|
+
onClick: handelCcBccButtonClick,
|
|
2229
|
+
onKeyDown: function onKeyDown(event) {
|
|
2230
|
+
return event.stopPropagation();
|
|
2231
|
+
}
|
|
2232
|
+
})
|
|
2233
|
+
}))
|
|
2234
|
+
}), (showCopyEmails || showCcField || showBccField) && /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
2235
|
+
className: "mt-5 flex w-full flex-col gap-5",
|
|
2236
|
+
children: [(showCopyEmails || showCcField) && /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
2237
|
+
className: "neeto-ui-border-gray-200 w-full border-b pb-1",
|
|
2238
|
+
children: /*#__PURE__*/jsxRuntime.jsx(MultiEmailInput, _objectSpread({
|
|
2239
|
+
name: "sendToBcc"
|
|
2240
|
+
}, ccInputProps))
|
|
2241
|
+
}), (showCopyEmails || showBccField) && /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
2242
|
+
className: "neeto-ui-border-gray-200 w-full border-b pb-1",
|
|
2243
|
+
children: /*#__PURE__*/jsxRuntime.jsx(MultiEmailInput, _objectSpread({
|
|
2244
|
+
name: "sendToCc"
|
|
2245
|
+
}, bccInputProps))
|
|
2246
|
+
})]
|
|
2235
2247
|
}), /*#__PURE__*/jsxRuntime.jsx(BulkUploadPane, {
|
|
2236
2248
|
fileSize: CSV_FILE_SIZE_IN_KB,
|
|
2237
2249
|
handleFileSubmit: handleCSVFile,
|