@capillarytech/creatives-library 8.0.92 → 8.0.94
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/containers/Templates/constants.js +7 -0
- package/containers/Templates/index.js +43 -24
- package/package.json +1 -1
- package/services/api.js +1 -7
- package/services/tests/api.test.js +1 -5
- package/v2Components/CapImageUpload/index.js +10 -13
- package/v2Components/CapVideoUpload/index.js +9 -12
- package/v2Components/CapWhatsappCTA/messages.js +0 -4
- package/v2Components/TemplatePreview/_templatePreview.scss +0 -20
- package/v2Components/TemplatePreview/index.js +105 -160
- package/v2Components/TemplatePreview/tests/__snapshots__/index.test.js.snap +6 -6
- package/v2Containers/CreativesContainer/index.js +5 -92
- package/v2Containers/CreativesContainer/tests/__snapshots__/SlideBoxContent.test.js.snap +0 -1
- package/v2Containers/Templates/_templates.scss +0 -47
- package/v2Containers/Templates/index.js +5 -55
- package/v2Containers/Templates/tests/__snapshots__/index.test.js.snap +156 -177
- package/v2Containers/Whatsapp/constants.js +1 -87
- package/v2Containers/Whatsapp/index.js +189 -707
- package/v2Containers/Whatsapp/index.scss +1 -52
- package/v2Containers/Whatsapp/messages.js +2 -38
- package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +91371 -30860
- package/v2Containers/Whatsapp/tests/__snapshots__/utils.test.js.snap +0 -6
- package/v2Containers/Whatsapp/tests/utils.test.js +1 -80
- package/v2Containers/Whatsapp/utils.js +0 -34
- package/v2Containers/mockdata.js +0 -2
- package/v2Components/CapWhatsappCarouselButton/constant.js +0 -56
- package/v2Components/CapWhatsappCarouselButton/index.js +0 -446
- package/v2Components/CapWhatsappCarouselButton/index.scss +0 -39
- package/v2Components/CapWhatsappCarouselButton/tests/index.test.js +0 -237
- package/v2Components/TemplatePreview/assets/images/empty_image_preview.svg +0 -4
- package/v2Components/TemplatePreview/assets/images/empty_video_preview.svg +0 -4
|
@@ -110,16 +110,7 @@
|
|
|
110
110
|
width: 95%;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
#select-whatsapp-category {
|
|
114
|
-
padding-right: 5px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
#select-whatsapp-media {
|
|
118
|
-
padding-left: 5px;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
113
|
#select-whatsapp-category,
|
|
122
|
-
#select-whatsapp-media,
|
|
123
114
|
#select-whatsapp-language {
|
|
124
115
|
width: 100%;
|
|
125
116
|
}
|
|
@@ -258,52 +249,10 @@
|
|
|
258
249
|
color: $CAP_G10;
|
|
259
250
|
}
|
|
260
251
|
|
|
261
|
-
.carousel-media-selection {
|
|
262
|
-
display: flex;
|
|
263
|
-
align-items: center;
|
|
264
|
-
.carousel-media-selection-heading {
|
|
265
|
-
margin-right: $CAP_SPACE_20;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.whatsapp-carousel-tab {
|
|
270
|
-
.ant-tabs-extra-content {
|
|
271
|
-
padding: 0;
|
|
272
|
-
line-height: normal;
|
|
273
|
-
.add-carousel-content-button {
|
|
274
|
-
padding: 0.642rem 0px;
|
|
275
|
-
margin: 0;
|
|
276
|
-
}
|
|
277
|
-
.cap-divider-v2{
|
|
278
|
-
height: 1.5rem;
|
|
279
|
-
margin-bottom: 0.499rem;
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.whatsapp-carousel-card {
|
|
285
|
-
.ant-card-head {
|
|
286
|
-
border-bottom: none;
|
|
287
|
-
}
|
|
288
|
-
.ant-card-body {
|
|
289
|
-
padding-top: 0px;
|
|
290
|
-
}
|
|
291
|
-
.ant-card-head-wrapper {
|
|
292
|
-
.ant-card-extra {
|
|
293
|
-
.cap-button-v2 {
|
|
294
|
-
padding: 0px;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.whatsapp-carousel-message-heading {
|
|
301
|
-
margin-top: $CAP_SPACE_24;
|
|
302
|
-
}
|
|
303
252
|
.template-status-font{
|
|
304
253
|
font-weight: 500;
|
|
305
254
|
}
|
|
306
255
|
|
|
307
256
|
.template-status-margin{
|
|
308
257
|
margin: $CAP_SPACE_04 0 $CAP_SPACE_04;
|
|
309
|
-
}
|
|
258
|
+
}
|
|
@@ -110,13 +110,9 @@ export default defineMessages({
|
|
|
110
110
|
id: `${prefix}.templateLanguageEnglish`,
|
|
111
111
|
defaultMessage: 'English',
|
|
112
112
|
},
|
|
113
|
-
none: {
|
|
114
|
-
id: `${prefix}.none`,
|
|
115
|
-
defaultMessage: 'None',
|
|
116
|
-
},
|
|
117
113
|
mediaLabel: {
|
|
118
114
|
id: `${prefix}.mediaLabel`,
|
|
119
|
-
defaultMessage: 'Media
|
|
115
|
+
defaultMessage: 'Media',
|
|
120
116
|
},
|
|
121
117
|
mediaText: {
|
|
122
118
|
id: `${prefix}.mediaText`,
|
|
@@ -134,17 +130,13 @@ export default defineMessages({
|
|
|
134
130
|
id: `${prefix}.mediaDocument`,
|
|
135
131
|
defaultMessage: 'Document',
|
|
136
132
|
},
|
|
137
|
-
mediaCarousel: {
|
|
138
|
-
id: `${prefix}.mediaCarousel`,
|
|
139
|
-
defaultMessage: 'Carousel',
|
|
140
|
-
},
|
|
141
133
|
disabledFeatureTooltip: {
|
|
142
134
|
id: `${prefix}.disabledFeatureTooltip`,
|
|
143
135
|
defaultMessage: 'Not yet enabled. Coming soon!',
|
|
144
136
|
},
|
|
145
137
|
templateMessageLabel: {
|
|
146
138
|
id: `${prefix}.templateMessageLabel`,
|
|
147
|
-
defaultMessage: '
|
|
139
|
+
defaultMessage: 'Message',
|
|
148
140
|
},
|
|
149
141
|
templateMessageTooltip: {
|
|
150
142
|
id: `${prefix}.templateMessageTooltip`,
|
|
@@ -737,34 +729,6 @@ export default defineMessages({
|
|
|
737
729
|
id: `${prefix}.checkExpiryTooltipDesc`,
|
|
738
730
|
defaultMessage: 'To check the configured expiry time that is same for all OTPs',
|
|
739
731
|
},
|
|
740
|
-
carouselMediaType: {
|
|
741
|
-
id: `${prefix}.carouselMediaType`,
|
|
742
|
-
defaultMessage: 'Carousel media type',
|
|
743
|
-
},
|
|
744
|
-
card: {
|
|
745
|
-
id: `${prefix}.card`,
|
|
746
|
-
defaultMessage: 'Card',
|
|
747
|
-
},
|
|
748
|
-
carouselCardBodyMessageLabel: {
|
|
749
|
-
id: `${prefix}.carouselCardBodyMessageLabel`,
|
|
750
|
-
defaultMessage: 'Card body text',
|
|
751
|
-
},
|
|
752
|
-
carouselCardBodyMessagePlaceholder: {
|
|
753
|
-
id: `${prefix}.carouselCardBodyMessagePlaceholder`,
|
|
754
|
-
defaultMessage: 'Enter card body text',
|
|
755
|
-
},
|
|
756
|
-
buttonType: {
|
|
757
|
-
id: `${prefix}.buttonType`,
|
|
758
|
-
defaultMessage: 'Button type',
|
|
759
|
-
},
|
|
760
|
-
emptyCardBodyErrorMessage: {
|
|
761
|
-
id: `${prefix}.emptyCardBodyErrorMessage`,
|
|
762
|
-
defaultMessage: 'Card body text cannot be empty',
|
|
763
|
-
},
|
|
764
|
-
carouselButtonInfo: {
|
|
765
|
-
id: `${prefix}.carouselButtonInfo`,
|
|
766
|
-
defaultMessage: 'Number of buttons and their types setup in the first card will be same for all the other cards in the carousel',
|
|
767
|
-
},
|
|
768
732
|
pending: {
|
|
769
733
|
id: `${prefix}.pending`,
|
|
770
734
|
defaultMessage: 'Pending',
|