@bigbinary/neeto-molecules 1.0.46 → 1.0.47

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.
@@ -2888,9 +2888,12 @@ var ShareViaEmail = function ShareViaEmail(_ref) {
2888
2888
  defaultValues = _ref.defaultValues,
2889
2889
  disableReplyTo = _ref.disableReplyTo,
2890
2890
  productName = _ref.productName,
2891
- showVideoEmbedInEditor = _ref.showVideoEmbedInEditor;
2891
+ showVideoEmbedInEditor = _ref.showVideoEmbedInEditor,
2892
+ _ref$title = _ref.title,
2893
+ title = _ref$title === void 0 ? "" : _ref$title;
2892
2894
  var _useTranslation = useTranslation(),
2893
2895
  t = _useTranslation.t;
2896
+ var shareViaEmailTitle = title || t("neetoMolecules.shareViaEmail.title");
2894
2897
  var sendToEmails = function sendToEmails(notifyEmails) {
2895
2898
  return notifyEmails.map(function (email) {
2896
2899
  return email === null || email === void 0 ? void 0 : email.value;
@@ -2929,12 +2932,12 @@ var ShareViaEmail = function ShareViaEmail(_ref) {
2929
2932
  }), /*#__PURE__*/React.createElement("div", {
2930
2933
  className: "mb-6"
2931
2934
  }, /*#__PURE__*/React.createElement(Typography, {
2932
- className: "mb-0.5",
2935
+ className: "mb-0.5 break-words",
2933
2936
  "data-cy": "share-via-email-heading",
2934
2937
  lineHeight: "normal",
2935
2938
  style: "h2",
2936
2939
  weight: "semibold"
2937
- }, t("neetoMolecules.shareViaEmail.title")), description && /*#__PURE__*/React.createElement(Typography, {
2940
+ }, shareViaEmailTitle), description && /*#__PURE__*/React.createElement(Typography, {
2938
2941
  className: "neeto-ui-text-gray-700",
2939
2942
  "data-cy": "share-via-email-sub-heading",
2940
2943
  lineHeight: "normal",