@capillarytech/creatives-library 9.0.15-alpha.1 → 9.0.16
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/global-styles.js +1 -1
- 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 +109 -168
- package/v2Components/CapActionButton/index.scss +5 -156
- package/v2Components/CapActionButton/messages.js +3 -19
- package/v2Components/CapActionButton/tests/index.test.js +18 -42
- package/v2Components/CapImageUpload/index.js +2 -2
- package/v2Components/CapTagList/index.js +0 -10
- package/v2Components/CommonTestAndPreview/CustomValuesEditor.js +48 -70
- package/v2Components/CommonTestAndPreview/DeliverySettings/DeliverySettings.scss +2 -8
- package/v2Components/CommonTestAndPreview/DeliverySettings/ModifyDeliverySettings.js +21 -214
- package/v2Components/CommonTestAndPreview/DeliverySettings/constants.js +0 -16
- package/v2Components/CommonTestAndPreview/DeliverySettings/index.js +9 -83
- package/v2Components/CommonTestAndPreview/DeliverySettings/messages.js +0 -30
- package/v2Components/CommonTestAndPreview/DeliverySettings/utils/parseSenderDetailsResponse.js +11 -60
- package/v2Components/CommonTestAndPreview/SendTestMessage.js +5 -10
- package/v2Components/CommonTestAndPreview/UnifiedPreview/RcsPreviewContent.js +23 -201
- package/v2Components/CommonTestAndPreview/UnifiedPreview/_unifiedPreview.scss +76 -355
- package/v2Components/CommonTestAndPreview/UnifiedPreview/index.js +8 -155
- package/v2Components/CommonTestAndPreview/_commonTestAndPreview.scss +0 -11
- package/v2Components/CommonTestAndPreview/constants.js +2 -38
- package/v2Components/CommonTestAndPreview/index.js +222 -761
- package/v2Components/CommonTestAndPreview/messages.js +3 -45
- package/v2Components/CommonTestAndPreview/sagas.js +6 -25
- package/v2Components/CommonTestAndPreview/tests/CommonTestAndPreview.addTestCustomer.test.js +0 -1
- package/v2Components/CommonTestAndPreview/tests/CustomValuesEditor.test.js +267 -284
- 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 -133
- package/v2Components/CommonTestAndPreview/tests/sagas.test.js +24 -31
- package/v2Components/TemplatePreview/_templatePreview.scss +22 -41
- package/v2Components/TemplatePreview/index.js +31 -143
- package/v2Components/TemplatePreview/tests/index.test.js +0 -142
- package/v2Components/TestAndPreviewSlidebox/CustomValuesEditor.js +6 -6
- 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/CommunicationFlow/Tests/CommunicationFlow.test.js +1 -4
- package/v2Containers/CommunicationFlow/steps/DeliverySettingsStep/Tests/DeliverySettingsSection.test.js +0 -4
- package/v2Containers/CommunicationFlow/steps/DeliverySettingsStep/Tests/SenderDetails.test.js +20 -20
- package/v2Containers/CreativesContainer/SlideBoxContent.js +7 -36
- package/v2Containers/CreativesContainer/SlideBoxFooter.js +5 -14
- package/v2Containers/CreativesContainer/SlideBoxHeader.js +5 -36
- package/v2Containers/CreativesContainer/constants.js +0 -11
- package/v2Containers/CreativesContainer/index.js +104 -323
- package/v2Containers/CreativesContainer/index.scss +1 -83
- package/v2Containers/CreativesContainer/tests/SlideBoxFooter.test.js +34 -79
- 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 +90 -333
- package/v2Containers/CreativesContainer/tests/__snapshots__/index.test.js.snap +15 -20
- package/v2Containers/CreativesContainer/tests/index.test.js +9 -71
- package/v2Containers/Email/index.js +5 -2
- package/v2Containers/MobilePush/Create/test/saga.test.js +2 -2
- package/v2Containers/Rcs/constants.js +11 -131
- package/v2Containers/Rcs/index.js +810 -2605
- package/v2Containers/Rcs/index.scss +8 -289
- package/v2Containers/Rcs/messages.js +3 -34
- package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +38537 -73535
- package/v2Containers/Rcs/tests/__snapshots__/utils.test.js.snap +8 -0
- package/v2Containers/Rcs/tests/index.test.js +36 -147
- 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 +48 -115
- package/v2Containers/SmsTrai/Create/index.js +4 -9
- package/v2Containers/SmsTrai/Edit/constants.js +0 -2
- package/v2Containers/SmsTrai/Edit/index.js +169 -678
- package/v2Containers/SmsTrai/Edit/messages.js +4 -14
- package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +2854 -5455
- package/v2Containers/SmsWrapper/index.js +8 -37
- package/v2Containers/TagList/index.js +0 -6
- package/v2Containers/Templates/_templates.scss +12 -171
- package/v2Containers/Templates/actions.js +0 -11
- package/v2Containers/Templates/constants.js +0 -2
- package/v2Containers/Templates/index.js +55 -125
- package/v2Containers/Templates/sagas.js +13 -57
- package/v2Containers/Templates/tests/__snapshots__/index.test.js.snap +1015 -1060
- 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/CommonTestAndPreview/utils.js +0 -84
- package/v2Components/SmsFallback/SmsFallbackLocalSelector.js +0 -91
- package/v2Components/SmsFallback/constants.js +0 -94
- package/v2Components/SmsFallback/index.js +0 -958
- package/v2Components/SmsFallback/index.scss +0 -266
- package/v2Components/SmsFallback/messages.js +0 -78
- package/v2Components/SmsFallback/smsFallbackUtils.js +0 -120
- 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 -208
- 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 -17
- 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 -227
- 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 -126
- 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,58 +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
|
-
}
|
|
20
|
-
|
|
21
|
-
// Shared between the standalone form (.cap-rcs-creatives) and the slidebox header.
|
|
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
15
|
}
|
|
30
16
|
|
|
31
17
|
.cap-rcs-creatives {
|
|
32
|
-
|
|
33
18
|
.rcs-scroll-div {
|
|
34
|
-
margin-bottom:
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&.rcs-edit-mode {
|
|
38
|
-
.rcs-scroll-div {
|
|
39
|
-
margin-bottom: 15.625rem;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.rcs-edit-template-message-input {
|
|
43
|
-
background-color: $CAP_G10;
|
|
44
|
-
padding: $CAP_SPACE_12 $CAP_SPACE_16;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.rcs-edit-template-message-split {
|
|
48
|
-
margin-bottom: $CAP_SPACE_08;
|
|
49
|
-
overflow: hidden;
|
|
50
|
-
text-overflow: ellipsis;
|
|
51
|
-
color: $FONT_COLOR_03;
|
|
52
|
-
font-weight: 500;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/* Keep message box text lighter across RCS flows */
|
|
57
|
-
.rcs-edit-template-message-split {
|
|
58
|
-
color: $FONT_COLOR_03;
|
|
59
|
-
font-weight: 500;
|
|
19
|
+
margin-bottom: 150px;
|
|
60
20
|
}
|
|
61
21
|
.rcs-preview-container {
|
|
62
22
|
.cap-row-v2 {
|
|
@@ -64,52 +24,18 @@
|
|
|
64
24
|
}
|
|
65
25
|
}
|
|
66
26
|
.rcs-optional-label {
|
|
67
|
-
margin-left:
|
|
27
|
+
margin-left: 8px;
|
|
68
28
|
color: $FONT_COLOR_03;
|
|
69
29
|
font-weight: normal;
|
|
70
30
|
}
|
|
71
31
|
.rcs_text_area_wrapper {
|
|
72
32
|
position: relative;
|
|
73
33
|
}
|
|
74
|
-
.rcs-edit-template-message-input .ant-input,
|
|
75
|
-
.rcs-edit-template-message-input textarea.ant-input {
|
|
76
|
-
border-color: $CAP_G07;
|
|
77
|
-
box-shadow: none;
|
|
78
|
-
min-height: 2.5rem;
|
|
79
|
-
padding-top: $CAP_SPACE_08;
|
|
80
|
-
padding-bottom: $CAP_SPACE_08;
|
|
81
|
-
overflow: hidden;
|
|
82
|
-
}
|
|
83
|
-
.rcs-edit-template-message-input .ant-input:focus,
|
|
84
|
-
.rcs-edit-template-message-input .ant-input:active,
|
|
85
|
-
.rcs-edit-template-message-input textarea.ant-input:focus,
|
|
86
|
-
.rcs-edit-template-message-input textarea.ant-input:active {
|
|
87
|
-
border-color: $CAP_G07;
|
|
88
|
-
box-shadow: none;
|
|
89
|
-
outline: none;
|
|
90
|
-
}
|
|
91
34
|
.rcs-button{
|
|
92
35
|
display: inline-grid;
|
|
93
36
|
}
|
|
94
|
-
.rcs-
|
|
95
|
-
margin-bottom:
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.rcs-form-section-heading {
|
|
99
|
-
display: flex;
|
|
100
|
-
margin-top: $CAP_SPACE_20;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.rcs-image-upload--top-spacing {
|
|
104
|
-
padding-top: $CAP_SPACE_20;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.rcs-dimension-select--bottom-spacing {
|
|
108
|
-
margin-bottom: $CAP_SPACE_20;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.rcs-fallback-section-divider {
|
|
112
|
-
margin: $CAP_SPACE_28 0;
|
|
37
|
+
.rcs-button-label{
|
|
38
|
+
margin-bottom: 17px;
|
|
113
39
|
}
|
|
114
40
|
.disabled-button{
|
|
115
41
|
opacity: 0.5;
|
|
@@ -136,11 +62,9 @@
|
|
|
136
62
|
overflow: hidden;
|
|
137
63
|
&.title{
|
|
138
64
|
-webkit-line-clamp: 1;
|
|
139
|
-
line-clamp: 1;
|
|
140
65
|
}
|
|
141
66
|
&.desc{
|
|
142
67
|
-webkit-line-clamp: 5;
|
|
143
|
-
line-clamp: 5;
|
|
144
68
|
}
|
|
145
69
|
&.rcs-button-text{
|
|
146
70
|
padding-top: 13px;
|
|
@@ -149,71 +73,13 @@
|
|
|
149
73
|
}
|
|
150
74
|
.rcs-listing-image {
|
|
151
75
|
margin-bottom: 8px;
|
|
152
|
-
width:
|
|
153
|
-
|
|
154
|
-
object-fit: cover;
|
|
155
|
-
display: block;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
// Templates listing preview (RCS): carousel should show a "peek" of next card like WhatsApp listing.
|
|
159
|
-
&.rcs-template-listing-preview {
|
|
160
|
-
&.is-carousel {
|
|
161
|
-
.rcs-listing-carousel-scroll {
|
|
162
|
-
overflow-x: auto;
|
|
163
|
-
display: flex;
|
|
164
|
-
padding-top: $CAP_SPACE_06;
|
|
165
|
-
padding-right: $CAP_SPACE_06;
|
|
166
|
-
white-space: nowrap;
|
|
167
|
-
scrollbar-width: none;
|
|
168
|
-
&::-webkit-scrollbar {
|
|
169
|
-
display: none;
|
|
170
|
-
}
|
|
171
|
-
// Listing should show a peek (no horizontal scroll interaction needed)
|
|
172
|
-
overflow: hidden;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.rcs-listing-carousel-card {
|
|
176
|
-
padding: $CAP_SPACE_04 0 $CAP_SPACE_08;
|
|
177
|
-
border-radius: $CAP_SPACE_06;
|
|
178
|
-
background-color: $CAP_WHITE;
|
|
179
|
-
width: 80%;
|
|
180
|
-
flex-shrink: 0;
|
|
181
|
-
margin-right: $CAP_SPACE_04;
|
|
182
|
-
white-space: normal;
|
|
183
|
-
text-align: left;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.rcs-listing-carousel-img {
|
|
187
|
-
width: 100%;
|
|
188
|
-
height: 6.4375rem; // match rcs-listing-image height (103px)
|
|
189
|
-
object-fit: cover;
|
|
190
|
-
display: block;
|
|
191
|
-
margin-bottom: $CAP_SPACE_08;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.rcs-listing-carousel-title,
|
|
195
|
-
.rcs-listing-carousel-desc {
|
|
196
|
-
display: block;
|
|
197
|
-
padding: 0 $CAP_SPACE_12;
|
|
198
|
-
}
|
|
199
|
-
.rcs-listing-carousel-desc {
|
|
200
|
-
margin-top: $CAP_SPACE_04;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
76
|
+
width: 220px;
|
|
77
|
+
height: 103px;
|
|
203
78
|
}
|
|
204
79
|
.fallback-sms-length {
|
|
205
80
|
margin-top: 13px;
|
|
206
81
|
float: right;
|
|
207
82
|
}
|
|
208
|
-
.rcs-character-count {
|
|
209
|
-
color: $FONT_COLOR_03;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.rcs-carousel-character-count-row {
|
|
213
|
-
display: flex;
|
|
214
|
-
justify-content: flex-end;
|
|
215
|
-
margin-top: $CAP_SPACE_08;
|
|
216
|
-
}
|
|
217
83
|
.rcs-fallback-len-error{
|
|
218
84
|
margin-top: 8px;
|
|
219
85
|
}
|
|
@@ -247,147 +113,6 @@
|
|
|
247
113
|
#rcs-dimension-select{
|
|
248
114
|
width: 100%;
|
|
249
115
|
}
|
|
250
|
-
|
|
251
|
-
.rcs-carousel-section {
|
|
252
|
-
margin-top: $CAP_SPACE_12;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.rcs-carousel-dimension-section {
|
|
256
|
-
margin-top: 1.25rem;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.rcs-carousel-selected-dimension {
|
|
260
|
-
display: block;
|
|
261
|
-
margin-top: 8px;
|
|
262
|
-
color: $FONT_COLOR_03;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.rcs-carousel-dimension-label {
|
|
266
|
-
display: inline-block;
|
|
267
|
-
margin-bottom: 0.375rem;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
#rcs-carousel-height-select,
|
|
271
|
-
#rcs-carousel-width-select {
|
|
272
|
-
width: 100%;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.rcs-carousel-tab {
|
|
276
|
-
margin-top: 0.75rem;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.rcs-carousel-card {
|
|
280
|
-
margin-top: 0.75rem;
|
|
281
|
-
|
|
282
|
-
// Match carousel card header: title left, icon-only delete right (Figma / product reference).
|
|
283
|
-
&.cap-card-v2.ant-card {
|
|
284
|
-
.ant-card-head {
|
|
285
|
-
min-height: 3rem;
|
|
286
|
-
padding: 0 $CAP_SPACE_16;
|
|
287
|
-
border-bottom: 1px solid $CAP_G12;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.ant-card-head-title {
|
|
291
|
-
padding: $CAP_SPACE_12 0;
|
|
292
|
-
font-weight: 600;
|
|
293
|
-
color: $CAP_G01;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.ant-card-extra {
|
|
297
|
-
padding: $CAP_SPACE_08 0;
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
.rcs-carousel-card-delete.ant-btn.cap-button-v2 {
|
|
302
|
-
display: inline-flex;
|
|
303
|
-
align-items: center;
|
|
304
|
-
justify-content: center;
|
|
305
|
-
min-width: auto;
|
|
306
|
-
width: 2rem;
|
|
307
|
-
height: 2rem;
|
|
308
|
-
padding: 0;
|
|
309
|
-
border: none;
|
|
310
|
-
box-shadow: none;
|
|
311
|
-
color: $CAP_G01;
|
|
312
|
-
|
|
313
|
-
&:not(:disabled):hover {
|
|
314
|
-
color: $FONT_COLOR_05;
|
|
315
|
-
background-color: rgba(0, 0, 0, 0.04);
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
&:disabled {
|
|
319
|
-
color: rgba(0, 0, 0, 0.25);
|
|
320
|
-
background: transparent;
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
.rcs-carousel-delete-tooltip-wrap.button-disabled-tooltip-wrapper {
|
|
325
|
-
display: inline-flex;
|
|
326
|
-
align-items: center;
|
|
327
|
-
cursor: not-allowed;
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
.rcs-carousel-card-row {
|
|
332
|
-
margin-bottom: $CAP_SPACE_12;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.rcs-carousel-media-selection {
|
|
336
|
-
margin-top: 0.75rem;
|
|
337
|
-
margin-bottom: 0.75rem;
|
|
338
|
-
align-items: center;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
// Carousel upload previews: keep media preview compact (CapImageUpload uses height=400 by default)
|
|
342
|
-
.rcs-carousel-media-upload {
|
|
343
|
-
padding-top: $CAP_SPACE_20;
|
|
344
|
-
.image-container {
|
|
345
|
-
background-image: none;
|
|
346
|
-
border: 0;
|
|
347
|
-
width: 100%;
|
|
348
|
-
max-width: 35rem;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
.image-container img {
|
|
352
|
-
width: 100%;
|
|
353
|
-
height: auto !important;
|
|
354
|
-
max-height: 15rem;
|
|
355
|
-
object-fit: contain;
|
|
356
|
-
display: block;
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.rcs-carousel-card-divider {
|
|
361
|
-
margin: $CAP_SPACE_24 0;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.rcs-image-upload-with-top-padding {
|
|
365
|
-
padding-top: $CAP_SPACE_20;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
.rcs-dlt-edit-icon {
|
|
369
|
-
margin-right: $CAP_SPACE_08;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.rcs-content-section-divider {
|
|
373
|
-
margin: $CAP_SPACE_28 0;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
.rcs-edit-template-message-static-textarea {
|
|
377
|
-
background: $CAP_G21;
|
|
378
|
-
color: #888;
|
|
379
|
-
|
|
380
|
-
// Ensure styles apply to underlying textarea/input for CapInput TextArea.
|
|
381
|
-
textarea,
|
|
382
|
-
.ant-input {
|
|
383
|
-
background: $CAP_G21;
|
|
384
|
-
color: #888;
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
.add-carousel-content-button {
|
|
389
|
-
padding: 0 $CAP_SPACE_08;
|
|
390
|
-
}
|
|
391
116
|
}
|
|
392
117
|
.rcs-fallback-preview > .cap-slide-box-v2-container.size-r{
|
|
393
118
|
min-width: 430px;
|
|
@@ -395,12 +120,6 @@
|
|
|
395
120
|
width: 430px;
|
|
396
121
|
}
|
|
397
122
|
|
|
398
|
-
// SMS fallback slidebox / tag popover: see v2Components/SmsFallback/index.scss (loaded with SmsFallback)
|
|
399
|
-
|
|
400
|
-
.template-status-container {
|
|
401
|
-
margin-bottom: $CAP_SPACE_24;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
123
|
.rcs-button-cta{
|
|
405
124
|
margin-top: 1.25rem;
|
|
406
125
|
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
|
+
});
|