@embedreach/components 0.1.50 → 0.1.51

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.
@@ -23866,6 +23866,9 @@ const useUpdateBusinessAutomation = (automationId) => {
23866
23866
  mutationFn: (params) => updateAutomation(automationId, params),
23867
23867
  onSuccess: () => {
23868
23868
  queryClient.invalidateQueries({ queryKey: ["automations"] });
23869
+ queryClient.invalidateQueries({
23870
+ queryKey: ["automations", automationId]
23871
+ });
23869
23872
  }
23870
23873
  });
23871
23874
  return {
@@ -38939,7 +38942,7 @@ const PreviewPanel = ({ emailPreview, smsPreview, iconDefinitions }) => {
38939
38942
  Button$1,
38940
38943
  {
38941
38944
  onClick: () => setSelectedTab("email"),
38942
- className: `flex-1 py-4 px-6 text-center relative rounded-none transition-colors duration-200 ${selectedTab === "email" ? "text-white-600 hover:text-primary/80 hover:bg-gray-50" : "text-primary bg-primary/5"}`,
38945
+ className: `flex-1 py-4 px-6 text-center relative !rounded-none transition-colors duration-200 ${selectedTab === "email" ? "text-white-600 hover:text-primary/80 hover:bg-gray-50" : "text-primary bg-primary/5"}`,
38943
38946
  children: [
38944
38947
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-center gap-2", children: [
38945
38948
  /* @__PURE__ */ jsx(
@@ -38970,7 +38973,7 @@ const PreviewPanel = ({ emailPreview, smsPreview, iconDefinitions }) => {
38970
38973
  Button$1,
38971
38974
  {
38972
38975
  onClick: () => setSelectedTab("sms"),
38973
- className: `flex-1 py-4 px-6 text-center relative rounded-none transition-colors duration-200 ${selectedTab === "sms" ? "text-white-600 hover:text-primary/80 hover:bg-gray-50" : "text-primary bg-primary/5"}`,
38976
+ className: `flex-1 py-4 px-6 text-center relative !rounded-none transition-colors duration-200 ${selectedTab === "sms" ? "text-white-600 hover:text-primary/80 hover:bg-gray-50" : "text-primary bg-primary/5"}`,
38974
38977
  children: [
38975
38978
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-center gap-2", children: [
38976
38979
  /* @__PURE__ */ jsx(