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 CHANGED
@@ -145,7 +145,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
145
145
  fontSize: '16px',
146
146
  lineHeight: '24px',
147
147
  color: '#3C4852',
148
- marginLeft: "8px"
148
+ marginLeft: '8px'
149
149
  },
150
150
  mobileContent: {
151
151
  display: 'flex',
@@ -234,7 +234,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
234
234
  overflow: 'hidden',
235
235
  textOverflow: 'ellipsis',
236
236
  overflowWrap: 'anywhere',
237
- marginLeft: "0px"
237
+ marginLeft: '0px'
238
238
  }
239
239
  }));
240
240
 
@@ -443,7 +443,7 @@ function useLinkBuilder(data) {
443
443
  return null;
444
444
  }
445
445
 
446
- if (data?.isExternal) {
446
+ if (data?.isExistingLink) {
447
447
  return data.link;
448
448
  }
449
449
 
@@ -485,8 +485,8 @@ const Button = /*#__PURE__*/forwardRef(function Button({
485
485
  return data?.isLink ? /*#__PURE__*/React.createElement("a", _extends({
486
486
  ref: ref,
487
487
  href: link,
488
- target: data?.isExternal ? '_blank' : null,
489
- rel: data?.isExternal ? 'nofollow noopener' : null,
488
+ target: data?.isExistingLink ? '_blank' : null,
489
+ rel: data?.isExistingLink ? 'nofollow noopener' : null,
490
490
  className: (active ? classes.active : '') + ' ' + classes[type] + ' ' + classes[size] + ' ' + classes.anchorClass,
491
491
  style: styling
492
492
  }, elementProps), data?.value) : /*#__PURE__*/React.createElement("button", _extends({
@@ -1196,7 +1196,8 @@ function MobileHeader({
1196
1196
  target: 'blank',
1197
1197
  rel: null,
1198
1198
  style: {
1199
- padding: 0
1199
+ padding: 0,
1200
+ paddingRight: '8px'
1200
1201
  }
1201
1202
  });
1202
1203
  }
@@ -1223,7 +1224,7 @@ function MobileHeader({
1223
1224
  }
1224
1225
 
1225
1226
  if (iosUrl && androidUrl) {
1226
- downloadLink = /*#__PURE__*/React.createElement(React.Fragment, null, iosUrl, androidUrl);
1227
+ downloadLink = /*#__PURE__*/React.createElement("div", null, iosUrl, androidUrl);
1227
1228
  } else if (header?.iosUrl) {
1228
1229
  downloadLink = /*#__PURE__*/React.createElement(Button, {
1229
1230
  data: {