diy-template-components 0.2.21 → 0.2.23

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
@@ -6781,7 +6781,7 @@ const SingleVideoSlide$1 = props => {
6781
6781
  className: classes.videoDetails
6782
6782
  }, data?.isPaid !== 0 && (checkIfOfferIsValid() || data.offerPriceValidFor > 0) && data.offerPriceValidFor > conversions && /*#__PURE__*/React.createElement("div", null, data.offerPriceValidFor - conversions > 0 && data.discount && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) ? /*#__PURE__*/React.createElement("h3", {
6783
6783
  className: classes.bannerContainer
6784
- }, "Hurry up! Offer left for", ' ', data.offerPriceValidFor - conversions, " users now") : checkIfOfferIsValid() && /*#__PURE__*/React.createElement("h3", {
6784
+ }, "Hurry up! Offer left for", ' ', data.offerPriceValidFor - conversions, ' ', data.offerPriceValidFor - conversions > 1 ? 'users now' : 'user only') : checkIfOfferIsValid() && /*#__PURE__*/React.createElement("h3", {
6785
6785
  className: classes.bannerContainer
6786
6786
  }, "Hurry up! Offer for limited period only")), /*#__PURE__*/React.createElement("h3", {
6787
6787
  ref: data?.videoTextHeading?.refSetter,
@@ -8035,7 +8035,7 @@ function Section({
8035
8035
  width: 'auto',
8036
8036
  height: '48px'
8037
8037
  }
8038
- }) : /*#__PURE__*/React.createElement("div", {
8038
+ }) : renderHTML ? null : /*#__PURE__*/React.createElement("div", {
8039
8039
  style: {
8040
8040
  display: 'flex',
8041
8041
  alignItems: 'center',
@@ -8057,7 +8057,7 @@ function Section({
8057
8057
  width: '100%',
8058
8058
  marginBottom: '-4px'
8059
8059
  }
8060
- }) : /*#__PURE__*/React.createElement("div", {
8060
+ }) : renderHTML ? null : /*#__PURE__*/React.createElement("div", {
8061
8061
  style: {
8062
8062
  maxWidth: '600px',
8063
8063
  width: '100%',
@@ -8142,7 +8142,7 @@ function Section({
8142
8142
  width: '100%',
8143
8143
  borderRadius: '10px'
8144
8144
  }
8145
- }) : /*#__PURE__*/React.createElement("div", {
8145
+ }) : renderHTML ? null : /*#__PURE__*/React.createElement("div", {
8146
8146
  style: {
8147
8147
  background: '#D9D9D9F0',
8148
8148
  width: '100%',