@capillarytech/creatives-library 7.14.19 → 7.14.21
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 +1 -1
- package/v2Containers/CreativesContainer/SlideBoxContent.js +2 -0
- package/v2Containers/Line/Container/Text/index.js +2 -0
- package/v2Containers/Line/Container/index.js +2 -1
- package/v2Containers/Line/Container/tests/__snapshots__/index.test.js.snap +13084 -0
- package/v2Containers/Line/Container/tests/index.test.js +5 -2
- package/v2Containers/Line/Container/tests/mockData.js +696 -0
- package/v2Containers/Whatsapp/index.js +1 -1
package/package.json
CHANGED
|
@@ -691,6 +691,7 @@ export function SlideBoxContent(props) {
|
|
|
691
691
|
templateData={templateData}
|
|
692
692
|
selectedAccount={selectedAccount}
|
|
693
693
|
handleClose={handleClose}
|
|
694
|
+
selectedOfferDetails={selectedOfferDetails}
|
|
694
695
|
/>
|
|
695
696
|
)
|
|
696
697
|
}
|
|
@@ -708,6 +709,7 @@ export function SlideBoxContent(props) {
|
|
|
708
709
|
onShowTemplates={onShowTemplates}
|
|
709
710
|
createNew
|
|
710
711
|
handleClose={handleClose}
|
|
712
|
+
selectedOfferDetails={selectedOfferDetails}
|
|
711
713
|
/>
|
|
712
714
|
)
|
|
713
715
|
}
|
|
@@ -41,6 +41,7 @@ export const LineText = ({
|
|
|
41
41
|
activeKey,
|
|
42
42
|
Templates,
|
|
43
43
|
getAllTemplates,
|
|
44
|
+
selectedOfferDetails,
|
|
44
45
|
}) => {
|
|
45
46
|
if (activeKey !== 'text') {
|
|
46
47
|
return null;
|
|
@@ -260,6 +261,7 @@ export const LineText = ({
|
|
|
260
261
|
// className={val.className ? val.className : ''}
|
|
261
262
|
id={`${id}_tags`}
|
|
262
263
|
userLocale={localStorage.getItem('jlocale') || 'en'}
|
|
264
|
+
selectedOfferDetails={selectedOfferDetails}
|
|
263
265
|
/>
|
|
264
266
|
</>
|
|
265
267
|
);
|
|
@@ -60,7 +60,7 @@ export const LineContainer = ({
|
|
|
60
60
|
createNew,
|
|
61
61
|
onShowTemplates,
|
|
62
62
|
handleClose,
|
|
63
|
-
|
|
63
|
+
selectedOfferDetails
|
|
64
64
|
}) => {
|
|
65
65
|
const paramObj = params || {};
|
|
66
66
|
const initialWrapperContent = [{ type: TEXT, isError: true, isInit: true }];
|
|
@@ -327,6 +327,7 @@ export const LineContainer = ({
|
|
|
327
327
|
uploadedAssetList={uploadedAssetList}
|
|
328
328
|
deleteUploadedImgList={deleteUploadedImgList}
|
|
329
329
|
updateUploadedAssetList={updateUploadedAssetList}
|
|
330
|
+
selectedOfferDetails={selectedOfferDetails}
|
|
330
331
|
/>
|
|
331
332
|
);
|
|
332
333
|
});
|