@capillarytech/creatives-library 7.12.8 → 7.12.10

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.12.8",
4
+ "version": "7.12.10",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -78,7 +78,7 @@
78
78
  width: 100%;
79
79
  font-family: 'open-sans';
80
80
  .rcs-image{
81
- width: 156px;
81
+ width: 100%;
82
82
  height: 123px;
83
83
  }
84
84
  .message-pop-item{
@@ -97,9 +97,6 @@
97
97
  margin-top: 0;
98
98
  padding: 4px 8px;
99
99
  }
100
- &.rcs-desc:not(:first-child) {
101
- margin-top: -8px;
102
- }
103
100
  }
104
101
  }
105
102
  &:not(.sms){
@@ -94,32 +94,33 @@ export function SlideBoxHeader(props) {
94
94
  />
95
95
  )}
96
96
  {!showTemplateNameHeader && slidBoxContent === 'editTemplate' && (
97
- <CapHeader
98
- title={<FormattedMessage {...headerMessage} values={{channel: getChannelLabel(channel)}}/>}
99
- description={
97
+ <CapHeader
98
+ title={<FormattedMessage {...headerMessage} values={{ channel: getChannelLabel(channel) }} />}
99
+ description={
100
100
  <>
101
101
  {showTemplateName && (
102
- <>
103
- {renderWhatsappData("label1", <FormattedMessage {...globalMessages.templateNameLabel} />)}
104
- {renderWhatsappData("label2", templateName)}
105
- </>
106
- )}
102
+ <>
103
+ {renderWhatsappData("label1", <FormattedMessage {...globalMessages.templateNameLabel} />)}
104
+ {renderWhatsappData("label2", templateName)}
105
+ </>
106
+ )}
107
107
  {isWhatsappEdit && (
108
- <>
109
-
110
- {renderWhatsappData("label3", <FormattedMessage {...whatsppMsg.labelSeperator} />)}
111
- {renderWhatsappData("label1", <FormattedMessage {...whatsppMsg.templateCategoryLabel} />)}
112
- {renderWhatsappData("label2", formatString(whatsappCategory))}
113
- {renderWhatsappData("label3", <FormattedMessage {...whatsppMsg.labelSeperator} />)}
114
- {renderWhatsappData("label1", <FormattedMessage {...whatsppMsg.languageLabel} />)}
115
- {renderWhatsappData("label2", LANGUAGE_OPTIONS?.find(option => option.value === whatsappLanguageCode)?.label)}
116
- </>)
108
+ <>
109
+ {renderWhatsappData("label3", <FormattedMessage {...whatsppMsg.labelSeperator} />)}
110
+ {renderWhatsappData("label1", <FormattedMessage {...whatsppMsg.templateCategoryLabel} />)}
111
+ {renderWhatsappData("label2", formatString(whatsappCategory))}
112
+ {renderWhatsappData("label3", <FormattedMessage {...whatsppMsg.labelSeperator} />)}
113
+ {renderWhatsappData("label1", <FormattedMessage {...whatsppMsg.languageLabel} />)}
114
+ {renderWhatsappData("label2", LANGUAGE_OPTIONS?.find(option => option.value === whatsappLanguageCode)?.label)}
115
+ </>)
116
+ }
117
+ </>
118
+ }
119
+ prefix={creativesMode !== 'edit' && !isFullMode && showPrefix &&
120
+ <PrefixWrapper>
121
+ <CapIcons.backIcon onClick={onShowTemplates} />
122
+ </PrefixWrapper>
117
123
  }
118
- prefix={creativesMode !== 'edit' && !isFullMode && showPrefix &&
119
- <PrefixWrapper>
120
- <CapIcons.backIcon onClick={onShowTemplates} />
121
- </PrefixWrapper>
122
- }
123
124
  />
124
125
  )}
125
126
  {!showTemplateNameHeader && slidBoxContent === 'createTemplate' && ( templateStep === 'modeSelection' || (templateStep === "createTemplateContent" && weChatTemplateType !== MAP_TEMPLATE) ) && (