tabexseriescomponents 0.0.439 → 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
@@ -67137,13 +67137,13 @@ var MenuCard = function MenuCard(props) {
67137
67137
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
67138
67138
  }, /*#__PURE__*/React__default["default"].createElement("i", {
67139
67139
  "class": "h-100 allcentered"
67140
- }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), 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", {
67141
67141
  "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
67142
67142
  onClick: function onClick() {
67143
67143
  if (item.hasvariants == 0) {
67144
67144
  var tempitem = _objectSpread$l({}, item);
67145
67145
  tempitem.quantity = parseInt(tempitem.quantity);
67146
- tempitem.quantity = tempitem.quantity - 1;
67146
+ tempitem.quantity = tempitem.quantity + 1;
67147
67147
  if (tempitem.quantity <= 0) {
67148
67148
  tempitem.quantity = 0;
67149
67149
  }
@@ -67165,7 +67165,7 @@ var MenuCard = function MenuCard(props) {
67165
67165
  height: sectionproperties.quantitybtntextheight + 'px',
67166
67166
  borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
67167
67167
  }
67168
- }, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
67168
+ }, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
67169
67169
  "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
67170
67170
  style: {
67171
67171
  transform: ' rotate(-180deg)'
@@ -67174,7 +67174,7 @@ var MenuCard = function MenuCard(props) {
67174
67174
  if (item.hasvariants == 0) {
67175
67175
  var tempitem = _objectSpread$l({}, item);
67176
67176
  tempitem.quantity = parseInt(tempitem.quantity);
67177
- tempitem.quantity = tempitem.quantity + 1;
67177
+ tempitem.quantity = tempitem.quantity - 1;
67178
67178
  if (tempitem.quantity <= 0) {
67179
67179
  tempitem.quantity = 0;
67180
67180
  }
@@ -67188,13 +67188,13 @@ var MenuCard = function MenuCard(props) {
67188
67188
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
67189
67189
  }, /*#__PURE__*/React__default["default"].createElement("i", {
67190
67190
  "class": "h-100 allcentered"
67191
- }, /*#__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", {
67192
67192
  "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
67193
67193
  onClick: function onClick() {
67194
67194
  if (item.hasvariants == 0) {
67195
67195
  var tempitem = _objectSpread$l({}, item);
67196
67196
  tempitem.quantity = parseInt(tempitem.quantity);
67197
- tempitem.quantity = tempitem.quantity + 1;
67197
+ tempitem.quantity = tempitem.quantity - 1;
67198
67198
  if (tempitem.quantity <= 0) {
67199
67199
  tempitem.quantity = 0;
67200
67200
  }
package/dist/index.esm.js CHANGED
@@ -67088,13 +67088,13 @@ var MenuCard = function MenuCard(props) {
67088
67088
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
67089
67089
  }, /*#__PURE__*/React.createElement("i", {
67090
67090
  "class": "h-100 allcentered"
67091
- }, /*#__PURE__*/React.createElement(IoIosArrowUp, null))), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
67091
+ }, /*#__PURE__*/React.createElement(IoIosArrowUp, null))), langdetect == 'ar' && /*#__PURE__*/React.createElement("button", {
67092
67092
  "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
67093
67093
  onClick: function onClick() {
67094
67094
  if (item.hasvariants == 0) {
67095
67095
  var tempitem = _objectSpread$l({}, item);
67096
67096
  tempitem.quantity = parseInt(tempitem.quantity);
67097
- tempitem.quantity = tempitem.quantity - 1;
67097
+ tempitem.quantity = tempitem.quantity + 1;
67098
67098
  if (tempitem.quantity <= 0) {
67099
67099
  tempitem.quantity = 0;
67100
67100
  }
@@ -67116,7 +67116,7 @@ var MenuCard = function MenuCard(props) {
67116
67116
  height: sectionproperties.quantitybtntextheight + 'px',
67117
67117
  borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
67118
67118
  }
67119
- }, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
67119
+ }, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React.createElement("button", {
67120
67120
  "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
67121
67121
  style: {
67122
67122
  transform: ' rotate(-180deg)'
@@ -67125,7 +67125,7 @@ var MenuCard = function MenuCard(props) {
67125
67125
  if (item.hasvariants == 0) {
67126
67126
  var tempitem = _objectSpread$l({}, item);
67127
67127
  tempitem.quantity = parseInt(tempitem.quantity);
67128
- tempitem.quantity = tempitem.quantity + 1;
67128
+ tempitem.quantity = tempitem.quantity - 1;
67129
67129
  if (tempitem.quantity <= 0) {
67130
67130
  tempitem.quantity = 0;
67131
67131
  }
@@ -67139,13 +67139,13 @@ var MenuCard = function MenuCard(props) {
67139
67139
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
67140
67140
  }, /*#__PURE__*/React.createElement("i", {
67141
67141
  "class": "h-100 allcentered"
67142
- }, /*#__PURE__*/React.createElement(IoIosArrowUp, null))), langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
67142
+ }, /*#__PURE__*/React.createElement(IoIosArrowUp, null))), langdetect == 'en' && /*#__PURE__*/React.createElement("button", {
67143
67143
  "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
67144
67144
  onClick: function onClick() {
67145
67145
  if (item.hasvariants == 0) {
67146
67146
  var tempitem = _objectSpread$l({}, item);
67147
67147
  tempitem.quantity = parseInt(tempitem.quantity);
67148
- tempitem.quantity = tempitem.quantity + 1;
67148
+ tempitem.quantity = tempitem.quantity - 1;
67149
67149
  if (tempitem.quantity <= 0) {
67150
67150
  tempitem.quantity = 0;
67151
67151
  }
package/dist/index.umd.js CHANGED
@@ -66963,13 +66963,13 @@
66963
66963
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
66964
66964
  }, /*#__PURE__*/React__default["default"].createElement("i", {
66965
66965
  "class": "h-100 allcentered"
66966
- }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), 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", {
66967
66967
  "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
66968
66968
  onClick: function onClick() {
66969
66969
  if (item.hasvariants == 0) {
66970
66970
  var tempitem = _objectSpread$l({}, item);
66971
66971
  tempitem.quantity = parseInt(tempitem.quantity);
66972
- tempitem.quantity = tempitem.quantity - 1;
66972
+ tempitem.quantity = tempitem.quantity + 1;
66973
66973
  if (tempitem.quantity <= 0) {
66974
66974
  tempitem.quantity = 0;
66975
66975
  }
@@ -66991,7 +66991,7 @@
66991
66991
  height: sectionproperties.quantitybtntextheight + 'px',
66992
66992
  borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
66993
66993
  }
66994
- }, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
66994
+ }, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
66995
66995
  "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
66996
66996
  style: {
66997
66997
  transform: ' rotate(-180deg)'
@@ -67000,7 +67000,7 @@
67000
67000
  if (item.hasvariants == 0) {
67001
67001
  var tempitem = _objectSpread$l({}, item);
67002
67002
  tempitem.quantity = parseInt(tempitem.quantity);
67003
- tempitem.quantity = tempitem.quantity + 1;
67003
+ tempitem.quantity = tempitem.quantity - 1;
67004
67004
  if (tempitem.quantity <= 0) {
67005
67005
  tempitem.quantity = 0;
67006
67006
  }
@@ -67014,13 +67014,13 @@
67014
67014
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
67015
67015
  }, /*#__PURE__*/React__default["default"].createElement("i", {
67016
67016
  "class": "h-100 allcentered"
67017
- }, /*#__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", {
67018
67018
  "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
67019
67019
  onClick: function onClick() {
67020
67020
  if (item.hasvariants == 0) {
67021
67021
  var tempitem = _objectSpread$l({}, item);
67022
67022
  tempitem.quantity = parseInt(tempitem.quantity);
67023
- tempitem.quantity = tempitem.quantity + 1;
67023
+ tempitem.quantity = tempitem.quantity - 1;
67024
67024
  if (tempitem.quantity <= 0) {
67025
67025
  tempitem.quantity = 0;
67026
67026
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.439",
3
+ "version": "0.0.440",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {