@capillarytech/creatives-library 8.0.345-alpha.12 → 8.0.345-alpha.13
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/api.js +20 -0
- package/services/tests/api.test.js +59 -13
- package/utils/commonUtils.js +1 -19
- package/v2Components/CapActionButton/constants.js +0 -7
- package/v2Components/CapActionButton/index.js +109 -167
- 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/CapCustomSkeleton/index.js +1 -1
- package/v2Components/CapCustomSkeleton/tests/__snapshots__/index.test.js.snap +12 -12
- package/v2Components/CapTagList/index.js +0 -10
- package/v2Components/CommonTestAndPreview/CustomValuesEditor.js +49 -70
- package/v2Components/CommonTestAndPreview/DeliverySettings/DeliverySettings.scss +2 -8
- package/v2Components/CommonTestAndPreview/DeliverySettings/ModifyDeliverySettings.js +21 -207
- 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 -160
- package/v2Components/CommonTestAndPreview/UnifiedPreview/_unifiedPreview.scss +76 -341
- 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 -676
- package/v2Components/CommonTestAndPreview/messages.js +3 -49
- package/v2Components/CommonTestAndPreview/sagas.js +6 -15
- 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 +2 -2
- package/v2Components/FormBuilder/index.js +10 -8
- package/v2Components/TemplatePreview/_templatePreview.scss +23 -33
- package/v2Components/TemplatePreview/index.js +28 -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/Assets/images/archive_Empty_Illustration.svg +9 -0
- package/v2Containers/CreativesContainer/SlideBoxContent.js +4 -36
- package/v2Containers/CreativesContainer/SlideBoxFooter.js +4 -11
- package/v2Containers/CreativesContainer/SlideBoxHeader.js +4 -29
- package/v2Containers/CreativesContainer/constants.js +0 -9
- package/v2Containers/CreativesContainer/index.js +108 -300
- package/v2Containers/CreativesContainer/index.scss +1 -51
- package/v2Containers/CreativesContainer/messages.js +4 -0
- 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 +18 -20
- package/v2Containers/CreativesContainer/tests/index.test.js +9 -71
- package/v2Containers/Rcs/constants.js +8 -119
- package/v2Containers/Rcs/index.js +812 -2375
- package/v2Containers/Rcs/index.scss +6 -276
- package/v2Containers/Rcs/messages.js +3 -38
- package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +70345 -98302
- 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 -100
- package/v2Containers/SmsTrai/Create/index.js +4 -9
- package/v2Containers/SmsTrai/Edit/constants.js +0 -2
- package/v2Containers/SmsTrai/Edit/index.js +130 -636
- 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/ChannelTypeIllustration.js +23 -6
- package/v2Containers/Templates/_templates.scss +126 -181
- package/v2Containers/Templates/actions.js +36 -11
- package/v2Containers/Templates/constants.js +23 -2
- package/v2Containers/Templates/index.js +333 -142
- package/v2Containers/Templates/messages.js +68 -0
- package/v2Containers/Templates/reducer.js +68 -0
- package/v2Containers/Templates/sagas.js +98 -55
- package/v2Containers/Templates/selectors.js +12 -0
- package/v2Containers/Templates/tests/ChannelTypeIllustration.test.js +12 -0
- package/v2Containers/Templates/tests/__snapshots__/index.test.js.snap +1256 -1042
- package/v2Containers/Templates/tests/index.test.js +6 -0
- package/v2Containers/Templates/tests/reducer.test.js +178 -0
- package/v2Containers/Templates/tests/sagas.test.js +436 -200
- package/v2Containers/Templates/tests/selector.test.js +32 -0
- package/v2Containers/TemplatesV2/TemplatesV2.style.js +1 -72
- package/v2Containers/TemplatesV2/index.js +23 -86
- 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/templateVarUtils.test.js +0 -204
- package/v2Components/CommonTestAndPreview/UnifiedPreview/RcsPreviewContent.js.rej +0 -18
- package/v2Components/CommonTestAndPreview/previewApiUtils.js +0 -59
- package/v2Components/CommonTestAndPreview/tests/previewApiUtils.test.js +0 -67
- package/v2Components/SmsFallback/SmsFallbackLocalSelector.js +0 -87
- package/v2Components/SmsFallback/constants.js +0 -73
- package/v2Components/SmsFallback/index.js +0 -955
- package/v2Components/SmsFallback/index.scss +0 -265
- package/v2Components/SmsFallback/messages.js +0 -78
- package/v2Components/SmsFallback/smsFallbackUtils.js +0 -118
- 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 -197
- package/v2Components/SmsFallback/tests/smsFallbackUtils.test.js +0 -277
- 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 -67
- 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/index.js.rej +0 -1336
- package/v2Containers/Rcs/index.scss.rej +0 -74
- package/v2Containers/Rcs/rcsLibraryHydrationUtils.js +0 -225
- package/v2Containers/Rcs/tests/__snapshots__/utils.test.js.snap.rej +0 -128
- 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;
|
|
@@ -157,66 +83,10 @@
|
|
|
157
83
|
width: 220px;
|
|
158
84
|
height: 103px;
|
|
159
85
|
}
|
|
160
|
-
|
|
161
|
-
// Templates listing preview (RCS): carousel should show a "peek" of next card like WhatsApp listing.
|
|
162
|
-
&.rcs-template-listing-preview {
|
|
163
|
-
&.is-carousel {
|
|
164
|
-
.rcs-listing-carousel-scroll {
|
|
165
|
-
overflow-x: auto;
|
|
166
|
-
display: flex;
|
|
167
|
-
padding-top: $CAP_SPACE_06;
|
|
168
|
-
padding-right: $CAP_SPACE_06;
|
|
169
|
-
white-space: nowrap;
|
|
170
|
-
scrollbar-width: none;
|
|
171
|
-
&::-webkit-scrollbar {
|
|
172
|
-
display: none;
|
|
173
|
-
}
|
|
174
|
-
// Listing should show a peek (no horizontal scroll interaction needed)
|
|
175
|
-
overflow: hidden;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.rcs-listing-carousel-card {
|
|
179
|
-
padding: $CAP_SPACE_04 0 $CAP_SPACE_08;
|
|
180
|
-
border-radius: $CAP_SPACE_06;
|
|
181
|
-
background-color: $CAP_WHITE;
|
|
182
|
-
width: 80%;
|
|
183
|
-
flex-shrink: 0;
|
|
184
|
-
margin-right: $CAP_SPACE_04;
|
|
185
|
-
white-space: normal;
|
|
186
|
-
text-align: left;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.rcs-listing-carousel-img {
|
|
190
|
-
width: 100%;
|
|
191
|
-
height: 6.4375rem; // match rcs-listing-image height (103px)
|
|
192
|
-
object-fit: cover;
|
|
193
|
-
display: block;
|
|
194
|
-
margin-bottom: $CAP_SPACE_08;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.rcs-listing-carousel-title,
|
|
198
|
-
.rcs-listing-carousel-desc {
|
|
199
|
-
display: block;
|
|
200
|
-
padding: 0 $CAP_SPACE_12;
|
|
201
|
-
}
|
|
202
|
-
.rcs-listing-carousel-desc {
|
|
203
|
-
margin-top: $CAP_SPACE_04;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
86
|
.fallback-sms-length {
|
|
208
87
|
margin-top: 13px;
|
|
209
88
|
float: right;
|
|
210
89
|
}
|
|
211
|
-
.rcs-character-count {
|
|
212
|
-
color: $FONT_COLOR_03;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.rcs-carousel-character-count-row {
|
|
216
|
-
display: flex;
|
|
217
|
-
justify-content: flex-end;
|
|
218
|
-
margin-top: $CAP_SPACE_08;
|
|
219
|
-
}
|
|
220
90
|
.rcs-fallback-len-error{
|
|
221
91
|
margin-top: 8px;
|
|
222
92
|
}
|
|
@@ -250,140 +120,6 @@
|
|
|
250
120
|
#rcs-dimension-select{
|
|
251
121
|
width: 100%;
|
|
252
122
|
}
|
|
253
|
-
|
|
254
|
-
.rcs-carousel-section {
|
|
255
|
-
margin-top: $CAP_SPACE_12;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.rcs-carousel-dimension-section {
|
|
259
|
-
margin-top: 1.25rem;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.rcs-carousel-selected-dimension {
|
|
263
|
-
display: block;
|
|
264
|
-
margin-top: 8px;
|
|
265
|
-
color: $FONT_COLOR_03;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.rcs-carousel-dimension-label {
|
|
269
|
-
display: inline-block;
|
|
270
|
-
margin-bottom: 6px;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
#rcs-carousel-height-select,
|
|
274
|
-
#rcs-carousel-width-select {
|
|
275
|
-
width: 100%;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.rcs-carousel-tab {
|
|
279
|
-
margin-top: 12px;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.rcs-carousel-card {
|
|
283
|
-
margin-top: 12px;
|
|
284
|
-
|
|
285
|
-
// Match carousel card header: title left, icon-only delete right (Figma / product reference).
|
|
286
|
-
&.cap-card-v2.ant-card {
|
|
287
|
-
.ant-card-head {
|
|
288
|
-
min-height: 48px;
|
|
289
|
-
padding: 0 $CAP_SPACE_16;
|
|
290
|
-
border-bottom: 1px solid #e8e8e8;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.ant-card-head-title {
|
|
294
|
-
padding: $CAP_SPACE_12 0;
|
|
295
|
-
font-weight: 600;
|
|
296
|
-
color: $CAP_G01;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.ant-card-extra {
|
|
300
|
-
padding: $CAP_SPACE_08 0;
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
.rcs-carousel-card-delete.ant-btn.cap-button-v2 {
|
|
305
|
-
display: inline-flex;
|
|
306
|
-
align-items: center;
|
|
307
|
-
justify-content: center;
|
|
308
|
-
min-width: auto;
|
|
309
|
-
width: 2rem;
|
|
310
|
-
height: 2rem;
|
|
311
|
-
padding: 0;
|
|
312
|
-
border: none;
|
|
313
|
-
box-shadow: none;
|
|
314
|
-
color: $CAP_G01;
|
|
315
|
-
|
|
316
|
-
&:not(:disabled):hover {
|
|
317
|
-
// Match $CAP_SECONDARY base from cap-ui-library (avoid map-get — node-sass can mis-resolve imported maps).
|
|
318
|
-
color: #2466ea;
|
|
319
|
-
background-color: rgba(0, 0, 0, 0.04);
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
&:disabled {
|
|
323
|
-
color: rgba(0, 0, 0, 0.25);
|
|
324
|
-
background: transparent;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
.rcs-carousel-delete-tooltip-wrap.button-disabled-tooltip-wrapper {
|
|
329
|
-
display: inline-flex;
|
|
330
|
-
align-items: center;
|
|
331
|
-
cursor: not-allowed;
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.rcs-carousel-card-row {
|
|
336
|
-
margin-bottom: 12px;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.rcs-carousel-media-selection {
|
|
340
|
-
margin-top: 0.75rem;
|
|
341
|
-
margin-bottom: 0.75rem;
|
|
342
|
-
align-items: center;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
// Carousel upload previews: keep media preview compact (CapImageUpload uses height=400 by default)
|
|
346
|
-
.rcs-carousel-media-upload {
|
|
347
|
-
padding-top: $CAP_SPACE_20;
|
|
348
|
-
.image-container {
|
|
349
|
-
background-image: none;
|
|
350
|
-
border: 0;
|
|
351
|
-
width: 100%;
|
|
352
|
-
max-width: 560px;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.image-container img {
|
|
356
|
-
width: 100%;
|
|
357
|
-
height: auto !important;
|
|
358
|
-
max-height: 240px;
|
|
359
|
-
object-fit: contain;
|
|
360
|
-
display: block;
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.rcs-carousel-card-divider {
|
|
365
|
-
margin: $CAP_SPACE_24 0;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
.rcs-content-section-divider {
|
|
369
|
-
margin: $CAP_SPACE_28 0;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.rcs-edit-template-message-static-textarea {
|
|
373
|
-
background: #fafafa;
|
|
374
|
-
color: #888;
|
|
375
|
-
|
|
376
|
-
// Ensure styles apply to underlying textarea/input for CapInput TextArea.
|
|
377
|
-
textarea,
|
|
378
|
-
.ant-input {
|
|
379
|
-
background: #fafafa;
|
|
380
|
-
color: #888;
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
.add-carousel-content-button {
|
|
385
|
-
padding: 0 $CAP_SPACE_08;
|
|
386
|
-
}
|
|
387
123
|
}
|
|
388
124
|
.rcs-fallback-preview > .cap-slide-box-v2-container.size-r{
|
|
389
125
|
min-width: 430px;
|
|
@@ -391,12 +127,6 @@
|
|
|
391
127
|
width: 430px;
|
|
392
128
|
}
|
|
393
129
|
|
|
394
|
-
// SMS fallback slidebox / tag popover: see v2Components/SmsFallback/index.scss (loaded with SmsFallback)
|
|
395
|
-
|
|
396
|
-
.template-status-container {
|
|
397
|
-
margin-bottom: $CAP_SPACE_24;
|
|
398
|
-
}
|
|
399
|
-
|
|
400
130
|
.rcs-button-cta{
|
|
401
131
|
margin-top: 1.25rem;
|
|
402
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',
|
|
@@ -47,10 +39,6 @@ export default defineMessages({
|
|
|
47
39
|
id: `${prefix}.btnLabel`,
|
|
48
40
|
defaultMessage: 'Buttons',
|
|
49
41
|
},
|
|
50
|
-
carouselMediaVideoOption:{
|
|
51
|
-
id: `${prefix}.carouselMediaVideoOption`,
|
|
52
|
-
defaultMessage: 'Video',
|
|
53
|
-
},
|
|
54
42
|
btnTypeNone: {
|
|
55
43
|
id: `${prefix}.btnTypeNone`,
|
|
56
44
|
defaultMessage: 'None',
|
|
@@ -206,10 +194,6 @@ export default defineMessages({
|
|
|
206
194
|
id: `${prefix}.disabledCarouselTooltip`,
|
|
207
195
|
defaultMessage: 'Not yet enabled. Coming soon!',
|
|
208
196
|
},
|
|
209
|
-
rcsCarouselMinCardDeleteTooltip: {
|
|
210
|
-
id: `${prefix}.rcsCarouselMinCardDeleteTooltip`,
|
|
211
|
-
defaultMessage: 'At least 1 card needs to be added in the carousel template',
|
|
212
|
-
},
|
|
213
197
|
templateNamePlaceholder: {
|
|
214
198
|
id: `${prefix}.templateNamePlaceholder`,
|
|
215
199
|
defaultMessage: 'Enter template name',
|
|
@@ -278,10 +262,6 @@ export default defineMessages({
|
|
|
278
262
|
id: `${prefix}.fallbackLabel`,
|
|
279
263
|
defaultMessage: 'Fallback SMS message',
|
|
280
264
|
},
|
|
281
|
-
smsFallbackOptional: {
|
|
282
|
-
id: `${prefix}.smsFallbackOptional`,
|
|
283
|
-
defaultMessage: 'Fallback SMS message (Optional)',
|
|
284
|
-
},
|
|
285
265
|
fallbackDesc: {
|
|
286
266
|
id: `${prefix}.fallbackDesc`,
|
|
287
267
|
defaultMessage: 'We would suggest to add fallback SMS',
|
|
@@ -301,12 +281,7 @@ export default defineMessages({
|
|
|
301
281
|
},
|
|
302
282
|
fallbackMsgPlaceholder: {
|
|
303
283
|
id: `${prefix}.fallbackMsgPlaceholder`,
|
|
304
|
-
defaultMessage: '
|
|
305
|
-
},
|
|
306
|
-
/** Shown only when a {{…}} slot has no value — not the saved text (that uses the input value). */
|
|
307
|
-
rcsVarSlotPlaceholder: {
|
|
308
|
-
id: `${prefix}.rcsVarSlotPlaceholder`,
|
|
309
|
-
defaultMessage: 'Add labels or text',
|
|
284
|
+
defaultMessage: 'Enter the text message content for fallback SMS',
|
|
310
285
|
},
|
|
311
286
|
totalCharacters: {
|
|
312
287
|
id: `${prefix}.totalCharacters`,
|
|
@@ -482,8 +457,7 @@ export default defineMessages({
|
|
|
482
457
|
},
|
|
483
458
|
unknownCharactersError: {
|
|
484
459
|
id: `${prefix}.unknownCharactersError`,
|
|
485
|
-
defaultMessage:
|
|
486
|
-
'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.',
|
|
487
461
|
},
|
|
488
462
|
emptyVariableError: {
|
|
489
463
|
id: `${prefix}.emptyVariableError`,
|
|
@@ -513,13 +487,4 @@ export default defineMessages({
|
|
|
513
487
|
id: `${prefix}.rcsTestPreviewDisabledTooltip`,
|
|
514
488
|
defaultMessage: 'Preview and test is only available after the template is approved.',
|
|
515
489
|
},
|
|
516
|
-
|
|
517
|
-
id: `${prefix}.reUpload`,
|
|
518
|
-
defaultMessage: 'Reupload',
|
|
519
|
-
},
|
|
520
|
-
/** Carousel video card thumbnail size label (see RCS_CAROUSEL_VIDEO_THUMBNAIL_DIMENSIONS). */
|
|
521
|
-
rcsCarouselVideoThumbnailLabel: {
|
|
522
|
-
id: `${prefix}.rcsCarouselVideoThumbnailLabel`,
|
|
523
|
-
defaultMessage: 'Thumbnail ({width} × {height})',
|
|
524
|
-
},
|
|
525
|
-
});
|
|
490
|
+
});
|