@capillarytech/creatives-library 7.17.82-alpha.0 → 7.17.82
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/Cap/sagas.js +7 -5
- package/containers/Cap/tests/saga.test.js +81 -1
- package/package.json +2 -2
- package/v2Components/CapWhatsappQuickReply/index.js +96 -83
- package/v2Components/CapWhatsappQuickReply/index.scss +4 -1
- package/v2Components/CapWhatsappQuickReply/messages.js +4 -0
- package/v2Components/TemplatePreview/_templatePreview.scss +3 -0
- package/v2Components/TemplatePreview/index.js +10 -25
- package/v2Components/TemplatePreview/tests/__snapshots__/index.test.js.snap +0 -14
- package/v2Containers/CreativesContainer/index.js +18 -2
- package/v2Containers/CreativesContainer/tests/__snapshots__/SlideBoxContent.test.js.snap +4 -4
- package/v2Containers/Templates/index.js +3 -3
- package/v2Containers/Whatsapp/constants.js +2 -1
- package/v2Containers/Whatsapp/index.js +280 -251
- package/v2Containers/Whatsapp/index.scss +6 -1
- package/v2Containers/Whatsapp/messages.js +5 -0
- package/v2Containers/Whatsapp/styles.scss +6 -3
- package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +4586 -53228
- package/v2Containers/Whatsapp/tests/__snapshots__/utils.test.js.snap +20 -20
- package/v2Containers/Whatsapp/utils.js +13 -13
- package/v2Containers/mockdata.js +8 -18
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.whatsapp-footer-edit-container {
|
|
76
|
-
background-color:
|
|
76
|
+
background-color: $CAP_G10;
|
|
77
77
|
margin: $CAP_SPACE_08 0;
|
|
78
78
|
padding: $CAP_SPACE_12;
|
|
79
79
|
.whatsapp-footer-edit-text {
|
|
@@ -129,6 +129,7 @@
|
|
|
129
129
|
|
|
130
130
|
.whatsapp-button-quick-reply {
|
|
131
131
|
display: inline-grid;
|
|
132
|
+
margin-top: $CAP_SPACE_24;
|
|
132
133
|
}
|
|
133
134
|
|
|
134
135
|
.whatsapp-optional-label {
|
|
@@ -192,4 +193,8 @@
|
|
|
192
193
|
font-size: 0.571rem;
|
|
193
194
|
margin-top: $CAP_SPACE_08;
|
|
194
195
|
}
|
|
196
|
+
|
|
197
|
+
.whatsapp-text-field_spacing {
|
|
198
|
+
margin-left: $CAP_SPACE_04;
|
|
199
|
+
}
|
|
195
200
|
}
|
|
@@ -184,6 +184,11 @@ export default defineMessages({
|
|
|
184
184
|
defaultMessage:
|
|
185
185
|
'Variable name should be numeric value from {one} to {nineteen}',
|
|
186
186
|
},
|
|
187
|
+
headerUnknownVars: {
|
|
188
|
+
id: `${prefix}.headerUnknownVars`,
|
|
189
|
+
defaultMessage:
|
|
190
|
+
'Variable name should be numeric value and its always {{1}}',
|
|
191
|
+
},
|
|
187
192
|
removeMultinewlineChars: {
|
|
188
193
|
id: `${prefix}.removeMultinewlineChars`,
|
|
189
194
|
defaultMessage:
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.whatsapp-template-header-preview {
|
|
44
|
+
.whatsapp-template-list-header-preview {
|
|
45
45
|
color: $CAP_G01;
|
|
46
46
|
font-weight: $FONT_WEIGHT_MEDIUM;
|
|
47
47
|
font-size: $FONT_SIZE_M;
|
|
48
48
|
margin-bottom: $CAP_SPACE_08;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.whatsapp-template-footer-preview {
|
|
51
|
+
.whatsapp-template-list-footer-preview {
|
|
52
52
|
color: $CAP_G04;
|
|
53
53
|
font-weight: $FONT_WEIGHT_REGULAR;
|
|
54
54
|
font-size: $FONT_SIZE_VS;
|
|
@@ -56,11 +56,14 @@
|
|
|
56
56
|
margin-bottom: $CAP_SPACE_08;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.whatsapp-list-
|
|
59
|
+
.whatsapp-list-quick-reply-preview {
|
|
60
60
|
margin: $CAP_SPACE_12 0;
|
|
61
61
|
display: flex;
|
|
62
62
|
justify-content: center;
|
|
63
63
|
font-size: $FONT_SIZE_M;
|
|
64
|
+
svg {
|
|
65
|
+
margin-right: $CAP_SPACE_04;
|
|
66
|
+
}
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
.whatsapp-list-view-divider {
|