@embedreach/components 0.2.33 → 0.2.35

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.
@@ -36250,7 +36250,18 @@ const customAutomationOverridesReducer = (state, action) => {
36250
36250
  ...state,
36251
36251
  hideSales: action.payload
36252
36252
  };
36253
+ case "SET_FROM_NAME_SETTINGS_TEXT":
36254
+ return {
36255
+ ...state,
36256
+ fromNameSettingsText: action.payload
36257
+ };
36258
+ case "SET_FROM_NAME_SETTINGS_LINK":
36259
+ return {
36260
+ ...state,
36261
+ fromNameSettingsLink: action.payload
36262
+ };
36253
36263
  default:
36264
+ console.warn(`Unknown action type: ${action}`);
36254
36265
  return state;
36255
36266
  }
36256
36267
  };
@@ -62749,9 +62760,7 @@ const getSmsChannelSenders = (args) => {
62749
62760
  smsApplication: null
62750
62761
  };
62751
62762
  });
62752
- return toReturn.filter(
62753
- (item) => item.smsApplication !== null && item.smsApplication !== void 0
62754
- );
62763
+ return toReturn;
62755
62764
  };
62756
62765
  function toDate$1(argument) {
62757
62766
  const argStr = Object.prototype.toString.call(argument);
@@ -73048,7 +73057,11 @@ const SelectEmailOrSMS = ({
73048
73057
  return /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
73049
73058
  /* @__PURE__ */ jsxs("div", { children: [
73050
73059
  /* @__PURE__ */ jsx("h3", { className: "text-xl font-medium text-foreground", children: "Message Types" }),
73051
- /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-2 text-sm", children: "Select the channels you want to use in this automation" })
73060
+ /* @__PURE__ */ jsxs("p", { className: "text-muted-foreground mb-2 text-sm", children: [
73061
+ "Select the channels you want to use in this",
73062
+ " ",
73063
+ automationType === AutomationTriggerType.ONE_TIME ? t$1("engage:broadcast").toLowerCase() : t$1("engage:automation").toLowerCase()
73064
+ ] })
73052
73065
  ] }),
73053
73066
  /* @__PURE__ */ jsx("div", { className: "w-full grid grid-cols-2 gap-3", children: channelOptions.map((option) => /* @__PURE__ */ jsxs(
73054
73067
  Root$4,
@@ -73218,7 +73231,7 @@ const EditCampaignContent = ({
73218
73231
  }),
73219
73232
  [channelSenders?.results, channelAccounts?.results]
73220
73233
  );
73221
- const smsChannelSenders = useCallback(
73234
+ const smsChannelSenders = useMemo(
73222
73235
  () => getSmsChannelSenders({
73223
73236
  channelSenders: channelSenders?.results ?? [],
73224
73237
  channelAccounts: channelAccounts?.results ?? [],