diy-template-components 0.0.63 → 0.0.66

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
@@ -144,7 +144,8 @@ const useSectionStyles$a = createUseStyles(theme => ({
144
144
  fontWeight: '500',
145
145
  fontSize: '16px',
146
146
  lineHeight: '24px',
147
- color: '#3C4852'
147
+ color: '#3C4852',
148
+ marginLeft: "8px"
148
149
  },
149
150
  mobileContent: {
150
151
  display: 'flex',
@@ -232,7 +233,8 @@ const useSectionStyles$a = createUseStyles(theme => ({
232
233
  '-webkit-box-orient': 'vertical',
233
234
  overflow: 'hidden',
234
235
  textOverflow: 'ellipsis',
235
- overflowWrap: 'anywhere'
236
+ overflowWrap: 'anywhere',
237
+ marginLeft: "0px"
236
238
  }
237
239
  }));
238
240
 
@@ -1058,7 +1060,7 @@ function OptionList({
1058
1060
  styling: isMobile ? {
1059
1061
  margin: '0 40px'
1060
1062
  } : {}
1061
- }) : /*#__PURE__*/React.createElement(Button, {
1063
+ }) : headerData?.loginCtaLink ? /*#__PURE__*/React.createElement(Button, {
1062
1064
  data: {
1063
1065
  link: headerData?.loginCtaLink,
1064
1066
  isLink: 1,
@@ -1072,7 +1074,7 @@ function OptionList({
1072
1074
  styling: isMobile ? {
1073
1075
  margin: '0 40px'
1074
1076
  } : {}
1075
- })));
1077
+ }) : null));
1076
1078
  }
1077
1079
 
1078
1080
  function DesktopHeader({
@@ -1247,22 +1249,7 @@ function MobileHeader({
1247
1249
  rel: null
1248
1250
  });
1249
1251
  } else {
1250
- if (header?.appLink) {
1251
- downloadLink = /*#__PURE__*/React.createElement(Button, {
1252
- data: {
1253
- link: header?.appLink,
1254
- isLink: 1,
1255
- value: 'Download App',
1256
- isExternal: 1
1257
- },
1258
- type: 'primary',
1259
- size: 'small',
1260
- target: 'blank',
1261
- rel: null
1262
- });
1263
- } else {
1264
- downloadLink = null;
1265
- }
1252
+ downloadLink = null;
1266
1253
  }
1267
1254
  } else {
1268
1255
  if (header?.appLink) {