@capillarytech/creatives-library 8.0.353-alpha.6 → 8.0.353
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/constants/unified.js +0 -29
- package/package.json +1 -1
- package/services/tests/api.test.js +20 -35
- package/utils/commonUtils.js +1 -19
- package/v2Components/CapActionButton/constants.js +0 -7
- package/v2Components/CapActionButton/index.js +108 -166
- package/v2Components/CapActionButton/index.scss +6 -157
- package/v2Components/CapActionButton/messages.js +3 -19
- package/v2Components/CapActionButton/tests/index.test.js +17 -41
- package/v2Components/CapTagList/index.js +0 -10
- package/v2Components/CommonTestAndPreview/CustomValuesEditor.js +49 -72
- package/v2Components/CommonTestAndPreview/DeliverySettings/DeliverySettings.scss +2 -8
- package/v2Components/CommonTestAndPreview/DeliverySettings/ModifyDeliverySettings.js +21 -213
- package/v2Components/CommonTestAndPreview/DeliverySettings/constants.js +0 -16
- package/v2Components/CommonTestAndPreview/DeliverySettings/index.js +10 -85
- package/v2Components/CommonTestAndPreview/DeliverySettings/messages.js +0 -30
- package/v2Components/CommonTestAndPreview/DeliverySettings/utils/parseSenderDetailsResponse.js +11 -79
- package/v2Components/CommonTestAndPreview/SendTestMessage.js +5 -10
- package/v2Components/CommonTestAndPreview/UnifiedPreview/RcsPreviewContent.js +15 -157
- package/v2Components/CommonTestAndPreview/UnifiedPreview/_unifiedPreview.scss +76 -346
- package/v2Components/CommonTestAndPreview/UnifiedPreview/index.js +4 -133
- package/v2Components/CommonTestAndPreview/_commonTestAndPreview.scss +0 -11
- package/v2Components/CommonTestAndPreview/constants.js +2 -38
- package/v2Components/CommonTestAndPreview/index.js +186 -691
- package/v2Components/CommonTestAndPreview/messages.js +3 -45
- package/v2Components/CommonTestAndPreview/sagas.js +6 -25
- package/v2Components/CommonTestAndPreview/tests/CustomValuesEditor.test.js +284 -308
- package/v2Components/CommonTestAndPreview/tests/DeliverySettings/ModifyDeliverySettings.test.js +65 -231
- package/v2Components/CommonTestAndPreview/tests/DeliverySettings/index.test.js +5 -118
- package/v2Components/CommonTestAndPreview/tests/DeliverySettings/utils/parseSenderDetailsResponse.test.js +0 -341
- package/v2Components/CommonTestAndPreview/tests/PreviewSection.test.js +1 -8
- package/v2Components/CommonTestAndPreview/tests/SendTestMessage.test.js +13 -34
- package/v2Components/CommonTestAndPreview/tests/UnifiedPreview/RcsPreviewContent.test.js +283 -281
- package/v2Components/CommonTestAndPreview/tests/UnifiedPreview/index.test.js +1 -199
- package/v2Components/CommonTestAndPreview/tests/index.test.js +4 -132
- package/v2Components/CommonTestAndPreview/tests/sagas.test.js +26 -36
- package/v2Components/FormBuilder/index.js +168 -63
- package/v2Components/TemplatePreview/_templatePreview.scss +23 -38
- package/v2Components/TemplatePreview/index.js +31 -143
- package/v2Components/TemplatePreview/tests/index.test.js +0 -142
- package/v2Components/TestAndPreviewSlidebox/index.js +1 -13
- package/v2Components/TestAndPreviewSlidebox/sagas.js +4 -11
- package/v2Components/TestAndPreviewSlidebox/tests/saga.test.js +1 -3
- package/v2Containers/CreativesContainer/SlideBoxContent.js +4 -36
- package/v2Containers/CreativesContainer/SlideBoxFooter.js +1 -10
- package/v2Containers/CreativesContainer/SlideBoxHeader.js +4 -29
- package/v2Containers/CreativesContainer/constants.js +0 -9
- package/v2Containers/CreativesContainer/index.js +163 -346
- package/v2Containers/CreativesContainer/index.scss +1 -51
- package/v2Containers/CreativesContainer/tests/SlideBoxFooter.test.js +34 -78
- package/v2Containers/CreativesContainer/tests/SlideBoxHeader.test.js +16 -79
- package/v2Containers/CreativesContainer/tests/__snapshots__/SlideBoxContent.test.js.snap +0 -8
- package/v2Containers/CreativesContainer/tests/__snapshots__/SlideBoxHeader.test.js.snap +98 -357
- package/v2Containers/CreativesContainer/tests/__snapshots__/index.test.js.snap +15 -20
- package/v2Containers/CreativesContainer/tests/index.test.js +9 -71
- package/v2Containers/MobilePush/Create/test/saga.test.js +2 -2
- package/v2Containers/Rcs/constants.js +10 -119
- package/v2Containers/Rcs/index.js +818 -2450
- package/v2Containers/Rcs/index.scss +8 -280
- package/v2Containers/Rcs/messages.js +3 -34
- package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +70073 -98018
- package/v2Containers/Rcs/tests/__snapshots__/utils.test.js.snap +5 -0
- package/v2Containers/Rcs/tests/index.test.js +121 -152
- package/v2Containers/Rcs/tests/mockData.js +0 -38
- package/v2Containers/Rcs/tests/utils.test.js +30 -646
- package/v2Containers/Rcs/utils.js +11 -478
- package/v2Containers/Sms/Create/index.js +40 -106
- package/v2Containers/SmsTrai/Create/index.js +4 -9
- package/v2Containers/SmsTrai/Edit/constants.js +0 -2
- package/v2Containers/SmsTrai/Edit/index.js +130 -640
- package/v2Containers/SmsTrai/Edit/messages.js +4 -14
- package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +2296 -4249
- package/v2Containers/SmsWrapper/index.js +8 -37
- package/v2Containers/TagList/index.js +0 -6
- package/v2Containers/Templates/_templates.scss +9 -166
- package/v2Containers/Templates/actions.js +0 -11
- package/v2Containers/Templates/constants.js +0 -2
- package/v2Containers/Templates/index.js +52 -120
- package/v2Containers/Templates/sagas.js +12 -56
- package/v2Containers/Templates/tests/__snapshots__/index.test.js.snap +1017 -1062
- package/v2Containers/Templates/tests/sagas.test.js +16 -199
- package/v2Containers/TemplatesV2/TemplatesV2.style.js +1 -72
- package/v2Containers/TemplatesV2/index.js +23 -86
- package/v2Containers/WeChat/MapTemplates/test/saga.test.js +9 -9
- package/v2Containers/Whatsapp/index.js +20 -3
- package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +34 -578
- package/utils/rcsPayloadUtils.js +0 -92
- package/utils/templateVarUtils.js +0 -201
- package/utils/tests/rcsPayloadUtils.test.js +0 -226
- package/utils/tests/templateVarUtils.test.js +0 -204
- package/v2Components/CommonTestAndPreview/previewApiUtils.js +0 -59
- package/v2Components/CommonTestAndPreview/tests/previewApiUtils.test.js +0 -67
- package/v2Components/SmsFallback/SmsFallbackLocalSelector.js +0 -91
- package/v2Components/SmsFallback/constants.js +0 -73
- package/v2Components/SmsFallback/index.js +0 -956
- package/v2Components/SmsFallback/index.scss +0 -265
- package/v2Components/SmsFallback/messages.js +0 -78
- package/v2Components/SmsFallback/smsFallbackUtils.js +0 -119
- package/v2Components/SmsFallback/tests/SmsFallbackLocalSelector.test.js +0 -50
- package/v2Components/SmsFallback/tests/rcsSmsFallback.acceptance.test.js +0 -147
- package/v2Components/SmsFallback/tests/smsFallbackHandlers.test.js +0 -304
- package/v2Components/SmsFallback/tests/smsFallbackUi.test.js +0 -223
- package/v2Components/SmsFallback/tests/smsFallbackUtils.test.js +0 -309
- package/v2Components/SmsFallback/tests/useLocalTemplateList.test.js +0 -422
- package/v2Components/SmsFallback/useLocalTemplateList.js +0 -92
- package/v2Components/TemplatePreview/constants.js +0 -2
- package/v2Components/VarSegmentMessageEditor/constants.js +0 -2
- package/v2Components/VarSegmentMessageEditor/index.js +0 -125
- package/v2Components/VarSegmentMessageEditor/index.scss +0 -46
- package/v2Containers/CreativesContainer/CreativesSlideBoxWrapper.js +0 -43
- package/v2Containers/CreativesContainer/embeddedSlideboxUtils.js +0 -79
- package/v2Containers/CreativesContainer/tests/SlideBoxContent.localTemplates.test.js +0 -90
- package/v2Containers/CreativesContainer/tests/embeddedSlideboxUtils.test.js +0 -258
- package/v2Containers/CreativesContainer/tests/useLocalTemplatesProp.test.js +0 -125
- package/v2Containers/Rcs/rcsLibraryHydrationUtils.js +0 -225
- package/v2Containers/Rcs/tests/rcsLibraryHydrationUtils.test.js +0 -318
- package/v2Containers/Sms/smsFormDataHelpers.js +0 -67
- package/v2Containers/Sms/tests/smsFormDataHelpers.test.js +0 -253
- package/v2Containers/SmsTrai/Edit/index.scss +0 -121
- package/v2Containers/Templates/TemplatesActionBar.js +0 -101
- package/v2Containers/Templates/tests/TemplatesActionBar.test.js +0 -120
- package/v2Containers/Templates/tests/smsTemplatesListApi.test.js +0 -180
- package/v2Containers/Templates/utils/smsTemplatesListApi.js +0 -79
- package/v2Containers/TemplatesV2/tests/TemplatesV2.localTemplates.test.js +0 -131
|
@@ -5,56 +5,18 @@
|
|
|
5
5
|
position: fixed;
|
|
6
6
|
bottom: 0;
|
|
7
7
|
width: 100%;
|
|
8
|
-
margin-left: -
|
|
8
|
+
margin-left: -32px;
|
|
9
9
|
padding: $CAP_SPACE_32 $CAP_SPACE_24;
|
|
10
|
-
margin-top:
|
|
10
|
+
margin-top: 40px;
|
|
11
11
|
z-index: 1;
|
|
12
12
|
.ant-btn {
|
|
13
13
|
margin-right: $CAP_SPACE_16;
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
.rcs-test-preview-btn {
|
|
17
|
-
margin-left: $CAP_SPACE_08;
|
|
18
|
-
}
|
|
19
15
|
}
|
|
20
16
|
|
|
21
17
|
.cap-rcs-creatives {
|
|
22
|
-
.rcs-creative-name-readonly {
|
|
23
|
-
margin-bottom: $CAP_SPACE_24;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.rcs-creative-name-value {
|
|
27
|
-
margin-top: $CAP_SPACE_08;
|
|
28
|
-
font-weight: 400;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
18
|
.rcs-scroll-div {
|
|
32
|
-
margin-bottom:
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.rcs-edit-mode {
|
|
36
|
-
.rcs-scroll-div {
|
|
37
|
-
margin-bottom: 15.625rem;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.rcs-edit-template-message-input {
|
|
41
|
-
background-color: $CAP_G10;
|
|
42
|
-
padding: $CAP_SPACE_12 $CAP_SPACE_16;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.rcs-edit-template-message-split {
|
|
46
|
-
margin-bottom: $CAP_SPACE_08;
|
|
47
|
-
overflow: hidden;
|
|
48
|
-
text-overflow: ellipsis;
|
|
49
|
-
color: $FONT_COLOR_03;
|
|
50
|
-
font-weight: 500;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/* Keep message box text lighter across RCS flows */
|
|
55
|
-
.rcs-edit-template-message-split {
|
|
56
|
-
color: $FONT_COLOR_03;
|
|
57
|
-
font-weight: 500;
|
|
19
|
+
margin-bottom: 150px;
|
|
58
20
|
}
|
|
59
21
|
.rcs-preview-container {
|
|
60
22
|
.cap-row-v2 {
|
|
@@ -62,52 +24,18 @@
|
|
|
62
24
|
}
|
|
63
25
|
}
|
|
64
26
|
.rcs-optional-label {
|
|
65
|
-
margin-left:
|
|
27
|
+
margin-left: 8px;
|
|
66
28
|
color: $FONT_COLOR_03;
|
|
67
29
|
font-weight: normal;
|
|
68
30
|
}
|
|
69
31
|
.rcs_text_area_wrapper {
|
|
70
32
|
position: relative;
|
|
71
33
|
}
|
|
72
|
-
.rcs-edit-template-message-input .ant-input,
|
|
73
|
-
.rcs-edit-template-message-input textarea.ant-input {
|
|
74
|
-
border-color: $CAP_G07;
|
|
75
|
-
box-shadow: none;
|
|
76
|
-
min-height: 2.5rem;
|
|
77
|
-
padding-top: $CAP_SPACE_08;
|
|
78
|
-
padding-bottom: $CAP_SPACE_08;
|
|
79
|
-
overflow: hidden;
|
|
80
|
-
}
|
|
81
|
-
.rcs-edit-template-message-input .ant-input:focus,
|
|
82
|
-
.rcs-edit-template-message-input .ant-input:active,
|
|
83
|
-
.rcs-edit-template-message-input textarea.ant-input:focus,
|
|
84
|
-
.rcs-edit-template-message-input textarea.ant-input:active {
|
|
85
|
-
border-color: $CAP_G07;
|
|
86
|
-
box-shadow: none;
|
|
87
|
-
outline: none;
|
|
88
|
-
}
|
|
89
34
|
.rcs-button{
|
|
90
35
|
display: inline-grid;
|
|
91
36
|
}
|
|
92
|
-
.rcs-
|
|
93
|
-
margin-bottom:
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.rcs-form-section-heading {
|
|
97
|
-
display: flex;
|
|
98
|
-
margin-top: $CAP_SPACE_20;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.rcs-image-upload--top-spacing {
|
|
102
|
-
padding-top: $CAP_SPACE_20;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.rcs-dimension-select--bottom-spacing {
|
|
106
|
-
margin-bottom: $CAP_SPACE_20;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.rcs-fallback-section-divider {
|
|
110
|
-
margin: $CAP_SPACE_28 0;
|
|
37
|
+
.rcs-button-label{
|
|
38
|
+
margin-bottom: 17px;
|
|
111
39
|
}
|
|
112
40
|
.disabled-button{
|
|
113
41
|
opacity: 0.5;
|
|
@@ -141,11 +69,9 @@
|
|
|
141
69
|
overflow: hidden;
|
|
142
70
|
&.title{
|
|
143
71
|
-webkit-line-clamp: 1;
|
|
144
|
-
line-clamp: 1;
|
|
145
72
|
}
|
|
146
73
|
&.desc{
|
|
147
74
|
-webkit-line-clamp: 5;
|
|
148
|
-
line-clamp: 5;
|
|
149
75
|
}
|
|
150
76
|
&.rcs-button-text{
|
|
151
77
|
padding-top: 13px;
|
|
@@ -154,71 +80,13 @@
|
|
|
154
80
|
}
|
|
155
81
|
.rcs-listing-image {
|
|
156
82
|
margin-bottom: 8px;
|
|
157
|
-
width:
|
|
158
|
-
|
|
159
|
-
object-fit: cover;
|
|
160
|
-
display: block;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
// Templates listing preview (RCS): carousel should show a "peek" of next card like WhatsApp listing.
|
|
164
|
-
&.rcs-template-listing-preview {
|
|
165
|
-
&.is-carousel {
|
|
166
|
-
.rcs-listing-carousel-scroll {
|
|
167
|
-
overflow-x: auto;
|
|
168
|
-
display: flex;
|
|
169
|
-
padding-top: $CAP_SPACE_06;
|
|
170
|
-
padding-right: $CAP_SPACE_06;
|
|
171
|
-
white-space: nowrap;
|
|
172
|
-
scrollbar-width: none;
|
|
173
|
-
&::-webkit-scrollbar {
|
|
174
|
-
display: none;
|
|
175
|
-
}
|
|
176
|
-
// Listing should show a peek (no horizontal scroll interaction needed)
|
|
177
|
-
overflow: hidden;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.rcs-listing-carousel-card {
|
|
181
|
-
padding: $CAP_SPACE_04 0 $CAP_SPACE_08;
|
|
182
|
-
border-radius: $CAP_SPACE_06;
|
|
183
|
-
background-color: $CAP_WHITE;
|
|
184
|
-
width: 80%;
|
|
185
|
-
flex-shrink: 0;
|
|
186
|
-
margin-right: $CAP_SPACE_04;
|
|
187
|
-
white-space: normal;
|
|
188
|
-
text-align: left;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.rcs-listing-carousel-img {
|
|
192
|
-
width: 100%;
|
|
193
|
-
height: 6.4375rem; // match rcs-listing-image height (103px)
|
|
194
|
-
object-fit: cover;
|
|
195
|
-
display: block;
|
|
196
|
-
margin-bottom: $CAP_SPACE_08;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.rcs-listing-carousel-title,
|
|
200
|
-
.rcs-listing-carousel-desc {
|
|
201
|
-
display: block;
|
|
202
|
-
padding: 0 $CAP_SPACE_12;
|
|
203
|
-
}
|
|
204
|
-
.rcs-listing-carousel-desc {
|
|
205
|
-
margin-top: $CAP_SPACE_04;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
83
|
+
width: 220px;
|
|
84
|
+
height: 103px;
|
|
208
85
|
}
|
|
209
86
|
.fallback-sms-length {
|
|
210
87
|
margin-top: 13px;
|
|
211
88
|
float: right;
|
|
212
89
|
}
|
|
213
|
-
.rcs-character-count {
|
|
214
|
-
color: $FONT_COLOR_03;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.rcs-carousel-character-count-row {
|
|
218
|
-
display: flex;
|
|
219
|
-
justify-content: flex-end;
|
|
220
|
-
margin-top: $CAP_SPACE_08;
|
|
221
|
-
}
|
|
222
90
|
.rcs-fallback-len-error{
|
|
223
91
|
margin-top: 8px;
|
|
224
92
|
}
|
|
@@ -252,140 +120,6 @@
|
|
|
252
120
|
#rcs-dimension-select{
|
|
253
121
|
width: 100%;
|
|
254
122
|
}
|
|
255
|
-
|
|
256
|
-
.rcs-carousel-section {
|
|
257
|
-
margin-top: $CAP_SPACE_12;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.rcs-carousel-dimension-section {
|
|
261
|
-
margin-top: 1.25rem;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.rcs-carousel-selected-dimension {
|
|
265
|
-
display: block;
|
|
266
|
-
margin-top: 8px;
|
|
267
|
-
color: $FONT_COLOR_03;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.rcs-carousel-dimension-label {
|
|
271
|
-
display: inline-block;
|
|
272
|
-
margin-bottom: 6px;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
#rcs-carousel-height-select,
|
|
276
|
-
#rcs-carousel-width-select {
|
|
277
|
-
width: 100%;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.rcs-carousel-tab {
|
|
281
|
-
margin-top: 12px;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.rcs-carousel-card {
|
|
285
|
-
margin-top: 12px;
|
|
286
|
-
|
|
287
|
-
// Match carousel card header: title left, icon-only delete right (Figma / product reference).
|
|
288
|
-
&.cap-card-v2.ant-card {
|
|
289
|
-
.ant-card-head {
|
|
290
|
-
min-height: 48px;
|
|
291
|
-
padding: 0 $CAP_SPACE_16;
|
|
292
|
-
border-bottom: 1px solid #e8e8e8;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.ant-card-head-title {
|
|
296
|
-
padding: $CAP_SPACE_12 0;
|
|
297
|
-
font-weight: 600;
|
|
298
|
-
color: $CAP_G01;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
.ant-card-extra {
|
|
302
|
-
padding: $CAP_SPACE_08 0;
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.rcs-carousel-card-delete.ant-btn.cap-button-v2 {
|
|
307
|
-
display: inline-flex;
|
|
308
|
-
align-items: center;
|
|
309
|
-
justify-content: center;
|
|
310
|
-
min-width: auto;
|
|
311
|
-
width: 2rem;
|
|
312
|
-
height: 2rem;
|
|
313
|
-
padding: 0;
|
|
314
|
-
border: none;
|
|
315
|
-
box-shadow: none;
|
|
316
|
-
color: $CAP_G01;
|
|
317
|
-
|
|
318
|
-
&:not(:disabled):hover {
|
|
319
|
-
// Match $CAP_SECONDARY base from cap-ui-library (avoid map-get — node-sass can mis-resolve imported maps).
|
|
320
|
-
color: #2466ea;
|
|
321
|
-
background-color: rgba(0, 0, 0, 0.04);
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
&:disabled {
|
|
325
|
-
color: rgba(0, 0, 0, 0.25);
|
|
326
|
-
background: transparent;
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
.rcs-carousel-delete-tooltip-wrap.button-disabled-tooltip-wrapper {
|
|
331
|
-
display: inline-flex;
|
|
332
|
-
align-items: center;
|
|
333
|
-
cursor: not-allowed;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.rcs-carousel-card-row {
|
|
338
|
-
margin-bottom: 12px;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
.rcs-carousel-media-selection {
|
|
342
|
-
margin-top: 0.75rem;
|
|
343
|
-
margin-bottom: 0.75rem;
|
|
344
|
-
align-items: center;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
// Carousel upload previews: keep media preview compact (CapImageUpload uses height=400 by default)
|
|
348
|
-
.rcs-carousel-media-upload {
|
|
349
|
-
padding-top: $CAP_SPACE_20;
|
|
350
|
-
.image-container {
|
|
351
|
-
background-image: none;
|
|
352
|
-
border: 0;
|
|
353
|
-
width: 100%;
|
|
354
|
-
max-width: 560px;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
.image-container img {
|
|
358
|
-
width: 100%;
|
|
359
|
-
height: auto !important;
|
|
360
|
-
max-height: 240px;
|
|
361
|
-
object-fit: contain;
|
|
362
|
-
display: block;
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
.rcs-carousel-card-divider {
|
|
367
|
-
margin: $CAP_SPACE_24 0;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
.rcs-content-section-divider {
|
|
371
|
-
margin: $CAP_SPACE_28 0;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
.rcs-edit-template-message-static-textarea {
|
|
375
|
-
background: #fafafa;
|
|
376
|
-
color: #888;
|
|
377
|
-
|
|
378
|
-
// Ensure styles apply to underlying textarea/input for CapInput TextArea.
|
|
379
|
-
textarea,
|
|
380
|
-
.ant-input {
|
|
381
|
-
background: #fafafa;
|
|
382
|
-
color: #888;
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
.add-carousel-content-button {
|
|
387
|
-
padding: 0 $CAP_SPACE_08;
|
|
388
|
-
}
|
|
389
123
|
}
|
|
390
124
|
.rcs-fallback-preview > .cap-slide-box-v2-container.size-r{
|
|
391
125
|
min-width: 430px;
|
|
@@ -393,12 +127,6 @@
|
|
|
393
127
|
width: 430px;
|
|
394
128
|
}
|
|
395
129
|
|
|
396
|
-
// SMS fallback slidebox / tag popover: see v2Components/SmsFallback/index.scss (loaded with SmsFallback)
|
|
397
|
-
|
|
398
|
-
.template-status-container {
|
|
399
|
-
margin-bottom: $CAP_SPACE_24;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
130
|
.rcs-button-cta{
|
|
403
131
|
margin-top: 1.25rem;
|
|
404
132
|
margin-bottom: 0.75rem;
|
|
@@ -6,14 +6,6 @@ export default defineMessages({
|
|
|
6
6
|
id: `${prefix}.mediaLabel`,
|
|
7
7
|
defaultMessage: 'Media',
|
|
8
8
|
},
|
|
9
|
-
mediaTypeLabel: {
|
|
10
|
-
id: `${prefix}.mediaTypeLabel`,
|
|
11
|
-
defaultMessage: 'Media type',
|
|
12
|
-
},
|
|
13
|
-
carouselMediaVideoOption: {
|
|
14
|
-
id: `${prefix}.carouselMediaVideoOption`,
|
|
15
|
-
defaultMessage: 'Video',
|
|
16
|
-
},
|
|
17
9
|
approvedStatusMsg: {
|
|
18
10
|
id: `${prefix}.approvedStatusMsg`,
|
|
19
11
|
defaultMessage: 'This template has been approved',
|
|
@@ -202,10 +194,6 @@ export default defineMessages({
|
|
|
202
194
|
id: `${prefix}.disabledCarouselTooltip`,
|
|
203
195
|
defaultMessage: 'Not yet enabled. Coming soon!',
|
|
204
196
|
},
|
|
205
|
-
rcsCarouselMinCardDeleteTooltip: {
|
|
206
|
-
id: `${prefix}.rcsCarouselMinCardDeleteTooltip`,
|
|
207
|
-
defaultMessage: 'At least 1 card needs to be added in the carousel template',
|
|
208
|
-
},
|
|
209
197
|
templateNamePlaceholder: {
|
|
210
198
|
id: `${prefix}.templateNamePlaceholder`,
|
|
211
199
|
defaultMessage: 'Enter template name',
|
|
@@ -274,10 +262,6 @@ export default defineMessages({
|
|
|
274
262
|
id: `${prefix}.fallbackLabel`,
|
|
275
263
|
defaultMessage: 'Fallback SMS message',
|
|
276
264
|
},
|
|
277
|
-
smsFallbackOptional: {
|
|
278
|
-
id: `${prefix}.smsFallbackOptional`,
|
|
279
|
-
defaultMessage: 'Fallback SMS message (Optional)',
|
|
280
|
-
},
|
|
281
265
|
fallbackDesc: {
|
|
282
266
|
id: `${prefix}.fallbackDesc`,
|
|
283
267
|
defaultMessage: 'We would suggest to add fallback SMS',
|
|
@@ -297,12 +281,7 @@ export default defineMessages({
|
|
|
297
281
|
},
|
|
298
282
|
fallbackMsgPlaceholder: {
|
|
299
283
|
id: `${prefix}.fallbackMsgPlaceholder`,
|
|
300
|
-
defaultMessage: '
|
|
301
|
-
},
|
|
302
|
-
/** Shown only when a {{…}} slot has no value — not the saved text (that uses the input value). */
|
|
303
|
-
rcsVarSlotPlaceholder: {
|
|
304
|
-
id: `${prefix}.rcsVarSlotPlaceholder`,
|
|
305
|
-
defaultMessage: 'Add labels or text',
|
|
284
|
+
defaultMessage: 'Enter the text message content for fallback SMS',
|
|
306
285
|
},
|
|
307
286
|
totalCharacters: {
|
|
308
287
|
id: `${prefix}.totalCharacters`,
|
|
@@ -478,8 +457,7 @@ export default defineMessages({
|
|
|
478
457
|
},
|
|
479
458
|
unknownCharactersError: {
|
|
480
459
|
id: `${prefix}.unknownCharactersError`,
|
|
481
|
-
defaultMessage:
|
|
482
|
-
'Only letters, numbers, underscores, and dots are allowed in custom param (e.g. tag.FORMAT_1). Spaces and other special characters are not allowed.',
|
|
460
|
+
defaultMessage: 'Only alphanumeric characters and underscore are allowed in custom param. Spaces/other special characters are not allowed.',
|
|
483
461
|
},
|
|
484
462
|
emptyVariableError: {
|
|
485
463
|
id: `${prefix}.emptyVariableError`,
|
|
@@ -509,13 +487,4 @@ export default defineMessages({
|
|
|
509
487
|
id: `${prefix}.rcsTestPreviewDisabledTooltip`,
|
|
510
488
|
defaultMessage: 'Preview and test is only available after the template is approved.',
|
|
511
489
|
},
|
|
512
|
-
|
|
513
|
-
id: `${prefix}.reUpload`,
|
|
514
|
-
defaultMessage: 'Reupload',
|
|
515
|
-
},
|
|
516
|
-
/** Carousel video card thumbnail size label (see RCS_CAROUSEL_VIDEO_THUMBNAIL_DIMENSIONS). */
|
|
517
|
-
rcsCarouselVideoThumbnailLabel: {
|
|
518
|
-
id: `${prefix}.rcsCarouselVideoThumbnailLabel`,
|
|
519
|
-
defaultMessage: 'Thumbnail ({width} × {height})',
|
|
520
|
-
},
|
|
521
|
-
});
|
|
490
|
+
});
|