@capillarytech/creatives-library 7.17.104 → 7.17.105

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": "7.17.104",
4
+ "version": "7.17.105",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -201,7 +201,6 @@ export const CapInAppCTA = (props) => {
201
201
  onChange={onButtonTextChange}
202
202
  placeholder={formatMessage(messages.ctaButtonTextPlaceholder)}
203
203
  value={text}
204
- size="large"
205
204
  maxLength={BTN_MAX_LENGTH}
206
205
  errorMessage={buttonError}
207
206
  />
@@ -65,7 +65,7 @@
65
65
 
66
66
  .inapp-title-HEADER-ANDROID {
67
67
  left: 34%;
68
- top: 15%;
68
+ top: 17%;
69
69
  position: relative;
70
70
  font-size: 10px;
71
71
  width: 90px;
@@ -811,6 +811,7 @@ export function SlideBoxContent(props) {
811
811
  getFormData={getFormData}
812
812
  isGetFormData={isGetFormData}
813
813
  templateData={templateData}
814
+ getDefaultTags={type}
814
815
  />
815
816
  )}
816
817
 
@@ -802,6 +802,9 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
802
802
  queryParams.originalId = this.props.Templates.selectedWeChatAccount.sourceAccountIdentifier;
803
803
  }
804
804
  const channel = this.state.channel;
805
+ if (([MOBILE_PUSH_LOWERCASE, INAPP_LOWERCASE].includes(channel.toLowerCase())) && !isEmpty(this.props.Templates.selectedWeChatAccount)) {
806
+ queryParams.accountId = this.props.Templates?.selectedWeChatAccount?.id;
807
+ }
805
808
  this.props.actions.getAllTemplates(channel, queryParams,`${copyOf}`);
806
809
  } else if ((resetPage || (page === 1 && this.state.templatesCount === 0) || page <= (this.state.templatesCount / this.state.perPageLimit))) {
807
810
  if (getNextPage) {