tabexseriescomponents 0.0.437 → 0.0.440

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
@@ -67114,10 +67114,7 @@ var MenuCard = function MenuCard(props) {
67114
67114
  "class": ' row m-0 d-flex align-items-center '
67115
67115
  }, /*#__PURE__*/React__default["default"].createElement("div", {
67116
67116
  "class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
67117
- }, langdetect == 'en' &&
67118
- /*#__PURE__*/
67119
- // remove
67120
- React__default["default"].createElement("button", {
67117
+ }, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("button", {
67121
67118
  "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
67122
67119
  style: {
67123
67120
  transform: ' rotate(-180deg)'
@@ -67140,13 +67137,13 @@ var MenuCard = function MenuCard(props) {
67140
67137
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
67141
67138
  }, /*#__PURE__*/React__default["default"].createElement("i", {
67142
67139
  "class": "h-100 allcentered"
67143
- }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), "// add", langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
67140
+ }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
67144
67141
  "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
67145
67142
  onClick: function onClick() {
67146
67143
  if (item.hasvariants == 0) {
67147
67144
  var tempitem = _objectSpread$l({}, item);
67148
67145
  tempitem.quantity = parseInt(tempitem.quantity);
67149
- tempitem.quantity = tempitem.quantity - 1;
67146
+ tempitem.quantity = tempitem.quantity + 1;
67150
67147
  if (tempitem.quantity <= 0) {
67151
67148
  tempitem.quantity = 0;
67152
67149
  }
@@ -67168,7 +67165,7 @@ var MenuCard = function MenuCard(props) {
67168
67165
  height: sectionproperties.quantitybtntextheight + 'px',
67169
67166
  borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
67170
67167
  }
67171
- }, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
67168
+ }, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
67172
67169
  "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
67173
67170
  style: {
67174
67171
  transform: ' rotate(-180deg)'
@@ -67177,7 +67174,7 @@ var MenuCard = function MenuCard(props) {
67177
67174
  if (item.hasvariants == 0) {
67178
67175
  var tempitem = _objectSpread$l({}, item);
67179
67176
  tempitem.quantity = parseInt(tempitem.quantity);
67180
- tempitem.quantity = tempitem.quantity + 1;
67177
+ tempitem.quantity = tempitem.quantity - 1;
67181
67178
  if (tempitem.quantity <= 0) {
67182
67179
  tempitem.quantity = 0;
67183
67180
  }
@@ -67191,13 +67188,13 @@ var MenuCard = function MenuCard(props) {
67191
67188
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
67192
67189
  }, /*#__PURE__*/React__default["default"].createElement("i", {
67193
67190
  "class": "h-100 allcentered"
67194
- }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
67191
+ }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("button", {
67195
67192
  "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
67196
67193
  onClick: function onClick() {
67197
67194
  if (item.hasvariants == 0) {
67198
67195
  var tempitem = _objectSpread$l({}, item);
67199
67196
  tempitem.quantity = parseInt(tempitem.quantity);
67200
- tempitem.quantity = tempitem.quantity + 1;
67197
+ tempitem.quantity = tempitem.quantity - 1;
67201
67198
  if (tempitem.quantity <= 0) {
67202
67199
  tempitem.quantity = 0;
67203
67200
  }
package/dist/index.esm.js CHANGED
@@ -67065,10 +67065,7 @@ var MenuCard = function MenuCard(props) {
67065
67065
  "class": ' row m-0 d-flex align-items-center '
67066
67066
  }, /*#__PURE__*/React.createElement("div", {
67067
67067
  "class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
67068
- }, langdetect == 'en' &&
67069
- /*#__PURE__*/
67070
- // remove
67071
- React.createElement("button", {
67068
+ }, langdetect == 'en' && /*#__PURE__*/React.createElement("button", {
67072
67069
  "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
67073
67070
  style: {
67074
67071
  transform: ' rotate(-180deg)'
@@ -67091,13 +67088,13 @@ var MenuCard = function MenuCard(props) {
67091
67088
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
67092
67089
  }, /*#__PURE__*/React.createElement("i", {
67093
67090
  "class": "h-100 allcentered"
67094
- }, /*#__PURE__*/React.createElement(IoIosArrowUp, null))), "// add", langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
67091
+ }, /*#__PURE__*/React.createElement(IoIosArrowUp, null))), langdetect == 'ar' && /*#__PURE__*/React.createElement("button", {
67095
67092
  "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
67096
67093
  onClick: function onClick() {
67097
67094
  if (item.hasvariants == 0) {
67098
67095
  var tempitem = _objectSpread$l({}, item);
67099
67096
  tempitem.quantity = parseInt(tempitem.quantity);
67100
- tempitem.quantity = tempitem.quantity - 1;
67097
+ tempitem.quantity = tempitem.quantity + 1;
67101
67098
  if (tempitem.quantity <= 0) {
67102
67099
  tempitem.quantity = 0;
67103
67100
  }
@@ -67119,7 +67116,7 @@ var MenuCard = function MenuCard(props) {
67119
67116
  height: sectionproperties.quantitybtntextheight + 'px',
67120
67117
  borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
67121
67118
  }
67122
- }, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
67119
+ }, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React.createElement("button", {
67123
67120
  "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
67124
67121
  style: {
67125
67122
  transform: ' rotate(-180deg)'
@@ -67128,7 +67125,7 @@ var MenuCard = function MenuCard(props) {
67128
67125
  if (item.hasvariants == 0) {
67129
67126
  var tempitem = _objectSpread$l({}, item);
67130
67127
  tempitem.quantity = parseInt(tempitem.quantity);
67131
- tempitem.quantity = tempitem.quantity + 1;
67128
+ tempitem.quantity = tempitem.quantity - 1;
67132
67129
  if (tempitem.quantity <= 0) {
67133
67130
  tempitem.quantity = 0;
67134
67131
  }
@@ -67142,13 +67139,13 @@ var MenuCard = function MenuCard(props) {
67142
67139
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
67143
67140
  }, /*#__PURE__*/React.createElement("i", {
67144
67141
  "class": "h-100 allcentered"
67145
- }, /*#__PURE__*/React.createElement(IoIosArrowUp, null))), langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
67142
+ }, /*#__PURE__*/React.createElement(IoIosArrowUp, null))), langdetect == 'en' && /*#__PURE__*/React.createElement("button", {
67146
67143
  "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
67147
67144
  onClick: function onClick() {
67148
67145
  if (item.hasvariants == 0) {
67149
67146
  var tempitem = _objectSpread$l({}, item);
67150
67147
  tempitem.quantity = parseInt(tempitem.quantity);
67151
- tempitem.quantity = tempitem.quantity + 1;
67148
+ tempitem.quantity = tempitem.quantity - 1;
67152
67149
  if (tempitem.quantity <= 0) {
67153
67150
  tempitem.quantity = 0;
67154
67151
  }
package/dist/index.umd.js CHANGED
@@ -66940,10 +66940,7 @@
66940
66940
  "class": ' row m-0 d-flex align-items-center '
66941
66941
  }, /*#__PURE__*/React__default["default"].createElement("div", {
66942
66942
  "class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
66943
- }, langdetect == 'en' &&
66944
- /*#__PURE__*/
66945
- // remove
66946
- React__default["default"].createElement("button", {
66943
+ }, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("button", {
66947
66944
  "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
66948
66945
  style: {
66949
66946
  transform: ' rotate(-180deg)'
@@ -66966,13 +66963,13 @@
66966
66963
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
66967
66964
  }, /*#__PURE__*/React__default["default"].createElement("i", {
66968
66965
  "class": "h-100 allcentered"
66969
- }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), "// add", langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
66966
+ }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
66970
66967
  "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
66971
66968
  onClick: function onClick() {
66972
66969
  if (item.hasvariants == 0) {
66973
66970
  var tempitem = _objectSpread$l({}, item);
66974
66971
  tempitem.quantity = parseInt(tempitem.quantity);
66975
- tempitem.quantity = tempitem.quantity - 1;
66972
+ tempitem.quantity = tempitem.quantity + 1;
66976
66973
  if (tempitem.quantity <= 0) {
66977
66974
  tempitem.quantity = 0;
66978
66975
  }
@@ -66994,7 +66991,7 @@
66994
66991
  height: sectionproperties.quantitybtntextheight + 'px',
66995
66992
  borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
66996
66993
  }
66997
- }, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
66994
+ }, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
66998
66995
  "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
66999
66996
  style: {
67000
66997
  transform: ' rotate(-180deg)'
@@ -67003,7 +67000,7 @@
67003
67000
  if (item.hasvariants == 0) {
67004
67001
  var tempitem = _objectSpread$l({}, item);
67005
67002
  tempitem.quantity = parseInt(tempitem.quantity);
67006
- tempitem.quantity = tempitem.quantity + 1;
67003
+ tempitem.quantity = tempitem.quantity - 1;
67007
67004
  if (tempitem.quantity <= 0) {
67008
67005
  tempitem.quantity = 0;
67009
67006
  }
@@ -67017,13 +67014,13 @@
67017
67014
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
67018
67015
  }, /*#__PURE__*/React__default["default"].createElement("i", {
67019
67016
  "class": "h-100 allcentered"
67020
- }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
67017
+ }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("button", {
67021
67018
  "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
67022
67019
  onClick: function onClick() {
67023
67020
  if (item.hasvariants == 0) {
67024
67021
  var tempitem = _objectSpread$l({}, item);
67025
67022
  tempitem.quantity = parseInt(tempitem.quantity);
67026
- tempitem.quantity = tempitem.quantity + 1;
67023
+ tempitem.quantity = tempitem.quantity - 1;
67027
67024
  if (tempitem.quantity <= 0) {
67028
67025
  tempitem.quantity = 0;
67029
67026
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.437",
3
+ "version": "0.0.440",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {