@capillarytech/creatives-library 8.0.345-alpha.2 → 8.0.345-alpha.4

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "8.0.345-alpha.2",
4
+ "version": "8.0.345-alpha.4",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -37,6 +37,7 @@ const useEmailWrapper = ({
37
37
  // Props for Email component
38
38
  setIsLoadingContent,
39
39
  isGetFormData,
40
+ templateData,
40
41
  getFormdata,
41
42
  type,
42
43
  isFullMode,
@@ -65,11 +66,11 @@ const useEmailWrapper = ({
65
66
  location,
66
67
  emailActions,
67
68
  Email,
68
- templateData,
69
69
  params,
70
70
  isEditEmail = true,
71
71
  }) => {
72
72
  // State management
73
+ console.log('[SlideBoxContent] mode:', isFullMode);
73
74
  const [templateName, setTemplateName] = useState('');
74
75
  const [isTemplateNameEmpty, setIsTemplateNameEmpty] = useState(true);
75
76
  const [selectedCreateMode, setSelectedCreateMode] = useState('');
@@ -726,6 +727,7 @@ const useEmailWrapper = ({
726
727
  location: routeParams,
727
728
  route: { name: 'email' },
728
729
  params: emailParams,
730
+ templateData,
729
731
  isGetFormData,
730
732
  getFormdata,
731
733
  getFormSubscriptionData: getFormdata,