@bigbinary/neeto-molecules 4.0.124 → 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.
@@ -2211,25 +2211,37 @@ var SendToFields = function SendToFields(_ref) {
2211
2211
  onClick: function onClick() {
2212
2212
  return setIsBulkUploadPaneOpen(true);
2213
2213
  }
2214
- }), showSendToField && /*#__PURE__*/jsx(MultiEmailInput, _objectSpread(_objectSpread({
2215
- name: "sendTo",
2216
- ref: sendToFieldRef
2217
- }, emailInputProps), {}, {
2218
- suffix: showCcBccButton && /*#__PURE__*/jsx(Button, {
2219
- "data-cy": "cc-bcc-button",
2220
- "data-testid": "cc-bcc-button",
2221
- label: t("neetoMolecules.emailForm.labels.ccBcc"),
2222
- size: "small",
2223
- style: "link",
2224
- onClick: handelCcBccButtonClick
2225
- })
2226
- })), (showCopyEmails || showCcField || showBccField) && /*#__PURE__*/jsxs("div", {
2227
- className: "mt-5 flex w-full flex-col gap-6",
2228
- children: [(showCopyEmails || showCcField) && /*#__PURE__*/jsx(MultiEmailInput, _objectSpread({
2229
- name: "sendToBcc"
2230
- }, ccInputProps)), (showCopyEmails || showBccField) && /*#__PURE__*/jsx(MultiEmailInput, _objectSpread({
2231
- name: "sendToCc"
2232
- }, bccInputProps))]
2214
+ }), showSendToField && /*#__PURE__*/jsx("div", {
2215
+ className: "neeto-ui-border-gray-200 w-full border-b pb-1",
2216
+ children: /*#__PURE__*/jsx(MultiEmailInput, _objectSpread(_objectSpread({
2217
+ name: "sendTo",
2218
+ ref: sendToFieldRef
2219
+ }, emailInputProps), {}, {
2220
+ suffix: showCcBccButton && /*#__PURE__*/jsx(Button, {
2221
+ "data-cy": "cc-bcc-button",
2222
+ "data-testid": "cc-bcc-button",
2223
+ label: t("neetoMolecules.emailForm.labels.ccBcc"),
2224
+ size: "small",
2225
+ style: "link",
2226
+ onClick: handelCcBccButtonClick,
2227
+ onKeyDown: function onKeyDown(event) {
2228
+ return event.stopPropagation();
2229
+ }
2230
+ })
2231
+ }))
2232
+ }), (showCopyEmails || showCcField || showBccField) && /*#__PURE__*/jsxs("div", {
2233
+ className: "mt-5 flex w-full flex-col gap-5",
2234
+ children: [(showCopyEmails || showCcField) && /*#__PURE__*/jsx("div", {
2235
+ className: "neeto-ui-border-gray-200 w-full border-b pb-1",
2236
+ children: /*#__PURE__*/jsx(MultiEmailInput, _objectSpread({
2237
+ name: "sendToBcc"
2238
+ }, ccInputProps))
2239
+ }), (showCopyEmails || showBccField) && /*#__PURE__*/jsx("div", {
2240
+ className: "neeto-ui-border-gray-200 w-full border-b pb-1",
2241
+ children: /*#__PURE__*/jsx(MultiEmailInput, _objectSpread({
2242
+ name: "sendToCc"
2243
+ }, bccInputProps))
2244
+ })]
2233
2245
  }), /*#__PURE__*/jsx(BulkUploadPane, {
2234
2246
  fileSize: CSV_FILE_SIZE_IN_KB,
2235
2247
  handleFileSubmit: handleCSVFile,