@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.
Files changed (132) hide show
  1. package/constants/unified.js +0 -29
  2. package/global-styles.js +1 -1
  3. package/package.json +1 -1
  4. package/services/tests/api.test.js +20 -35
  5. package/utils/commonUtils.js +1 -19
  6. package/v2Components/CapActionButton/constants.js +0 -7
  7. package/v2Components/CapActionButton/index.js +109 -168
  8. package/v2Components/CapActionButton/index.scss +5 -156
  9. package/v2Components/CapActionButton/messages.js +3 -19
  10. package/v2Components/CapActionButton/tests/index.test.js +18 -42
  11. package/v2Components/CapImageUpload/index.js +2 -2
  12. package/v2Components/CapTagList/index.js +0 -10
  13. package/v2Components/CommonTestAndPreview/CustomValuesEditor.js +48 -70
  14. package/v2Components/CommonTestAndPreview/DeliverySettings/DeliverySettings.scss +2 -8
  15. package/v2Components/CommonTestAndPreview/DeliverySettings/ModifyDeliverySettings.js +21 -214
  16. package/v2Components/CommonTestAndPreview/DeliverySettings/constants.js +0 -16
  17. package/v2Components/CommonTestAndPreview/DeliverySettings/index.js +9 -83
  18. package/v2Components/CommonTestAndPreview/DeliverySettings/messages.js +0 -30
  19. package/v2Components/CommonTestAndPreview/DeliverySettings/utils/parseSenderDetailsResponse.js +11 -60
  20. package/v2Components/CommonTestAndPreview/SendTestMessage.js +5 -10
  21. package/v2Components/CommonTestAndPreview/UnifiedPreview/RcsPreviewContent.js +23 -201
  22. package/v2Components/CommonTestAndPreview/UnifiedPreview/_unifiedPreview.scss +76 -355
  23. package/v2Components/CommonTestAndPreview/UnifiedPreview/index.js +8 -155
  24. package/v2Components/CommonTestAndPreview/_commonTestAndPreview.scss +0 -11
  25. package/v2Components/CommonTestAndPreview/constants.js +2 -38
  26. package/v2Components/CommonTestAndPreview/index.js +222 -761
  27. package/v2Components/CommonTestAndPreview/messages.js +3 -45
  28. package/v2Components/CommonTestAndPreview/sagas.js +6 -25
  29. package/v2Components/CommonTestAndPreview/tests/CommonTestAndPreview.addTestCustomer.test.js +0 -1
  30. package/v2Components/CommonTestAndPreview/tests/CustomValuesEditor.test.js +267 -284
  31. package/v2Components/CommonTestAndPreview/tests/DeliverySettings/ModifyDeliverySettings.test.js +65 -231
  32. package/v2Components/CommonTestAndPreview/tests/DeliverySettings/index.test.js +5 -118
  33. package/v2Components/CommonTestAndPreview/tests/DeliverySettings/utils/parseSenderDetailsResponse.test.js +0 -341
  34. package/v2Components/CommonTestAndPreview/tests/PreviewSection.test.js +1 -8
  35. package/v2Components/CommonTestAndPreview/tests/SendTestMessage.test.js +13 -34
  36. package/v2Components/CommonTestAndPreview/tests/UnifiedPreview/RcsPreviewContent.test.js +283 -281
  37. package/v2Components/CommonTestAndPreview/tests/UnifiedPreview/index.test.js +1 -199
  38. package/v2Components/CommonTestAndPreview/tests/index.test.js +4 -133
  39. package/v2Components/CommonTestAndPreview/tests/sagas.test.js +24 -31
  40. package/v2Components/TemplatePreview/_templatePreview.scss +22 -41
  41. package/v2Components/TemplatePreview/index.js +31 -143
  42. package/v2Components/TemplatePreview/tests/index.test.js +0 -142
  43. package/v2Components/TestAndPreviewSlidebox/CustomValuesEditor.js +6 -6
  44. package/v2Components/TestAndPreviewSlidebox/index.js +1 -13
  45. package/v2Components/TestAndPreviewSlidebox/sagas.js +4 -11
  46. package/v2Components/TestAndPreviewSlidebox/tests/saga.test.js +1 -3
  47. package/v2Containers/CommunicationFlow/Tests/CommunicationFlow.test.js +1 -4
  48. package/v2Containers/CommunicationFlow/steps/DeliverySettingsStep/Tests/DeliverySettingsSection.test.js +0 -4
  49. package/v2Containers/CommunicationFlow/steps/DeliverySettingsStep/Tests/SenderDetails.test.js +20 -20
  50. package/v2Containers/CreativesContainer/SlideBoxContent.js +7 -36
  51. package/v2Containers/CreativesContainer/SlideBoxFooter.js +5 -14
  52. package/v2Containers/CreativesContainer/SlideBoxHeader.js +5 -36
  53. package/v2Containers/CreativesContainer/constants.js +0 -11
  54. package/v2Containers/CreativesContainer/index.js +104 -323
  55. package/v2Containers/CreativesContainer/index.scss +1 -83
  56. package/v2Containers/CreativesContainer/tests/SlideBoxFooter.test.js +34 -79
  57. package/v2Containers/CreativesContainer/tests/SlideBoxHeader.test.js +16 -79
  58. package/v2Containers/CreativesContainer/tests/__snapshots__/SlideBoxContent.test.js.snap +0 -8
  59. package/v2Containers/CreativesContainer/tests/__snapshots__/SlideBoxHeader.test.js.snap +90 -333
  60. package/v2Containers/CreativesContainer/tests/__snapshots__/index.test.js.snap +15 -20
  61. package/v2Containers/CreativesContainer/tests/index.test.js +9 -71
  62. package/v2Containers/Email/index.js +5 -2
  63. package/v2Containers/MobilePush/Create/test/saga.test.js +2 -2
  64. package/v2Containers/Rcs/constants.js +11 -131
  65. package/v2Containers/Rcs/index.js +810 -2605
  66. package/v2Containers/Rcs/index.scss +8 -289
  67. package/v2Containers/Rcs/messages.js +3 -34
  68. package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +38537 -73535
  69. package/v2Containers/Rcs/tests/__snapshots__/utils.test.js.snap +8 -0
  70. package/v2Containers/Rcs/tests/index.test.js +36 -147
  71. package/v2Containers/Rcs/tests/mockData.js +0 -38
  72. package/v2Containers/Rcs/tests/utils.test.js +30 -646
  73. package/v2Containers/Rcs/utils.js +11 -478
  74. package/v2Containers/Sms/Create/index.js +48 -115
  75. package/v2Containers/SmsTrai/Create/index.js +4 -9
  76. package/v2Containers/SmsTrai/Edit/constants.js +0 -2
  77. package/v2Containers/SmsTrai/Edit/index.js +169 -678
  78. package/v2Containers/SmsTrai/Edit/messages.js +4 -14
  79. package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +2854 -5455
  80. package/v2Containers/SmsWrapper/index.js +8 -37
  81. package/v2Containers/TagList/index.js +0 -6
  82. package/v2Containers/Templates/_templates.scss +12 -171
  83. package/v2Containers/Templates/actions.js +0 -11
  84. package/v2Containers/Templates/constants.js +0 -2
  85. package/v2Containers/Templates/index.js +55 -125
  86. package/v2Containers/Templates/sagas.js +13 -57
  87. package/v2Containers/Templates/tests/__snapshots__/index.test.js.snap +1015 -1060
  88. package/v2Containers/Templates/tests/sagas.test.js +16 -199
  89. package/v2Containers/TemplatesV2/TemplatesV2.style.js +1 -72
  90. package/v2Containers/TemplatesV2/index.js +23 -86
  91. package/v2Containers/WeChat/MapTemplates/test/saga.test.js +9 -9
  92. package/v2Containers/Whatsapp/index.js +20 -3
  93. package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +34 -578
  94. package/utils/rcsPayloadUtils.js +0 -92
  95. package/utils/templateVarUtils.js +0 -201
  96. package/utils/tests/rcsPayloadUtils.test.js +0 -226
  97. package/utils/tests/templateVarUtils.test.js +0 -204
  98. package/v2Components/CommonTestAndPreview/previewApiUtils.js +0 -59
  99. package/v2Components/CommonTestAndPreview/tests/previewApiUtils.test.js +0 -67
  100. package/v2Components/CommonTestAndPreview/utils.js +0 -84
  101. package/v2Components/SmsFallback/SmsFallbackLocalSelector.js +0 -91
  102. package/v2Components/SmsFallback/constants.js +0 -94
  103. package/v2Components/SmsFallback/index.js +0 -958
  104. package/v2Components/SmsFallback/index.scss +0 -266
  105. package/v2Components/SmsFallback/messages.js +0 -78
  106. package/v2Components/SmsFallback/smsFallbackUtils.js +0 -120
  107. package/v2Components/SmsFallback/tests/SmsFallbackLocalSelector.test.js +0 -50
  108. package/v2Components/SmsFallback/tests/rcsSmsFallback.acceptance.test.js +0 -147
  109. package/v2Components/SmsFallback/tests/smsFallbackHandlers.test.js +0 -304
  110. package/v2Components/SmsFallback/tests/smsFallbackUi.test.js +0 -208
  111. package/v2Components/SmsFallback/tests/smsFallbackUtils.test.js +0 -309
  112. package/v2Components/SmsFallback/tests/useLocalTemplateList.test.js +0 -422
  113. package/v2Components/SmsFallback/useLocalTemplateList.js +0 -92
  114. package/v2Components/TemplatePreview/constants.js +0 -2
  115. package/v2Components/VarSegmentMessageEditor/constants.js +0 -2
  116. package/v2Components/VarSegmentMessageEditor/index.js +0 -125
  117. package/v2Components/VarSegmentMessageEditor/index.scss +0 -46
  118. package/v2Containers/CreativesContainer/CreativesSlideBoxWrapper.js +0 -17
  119. package/v2Containers/CreativesContainer/embeddedSlideboxUtils.js +0 -79
  120. package/v2Containers/CreativesContainer/tests/SlideBoxContent.localTemplates.test.js +0 -90
  121. package/v2Containers/CreativesContainer/tests/embeddedSlideboxUtils.test.js +0 -258
  122. package/v2Containers/CreativesContainer/tests/useLocalTemplatesProp.test.js +0 -125
  123. package/v2Containers/Rcs/rcsLibraryHydrationUtils.js +0 -227
  124. package/v2Containers/Rcs/tests/rcsLibraryHydrationUtils.test.js +0 -318
  125. package/v2Containers/Sms/smsFormDataHelpers.js +0 -67
  126. package/v2Containers/Sms/tests/smsFormDataHelpers.test.js +0 -253
  127. package/v2Containers/SmsTrai/Edit/index.scss +0 -126
  128. package/v2Containers/Templates/TemplatesActionBar.js +0 -101
  129. package/v2Containers/Templates/tests/TemplatesActionBar.test.js +0 -120
  130. package/v2Containers/Templates/tests/smsTemplatesListApi.test.js +0 -180
  131. package/v2Containers/Templates/utils/smsTemplatesListApi.js +0 -79
  132. package/v2Containers/TemplatesV2/tests/TemplatesV2.localTemplates.test.js +0 -131
