tabexseriescomponents 0.0.232 → 0.0.233

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/dist/index.cjs.js CHANGED
@@ -51331,7 +51331,9 @@ var Simpleproductcard = function Simpleproductcard(props) {
51331
51331
  "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard, " ").concat(generalCardsStyles.Simpleproductcard),
51332
51332
  style: {
51333
51333
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
51334
- paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
51334
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
51335
+ minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
51336
+ maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px'
51335
51337
  }
51336
51338
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
51337
51339
  "class": ' cursor-pointer w-100 ',
@@ -51464,7 +51466,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
51464
51466
  }, /*#__PURE__*/React__default["default"].createElement("div", {
51465
51467
  "class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center justify-content-center mb-1 "
51466
51468
  }, /*#__PURE__*/React__default["default"].createElement("div", {
51467
- "class": " d-flex align-items-center justify-content-center p-0 mb-0"
51469
+ "class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center justify-content-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center justify-content-center p-0 mb-0 '
51468
51470
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
51469
51471
  "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
51470
51472
  }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
package/dist/index.esm.js CHANGED
@@ -51287,7 +51287,9 @@ var Simpleproductcard = function Simpleproductcard(props) {
51287
51287
  "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard, " ").concat(generalCardsStyles.Simpleproductcard),
51288
51288
  style: {
51289
51289
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
51290
- paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
51290
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
51291
+ minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
51292
+ maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px'
51291
51293
  }
51292
51294
  }, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
51293
51295
  "class": ' cursor-pointer w-100 ',
@@ -51420,7 +51422,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
51420
51422
  }, /*#__PURE__*/React.createElement("div", {
51421
51423
  "class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center justify-content-center mb-1 "
51422
51424
  }, /*#__PURE__*/React.createElement("div", {
51423
- "class": " d-flex align-items-center justify-content-center p-0 mb-0"
51425
+ "class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center justify-content-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center justify-content-center p-0 mb-0 '
51424
51426
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
51425
51427
  "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
51426
51428
  }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
package/dist/index.umd.js CHANGED
@@ -51187,7 +51187,9 @@
51187
51187
  "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard, " ").concat(generalCardsStyles.Simpleproductcard),
51188
51188
  style: {
51189
51189
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
51190
- paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
51190
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
51191
+ minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
51192
+ maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px'
51191
51193
  }
51192
51194
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
51193
51195
  "class": ' cursor-pointer w-100 ',
@@ -51320,7 +51322,7 @@
51320
51322
  }, /*#__PURE__*/React__default["default"].createElement("div", {
51321
51323
  "class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center justify-content-center mb-1 "
51322
51324
  }, /*#__PURE__*/React__default["default"].createElement("div", {
51323
- "class": " d-flex align-items-center justify-content-center p-0 mb-0"
51325
+ "class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center justify-content-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center justify-content-center p-0 mb-0 '
51324
51326
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
51325
51327
  "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
51326
51328
  }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.232",
3
+ "version": "0.0.233",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {