@capillarytech/creatives-library 8.0.180 → 8.0.181

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "8.0.180",
4
+ "version": "8.0.181",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -61,8 +61,8 @@ export const GET_ORG_LEVEL_CAMPAIGN_SETTINGS_SUCCESS =
61
61
  export const GET_ORG_LEVEL_CAMPAIGN_SETTINGS_FAILURE =
62
62
  'app/v2Containers/Templates/GET_ORG_LEVEL_CAMPAIGN_SETTINGS_FAILURE';
63
63
 
64
- export const MAX_WHATSAPP_TEMPLATES = 1500;
65
- export const WARNING_WHATSAPP_TEMPLATES = 1400;
64
+ export const MAX_WHATSAPP_TEMPLATES = 6000;
65
+ export const WARNING_WHATSAPP_TEMPLATES = 5800;
66
66
 
67
67
  export const GET_SENDER_DETAILS_REQUEST =
68
68
  'app/v2Containers/Templates/GET_SENDER_DETAILS_REQUEST';
@@ -936,20 +936,6 @@ exports[`Test Templates container Test max templates exceeded 1`] = `
936
936
  }
937
937
  type="file"
938
938
  />
939
- <CapAlert
940
- message={
941
- <FormattedMessage
942
- defaultMessage="WhatsApp allows {maxCount} approved templates. To accommodate new approved templates either delete the existing one or reach out to Capillary POC to increase the limit."
943
- id="creatives.containersV2.Templates.whatsappMaxTemplates"
944
- values={
945
- Object {
946
- "maxCount": 1500,
947
- }
948
- }
949
- />
950
- }
951
- type="info"
952
- />
953
939
  <CapRow>
954
940
  <Pagination
955
941
  onPageChange={[Function]}
@@ -1141,33 +1127,15 @@ exports[`Test Templates container Test max templates exceeded 1`] = `
1141
1127
  }
1142
1128
  }
1143
1129
  >
1144
- <CapTooltip
1145
- title={
1146
- <FormattedMessage
1147
- defaultMessage="WhatsApp allows {maxCount} approved templates. To accommodate new approved templates either delete the existing one or reach out to Capillary POC to increase the limit."
1148
- id="creatives.containersV2.Templates.whatsappMaxTemplates"
1149
- values={
1150
- Object {
1151
- "maxCount": 1500,
1152
- }
1153
- }
1154
- />
1155
- }
1130
+ <CapButton
1131
+ className="create-new-whatsapp margin-l-8 margin-b-12"
1132
+ disabled={false}
1133
+ isAddBtn={false}
1134
+ onClick={[Function]}
1135
+ type="primary"
1156
1136
  >
1157
- <div
1158
- className="button-disabled-tooltip-wrapper"
1159
- >
1160
- <CapButton
1161
- className="create-new-whatsapp margin-l-8 margin-b-12"
1162
- disabled={true}
1163
- isAddBtn={false}
1164
- onClick={[Function]}
1165
- type="primary"
1166
- >
1167
- Create new
1168
- </CapButton>
1169
- </div>
1170
- </CapTooltip>
1137
+ Create new
1138
+ </CapButton>
1171
1139
  </div>
1172
1140
  </div>
1173
1141
  <CapRow