diy-template-components 0.0.67 → 0.0.70
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/build/index.es.js +8 -7
- package/build/index.es.js.map +1 -1
- package/build/index.js +8 -7
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -157,7 +157,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
157
157
|
fontSize: '16px',
|
|
158
158
|
lineHeight: '24px',
|
|
159
159
|
color: '#3C4852',
|
|
160
|
-
marginLeft:
|
|
160
|
+
marginLeft: '8px'
|
|
161
161
|
},
|
|
162
162
|
mobileContent: {
|
|
163
163
|
display: 'flex',
|
|
@@ -246,7 +246,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
246
246
|
overflow: 'hidden',
|
|
247
247
|
textOverflow: 'ellipsis',
|
|
248
248
|
overflowWrap: 'anywhere',
|
|
249
|
-
marginLeft:
|
|
249
|
+
marginLeft: '0px'
|
|
250
250
|
}
|
|
251
251
|
}));
|
|
252
252
|
|
|
@@ -455,7 +455,7 @@ function useLinkBuilder(data) {
|
|
|
455
455
|
return null;
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
-
if (data?.
|
|
458
|
+
if (data?.isExistingLink) {
|
|
459
459
|
return data.link;
|
|
460
460
|
}
|
|
461
461
|
|
|
@@ -497,8 +497,8 @@ const Button = /*#__PURE__*/React.forwardRef(function Button({
|
|
|
497
497
|
return data?.isLink ? /*#__PURE__*/React__default["default"].createElement("a", _extends({
|
|
498
498
|
ref: ref,
|
|
499
499
|
href: link,
|
|
500
|
-
target: data?.
|
|
501
|
-
rel: data?.
|
|
500
|
+
target: data?.isExistingLink ? '_blank' : null,
|
|
501
|
+
rel: data?.isExistingLink ? 'nofollow noopener' : null,
|
|
502
502
|
className: (active ? classes.active : '') + ' ' + classes[type] + ' ' + classes[size] + ' ' + classes.anchorClass,
|
|
503
503
|
style: styling
|
|
504
504
|
}, elementProps), data?.value) : /*#__PURE__*/React__default["default"].createElement("button", _extends({
|
|
@@ -1208,7 +1208,8 @@ function MobileHeader({
|
|
|
1208
1208
|
target: 'blank',
|
|
1209
1209
|
rel: null,
|
|
1210
1210
|
style: {
|
|
1211
|
-
padding: 0
|
|
1211
|
+
padding: 0,
|
|
1212
|
+
paddingRight: '8px'
|
|
1212
1213
|
}
|
|
1213
1214
|
});
|
|
1214
1215
|
}
|
|
@@ -1235,7 +1236,7 @@ function MobileHeader({
|
|
|
1235
1236
|
}
|
|
1236
1237
|
|
|
1237
1238
|
if (iosUrl && androidUrl) {
|
|
1238
|
-
downloadLink = /*#__PURE__*/React__default["default"].createElement(
|
|
1239
|
+
downloadLink = /*#__PURE__*/React__default["default"].createElement("div", null, iosUrl, androidUrl);
|
|
1239
1240
|
} else if (header?.iosUrl) {
|
|
1240
1241
|
downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
1241
1242
|
data: {
|