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.js CHANGED
@@ -6796,7 +6796,7 @@ const SingleVideoSlide$1 = props => {
6796
6796
  className: classes.videoDetails
6797
6797
  }, data?.isPaid !== 0 && (checkIfOfferIsValid() || data.offerPriceValidFor > 0) && data.offerPriceValidFor > conversions && /*#__PURE__*/React__default["default"].createElement("div", null, data.offerPriceValidFor - conversions > 0 && data.discount && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) ? /*#__PURE__*/React__default["default"].createElement("h3", {
6798
6798
  className: classes.bannerContainer
6799
- }, "Hurry up! Offer left for", ' ', data.offerPriceValidFor - conversions, " users now") : checkIfOfferIsValid() && /*#__PURE__*/React__default["default"].createElement("h3", {
6799
+ }, "Hurry up! Offer left for", ' ', data.offerPriceValidFor - conversions, ' ', data.offerPriceValidFor - conversions > 1 ? 'users now' : 'user only') : checkIfOfferIsValid() && /*#__PURE__*/React__default["default"].createElement("h3", {
6800
6800
  className: classes.bannerContainer
6801
6801
  }, "Hurry up! Offer for limited period only")), /*#__PURE__*/React__default["default"].createElement("h3", {
6802
6802
  ref: data?.videoTextHeading?.refSetter,
@@ -8050,7 +8050,7 @@ function Section({
8050
8050
  width: 'auto',
8051
8051
  height: '48px'
8052
8052
  }
8053
- }) : /*#__PURE__*/React__default["default"].createElement("div", {
8053
+ }) : renderHTML ? null : /*#__PURE__*/React__default["default"].createElement("div", {
8054
8054
  style: {
8055
8055
  display: 'flex',
8056
8056
  alignItems: 'center',
@@ -8072,7 +8072,7 @@ function Section({
8072
8072
  width: '100%',
8073
8073
  marginBottom: '-4px'
8074
8074
  }
8075
- }) : /*#__PURE__*/React__default["default"].createElement("div", {
8075
+ }) : renderHTML ? null : /*#__PURE__*/React__default["default"].createElement("div", {
8076
8076
  style: {
8077
8077
  maxWidth: '600px',
8078
8078
  width: '100%',
@@ -8157,7 +8157,7 @@ function Section({
8157
8157
  width: '100%',
8158
8158
  borderRadius: '10px'
8159
8159
  }
8160
- }) : /*#__PURE__*/React__default["default"].createElement("div", {
8160
+ }) : renderHTML ? null : /*#__PURE__*/React__default["default"].createElement("div", {
8161
8161
  style: {
8162
8162
  background: '#D9D9D9F0',
8163
8163
  width: '100%',