@capillarytech/creatives-library 8.0.104 → 8.0.105

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.104",
4
+ "version": "8.0.105",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -180,7 +180,7 @@ EmailWrapperView.propTypes = {
180
180
  isTemplateNameEmpty: PropTypes.bool,
181
181
  modes: PropTypes.array.isRequired,
182
182
  onChange: PropTypes.func.isRequired,
183
- EmailLayout: PropTypes.string,
183
+ EmailLayout: PropTypes.object,
184
184
  modeContent: PropTypes.object,
185
185
  useFileUpload: PropTypes.func.isRequired,
186
186
  uploadButtonLabel: PropTypes.node.isRequired,
@@ -1,6 +1,7 @@
1
1
  import { useState, useEffect, useMemo, useCallback } from 'react';
2
2
  import isEmpty from 'lodash/isEmpty';
3
3
  import get from 'lodash/get';
4
+ import find from 'lodash/find';
4
5
  import { GA } from '@capillarytech/cap-ui-utils';
5
6
  import CapNotification from '@capillarytech/cap-ui-library/CapNotification';
6
7
  import { CHANNEL_CREATE_TRACK_MAPPING } from '../../App/constants';