@capillarytech/creatives-library 7.17.139 → 7.17.140
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/v2Components/TemplatePreview/index.js +3 -3
- package/v2Containers/Whatsapp/index.js +101 -82
- package/v2Containers/Whatsapp/index.scss +8 -6
- package/v2Containers/Whatsapp/messages.js +11 -3
- package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +2966 -156
- package/v2Containers/Whatsapp/tests/index.test.js +4 -1
- package/v2Containers/Whatsapp/utils.js +0 -5
- package/v2Containers/mockdata.js +0 -5
|
@@ -217,8 +217,11 @@ describe('Creatives Whatsapp test1/>', () => {
|
|
|
217
217
|
});
|
|
218
218
|
|
|
219
219
|
it('test addVariable in create mode', () => {
|
|
220
|
+
|
|
221
|
+
|
|
220
222
|
renderHelper({});
|
|
221
|
-
renderedComponent.
|
|
223
|
+
renderedComponent.update();
|
|
224
|
+
renderedComponent.find('[data-testid="suffix-button"]').at(1).props().onClick();
|
|
222
225
|
expect(renderedComponent).toMatchSnapshot();
|
|
223
226
|
});
|
|
224
227
|
|
|
@@ -198,11 +198,6 @@ export const getWhatsappAutoFill = (template) => {
|
|
|
198
198
|
type="label21"
|
|
199
199
|
className='whatsapp-autofill-btn'
|
|
200
200
|
>
|
|
201
|
-
<CapIcon
|
|
202
|
-
type={'launch'}
|
|
203
|
-
size="xs"
|
|
204
|
-
className='margin-r-4'
|
|
205
|
-
/>
|
|
206
201
|
<FormattedMessage {...globalMessages.autofill} />
|
|
207
202
|
</CapLabel>);
|
|
208
203
|
}
|
package/v2Containers/mockdata.js
CHANGED
|
@@ -2469,11 +2469,6 @@ export default {
|
|
|
2469
2469
|
className="whatsapp-autofill-btn"
|
|
2470
2470
|
type="label21"
|
|
2471
2471
|
>
|
|
2472
|
-
<CapIcon
|
|
2473
|
-
className="margin-r-4"
|
|
2474
|
-
size="xs"
|
|
2475
|
-
type="launch"
|
|
2476
|
-
/>
|
|
2477
2472
|
<FormattedMessage
|
|
2478
2473
|
defaultMessage="Autofill"
|
|
2479
2474
|
id="creatives.componentsV2.autofill"
|