@@ -10,14 +10,12 @@ import { isTraiDLTEnable } from '../../utils/common';
10
10
  import SmsEdit from '../Sms/Edit';
11
11
  import SmsTraiCreate from '../SmsTrai/Create';
12
12
  import SmsTraiEdit from '../SmsTrai/Edit';
13
-
14
13
  const SmsWrapper = (props) => {
15
14
  const {
16
15
  isCreateSms,
17
16
  isEditSms,
18
17
  setIsLoadingContent,
19
18
  location,
20
- route: routeFromProps,
21
19
  isGetFormData,
22
20
  getFormSubscriptionData,
23
21
  isFullMode,
@@ -40,33 +38,15 @@ const SmsWrapper = (props) => {
40
38
  handleCloseTestAndPreview,
41
39
  isTestAndPreviewMode,
42
40
  onValidationFail,
43
- embeddedSmsFallback = false,
44
- onEmbeddedSmsFooterValidity,
45
- forceFullTagContext = false,
46
41
  } = props;
47
42
 
48
- /** FormBuilder / SMS Create assume `location.query`; connected-router shapes may omit it. */
49
- const smsLocation = (() => {
50
- const loc = location || {};
51
- const q = loc.query;
52
- if (q && typeof q === 'object') {
53
- return { ...loc, query: { ...q } };
54
- }
55
- return {
56
- pathname: loc.pathname || '/sms/create',
57
- search: loc.search || '',
58
- query: { type: 'embedded', module: 'library' },
59
- };
60
- })();
61
-
62
43
  const smsProps = {
63
44
  onCreateComplete,
64
45
  setIsLoadingContent,
65
- location: smsLocation,
66
- route: routeFromProps || { name: 'sms' },
46
+ location,
47
+ route: { name: 'sms' },
67
48
  isGetFormData,
68
49
  getFormSubscriptionData,
69
- templateData,
70
50
  getDefaultTags,
71
51
  isFullMode,
72
52
  forwardedTags,
@@ -82,33 +62,24 @@ const SmsWrapper = (props) => {
82
62
  handleCloseTestAndPreview,
83
63
  isTestAndPreviewMode,
84
64
  onValidationFail,
85
- forceFullTagContext,
86
- embeddedSmsFallback,
87
- onEmbeddedSmsFooterValidity,
88
- ...(embeddedSmsFallback
89
- ? {
90
- tagListGetPopupContainer: () => document.body,
91
- tagListPopoverOverlayStyle: { zIndex: 10020 },
92
- tagListPopoverOverlayClassName: 'sms-fallback-taglist-popover rcs-sms-fallback-taglist-popover',
93
- }
94
- : {}),
95
65
  };
96
- const useTraiSmsFlow = isTraiDLTEnable(isFullMode, smsRegister);
66
+ const isTraiDlt = isTraiDLTEnable(isFullMode, smsRegister);
97
67
  return <>
98
68
  {
99
- isCreateSms && (useTraiSmsFlow ?
69
+ isCreateSms && (isTraiDlt ?
100
70
  <SmsTraiCreate
101
71
  isComponent
102
72
  {...smsProps}
103
73
  onShowTemplates={onShowTemplates}
104
74
  /> :
105
75
  <SmsCreate
106
- isComponent
107
- {...smsProps}
76
+ isComponent {
77
+ ...smsProps
78
+ }
108
79
  />
109
80
  )
110
81
  }
111
- {isEditSms && (useTraiSmsFlow ?
82
+ {isEditSms && (isTraiDlt ?
112
83
  <SmsTraiEdit
113
84
  {...smsProps}
114
85
  params={{id: templateData._id}}
@@ -477,9 +477,6 @@ export class TagList extends React.Component { // eslint-disable-line react/pref
477
477
  disableTooltipMsg={tooltipMsg}
478
478
  fetchingSchemaError={this?.state?.tagsError}
479
479
  popoverPlacement={this.props.popoverPlacement}
480
- overlayStyle={this.props.popoverOverlayStyle}
481
- overlayClassName={this.props.popoverOverlayClassName}
482
- getPopupContainer={this.props.getPopupContainer}
483
480
  />
484
481
  </div>
485
482
  );
@@ -516,9 +513,6 @@ TagList.propTypes = {
516
513
  // message to show when Add Label button is disabled (e.g. personalization restriction)
517
514
  disableTooltipMsg: PropTypes.string,
518
515
  restrictPersonalization: PropTypes.bool,
519
- popoverOverlayStyle: PropTypes.object,
520
- popoverOverlayClassName: PropTypes.string,
521
- getPopupContainer: PropTypes.func,
522
516
  intl: PropTypes.shape({
523
517
  formatMessage: PropTypes.func.isRequired,
524
518
  locale: PropTypes.string,
@@ -1,13 +1,11 @@
1
1
  @import '~@capillarytech/cap-ui-library/styles/_variables.scss';
2
2
 
3
3
  .ant-tabs-content{
4
- // .creatives-templates-list.full-mode{
5
- .v2-pagination-container, .v2-pagination-container-half {
6
- .ant-tabs-tabpane-active{
7
- padding: unset;
8
- }
4
+ margin-top: $CAP_SPACE_16;
5
+ .ant-tabs-tabpane-active{
6
+ padding: unset;
9
7
  }
10
- }
8
+ }
11
9
  //removing current one as not required now in each row we'll have 3 cards for which css has been added
12
10
 
13
11
  // 3 cards per row across all breakpoints
@@ -26,7 +24,6 @@
26
24
  }
27
25
  }
28
26
 
29
-
30
27
  .creatives-templates-list {
31
28
  position: relative;
32
29
 
@@ -48,10 +45,8 @@
48
45
  .ant-modal-footer {
49
46
  padding: $CAP_SPACE_16 $CAP_SPACE_24 $CAP_SPACE_24 $CAP_SPACE_24;
50
47
  }
51
- }
52
48
 
53
49
  .ant-modal-header {
54
- .v2-pagination-container, .v2-pagination-container-half {
55
50
  padding: $CAP_SPACE_24 $CAP_SPACE_24 $CAP_SPACE_08 $CAP_SPACE_24;
56
51
  }
57
52
 
@@ -64,8 +59,7 @@
64
59
  }
65
60
  }
66
61
 
67
- .v2-pagination-container,
68
- .v2-pagination-container-half {
62
+ .v2-pagination-container {
69
63
  .FACEBOOK {
70
64
  .ant-card-body {
71
65
  background-color: $CAP_G09;
@@ -198,14 +192,10 @@
198
192
  .whatsapp-container {
199
193
  background-color: $CAP_WHITE;
200
194
  padding: $CAP_SPACE_12;
201
- overflow-y: hidden;
202
195
  }
203
196
  .scroll-container {
204
197
  overflow-x: auto;
205
- overflow-y: hidden;
206
198
  display: flex;
207
- flex-wrap: nowrap;
208
- width: 100%;
209
199
  padding-top: $CAP_SPACE_06;
210
200
  padding-right: $CAP_SPACE_06;
211
201
  white-space: nowrap;
@@ -213,8 +203,9 @@
213
203
  &::-webkit-scrollbar {
214
204
  display: none; // Hide scrollbar in Chrome/Safari/Opera
215
205
  }
206
+ overflow: hidden;
216
207
  .whatsapp-carousel-container {
217
- padding: $CAP_SPACE_04 0 $CAP_SPACE_08;
208
+ padding: $CAP_SPACE_04 0px $CAP_SPACE_08;
218
209
  border-radius: $CAP_SPACE_06;
219
210
  background-color: $CAP_WHITE;
220
211
  width: 80%;
@@ -262,94 +253,6 @@
262
253
  }
263
254
  }
264
255
 
265
- // RCS template listing preview: match WhatsApp carousel "peek" behavior
266
- .RCS {
267
- .cap-custom-card {
268
- .ant-card-body {
269
- .ant-card-meta {
270
- background-color: $CAP_G09;
271
- padding: 0;
272
- .ant-card-meta-description {
273
- .whatsapp-container,.cap-rcs-creatives {
274
- background-color: $CAP_WHITE;
275
- padding: $CAP_SPACE_12;
276
- border-radius: 0.25rem;
277
- overflow-y: hidden;
278
- .cap-divider-v2{
279
- margin: $CAP_SPACE_12 0;
280
- }
281
- }
282
- .scroll-container {
283
- overflow-x: auto;
284
- overflow-y: hidden;
285
- display: flex;
286
- flex-wrap: nowrap;
287
- width: 100%;
288
- padding-top: $CAP_SPACE_06;
289
- padding-right: $CAP_SPACE_06;
290
- white-space: nowrap;
291
- scrollbar-width: none; // Hide scrollbar in Firefox
292
- &::-webkit-scrollbar {
293
- display: none; // Hide scrollbar in Chrome/Safari/Opera
294
- }
295
- .whatsapp-carousel-container {
296
- padding: $CAP_SPACE_04 0 $CAP_SPACE_08;
297
- border-radius: $CAP_SPACE_06;
298
- background-color: $CAP_WHITE;
299
- width: 80%;
300
- flex-shrink: 0;
301
- margin-right: $CAP_SPACE_04;
302
- white-space: pre-wrap;
303
- word-break: break-word;
304
- overflow: auto;
305
- text-align: left;
306
- .whatsapp-carousel-card {
307
- margin: $CAP_SPACE_02 $CAP_SPACE_06 $CAP_SPACE_01 $CAP_SPACE_08;
308
- .whatsapp-carousel-body {
309
- margin-bottom: $CAP_SPACE_08;
310
- white-space: pre-wrap;
311
- }
312
- }
313
- }
314
- }
315
-
316
- // RCS CTA buttons in listing (reuse WhatsApp-ish look)
317
- .rcs-cta-preview {
318
- margin: $CAP_SPACE_12 0;
319
- display: flex;
320
- justify-content: center;
321
- font-size: $FONT_SIZE_M;
322
- align-items: center;
323
- color: #1970DA;
324
- svg {
325
- margin-right: $CAP_SPACE_04;
326
- }
327
- }
328
-
329
- .rcs-video-preview-placeholder {
330
- background: #f5f5f5;
331
- display: flex;
332
- align-items: center;
333
- justify-content: center;
334
- }
335
-
336
- .rcs-video-preview-label {
337
- color: #7a7a7a;
338
- }
339
-
340
- .rcs-listing-title {
341
- font-weight: 600;
342
- }
343
-
344
- .whatsapp-divider {
345
- margin: 0;
346
- }
347
- }
348
- }
349
- }
350
- }
351
- }
352
-
353
256
  .MOBILEPUSH {
354
257
  .ant-card-body {
355
258
  padding: 0;
@@ -395,7 +298,6 @@
395
298
  }
396
299
  .scroll-container {
397
300
  overflow-x: auto;
398
- overflow-y: hidden;
399
301
  display: flex;
400
302
  padding-top: $CAP_SPACE_06;
401
303
  padding-right: $CAP_SPACE_06;
@@ -404,11 +306,12 @@
404
306
  &::-webkit-scrollbar {
405
307
  display: none; // Hide scrollbar in Chrome/Safari/Opera
406
308
  }
309
+ overflow: hidden;
407
310
  height: 100%;
408
311
  width: 100%;
409
312
  margin-left: 1.65rem;
410
313
  .whatsapp-carousel-container {
411
- padding: $CAP_SPACE_04 0 $CAP_SPACE_08;
314
+ padding: $CAP_SPACE_04 0px $CAP_SPACE_08;
412
315
  border-radius: $CAP_SPACE_06;
413
316
  background-color: $CAP_WHITE;
414
317
  width: 80%;
@@ -798,30 +701,11 @@
798
701
  }
799
702
 
800
703
  .action-container{
801
- margin-top: $CAP_SPACE_08;
802
- margin-bottom: $CAP_SPACE_16;
704
+ margin-top: 8px;
705
+ margin-bottom: 16px;
803
706
  display: flex;
804
707
  justify-content: space-between;
805
708
  align-items: center;
806
-
807
- &__toolbar-row {
808
- display: flex;
809
- align-items: center;
810
- gap: 0.75rem;
811
- }
812
-
813
- &__toolbar-row .search-text {
814
- width: 13.125rem;
815
- min-width: 13.125rem;
816
- flex: 1;
817
- }
818
-
819
- &__create-row {
820
- display: flex;
821
- justify-content: space-between;
822
- align-items: center;
823
- margin-right: $CAP_SPACE_32;
824
- }
825
709
  }
826
710
 
827
711
  .popover-action-container:hover{
@@ -1280,49 +1164,6 @@
1280
1164
  overflow: 'auto';
1281
1165
  }
1282
1166
 
1283
- /* Local SMS / slidebox: viewport-based .v2-pagination-container-half height leaves empty space below and clips cards */
1284
- .creatives-templates-container--local-sms.library-mode {
1285
- .creatives-templates-list.library-mode > .cap-row:first-of-type > div {
1286
- display: flex;
1287
- flex-direction: column;
1288
- flex: 1 1 auto;
1289
- min-height: 0;
1290
- overflow: hidden;
1291
- }
1292
-
1293
- .creatives-templates-list.library-mode > .cap-row:first-of-type > div > div:first-child {
1294
- display: flex;
1295
- flex-direction: column;
1296
- flex: 1 1 auto;
1297
- min-height: 0;
1298
- overflow: hidden;
1299
- }
1300
-
1301
- /* Block below search/filter: grid + skeletons — must grow to use space above footer */
1302
- .creatives-templates-list.library-mode > .cap-row:first-of-type > div > div:first-child > div:nth-child(2) {
1303
- flex: 1 1 auto;
1304
- min-height: 0;
1305
- display: flex;
1306
- flex-direction: column;
1307
- overflow: hidden;
1308
- }
1309
-
1310
- /*
1311
- * Scroll needs a definite height. Pure flex + height:auto + max-height:100% often won’t bound (no % base), so no scrollbar.
1312
- * Use a taller slice than global 100vh-20rem so the grid uses space under search; still overflow-y:auto for long lists.
1313
- */
1314
- .v2-pagination-container,
1315
- .v2-pagination-container-half {
1316
- flex: 0 1 auto;
1317
- min-height: 0;
1318
- height: calc(100vh - 12rem);
1319
- max-height: calc(100vh - 12rem);
1320
- overflow-y: auto;
1321
- overflow-x: hidden;
1322
- -webkit-overflow-scrolling: touch;
1323
- }
1324
- }
1325
-
1326
1167
  // Archive feature layout classes
1327
1168
  .illustration-scroll-wrapper {
1328
1169
  height: calc(100vh - 20.3125rem);
@@ -1333,7 +1174,7 @@
1333
1174
  display: flex;
1334
1175
  align-items: baseline;
1335
1176
  justify-content: space-between;
1336
- width: 100%;
1177
+ width: 102%;
1337
1178
  }
1338
1179
 
1339
1180
  .filter-row-content {
@@ -15,17 +15,6 @@ export function getAllTemplates(channel, queryParams, intlCopyOf = '') {
15
15
  };
16
16
  }
17
17
 
18
-
19
- export function getLocalSmsTemplates(queryParams, intlCopyOf = '', onSuccess, onFailure) {
20
- return {
21
- type: types.GET_LOCAL_SMS_TEMPLATES_REQUEST,
22
- queryParams,
23
- intlCopyOf,
24
- onSuccess,
25
- onFailure,
26
- };
27
- }
28
-
29
18
  export function resetTemplate() {
30
19
  return {
31
20
  type: types.RESET_TEMPLATE,
@@ -10,8 +10,6 @@ export const GET_ALL_TEMPLATES_REQUEST = 'app/v2Containers/Templates/GET_ALL_TEM
10
10
  export const GET_ALL_TEMPLATES_SUCCESS = 'app/v2Containers/Templates/GET_ALL_TEMPLATES_SUCCESS';
11
11
  export const GET_ALL_TEMPLATES_FAILURE = 'app/v2Containers/Templates/GET_ALL_TEMPLATES_FAILURE';
12
12
 
13
- export const GET_LOCAL_SMS_TEMPLATES_REQUEST = 'app/v2Containers/Templates/GET_LOCAL_SMS_TEMPLATES_REQUEST';
14
-
15
13
  export const DELETE_TEMPLATE_REQUEST = 'app/v2Containers/Templates/DELETE_TEMPLATE_REQUEST';
16
14
  export const DELETE_RCS_TEMPLATE_REQUEST = 'app/v2Containers/Templates/DELETE_RCS_TEMPLATE_REQUEST';
17
15
  export const DELETE_TEMPLATE_SUCCESS = 'app/v2Containers/Templates/DELETE_TEMPLATE_SUCCESS';