tabexseriescomponents 0.0.574 → 0.0.576

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
@@ -14076,6 +14076,12 @@ var CartSlider = function CartSlider(props) {
14076
14076
  '@media (max-width: 800px)': {
14077
14077
  paddingBottom: '18rem'
14078
14078
  }
14079
+ }),
14080
+ containerr: glamor.css({
14081
+ height: '90vh',
14082
+ '@media (max-width: 800px)': {
14083
+ height: '80vh'
14084
+ }
14079
14085
  })
14080
14086
  };
14081
14087
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -14158,10 +14164,7 @@ var CartSlider = function CartSlider(props) {
14158
14164
  overflow: 'hidden'
14159
14165
  }
14160
14166
  }, /*#__PURE__*/React__default["default"].createElement("div", {
14161
- className: "row m-0 w-100 ",
14162
- style: {
14163
- height: '90vh'
14164
- }
14167
+ className: cart_cssstyles.containerr + ' row m-0 w-100 '
14165
14168
  }, AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
14166
14169
  className: "col-lg-12 allcentered",
14167
14170
  style: {
@@ -14780,6 +14783,17 @@ var OrderSuccess = function OrderSuccess(props) {
14780
14783
  _useState8 = _slicedToArray__default["default"](_useState7, 2);
14781
14784
  _useState8[0];
14782
14785
  var setCurrentPageId = _useState8[1];
14786
+ // useEffect(() => {
14787
+ // const query = new URLSearchParams(uselocation.search);
14788
+ // var issuccess = query.get('status');
14789
+ // if (issuccess == true || issuccess == 1 || issuccess == 'true') {
14790
+ // if (fetchcustomercartQueryContext.isSuccess) {
14791
+ // setTimeout(() => {
14792
+ // localStorage.removeItem('cdata');
14793
+ // }, 1000);
14794
+ // }
14795
+ // }
14796
+ // }, [fetchcustomercartQueryContext.isSuccess]);
14783
14797
  React.useEffect(function () {
14784
14798
  var query = new URLSearchParams(uselocation.search);
14785
14799
  var issuccess = query.get('status');
@@ -14787,6 +14801,11 @@ var OrderSuccess = function OrderSuccess(props) {
14787
14801
  if (fetchcustomercartQueryContext.isSuccess) {
14788
14802
  setTimeout(function () {
14789
14803
  localStorage.removeItem('cdata');
14804
+ AddtoCartMutationContext.mutate({
14805
+ functype: 'clearcart',
14806
+ reloadpage: false,
14807
+ openproductmodal: false
14808
+ });
14790
14809
  }, 1000);
14791
14810
  }
14792
14811
  }
package/dist/index.esm.js CHANGED
@@ -14027,6 +14027,12 @@ var CartSlider = function CartSlider(props) {
14027
14027
  '@media (max-width: 800px)': {
14028
14028
  paddingBottom: '18rem'
14029
14029
  }
14030
+ }),
14031
+ containerr: css({
14032
+ height: '90vh',
14033
+ '@media (max-width: 800px)': {
14034
+ height: '80vh'
14035
+ }
14030
14036
  })
14031
14037
  };
14032
14038
  return /*#__PURE__*/React.createElement("div", {
@@ -14109,10 +14115,7 @@ var CartSlider = function CartSlider(props) {
14109
14115
  overflow: 'hidden'
14110
14116
  }
14111
14117
  }, /*#__PURE__*/React.createElement("div", {
14112
- className: "row m-0 w-100 ",
14113
- style: {
14114
- height: '90vh'
14115
- }
14118
+ className: cart_cssstyles.containerr + ' row m-0 w-100 '
14116
14119
  }, AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
14117
14120
  className: "col-lg-12 allcentered",
14118
14121
  style: {
@@ -14731,6 +14734,17 @@ var OrderSuccess = function OrderSuccess(props) {
14731
14734
  _useState8 = _slicedToArray(_useState7, 2);
14732
14735
  _useState8[0];
14733
14736
  var setCurrentPageId = _useState8[1];
14737
+ // useEffect(() => {
14738
+ // const query = new URLSearchParams(uselocation.search);
14739
+ // var issuccess = query.get('status');
14740
+ // if (issuccess == true || issuccess == 1 || issuccess == 'true') {
14741
+ // if (fetchcustomercartQueryContext.isSuccess) {
14742
+ // setTimeout(() => {
14743
+ // localStorage.removeItem('cdata');
14744
+ // }, 1000);
14745
+ // }
14746
+ // }
14747
+ // }, [fetchcustomercartQueryContext.isSuccess]);
14734
14748
  useEffect(function () {
14735
14749
  var query = new URLSearchParams(uselocation.search);
14736
14750
  var issuccess = query.get('status');
@@ -14738,6 +14752,11 @@ var OrderSuccess = function OrderSuccess(props) {
14738
14752
  if (fetchcustomercartQueryContext.isSuccess) {
14739
14753
  setTimeout(function () {
14740
14754
  localStorage.removeItem('cdata');
14755
+ AddtoCartMutationContext.mutate({
14756
+ functype: 'clearcart',
14757
+ reloadpage: false,
14758
+ openproductmodal: false
14759
+ });
14741
14760
  }, 1000);
14742
14761
  }
14743
14762
  }
package/dist/index.umd.js CHANGED
@@ -13900,6 +13900,12 @@
13900
13900
  '@media (max-width: 800px)': {
13901
13901
  paddingBottom: '18rem'
13902
13902
  }
13903
+ }),
13904
+ containerr: glamor.css({
13905
+ height: '90vh',
13906
+ '@media (max-width: 800px)': {
13907
+ height: '80vh'
13908
+ }
13903
13909
  })
13904
13910
  };
13905
13911
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -13982,10 +13988,7 @@
13982
13988
  overflow: 'hidden'
13983
13989
  }
13984
13990
  }, /*#__PURE__*/React__default["default"].createElement("div", {
13985
- className: "row m-0 w-100 ",
13986
- style: {
13987
- height: '90vh'
13988
- }
13991
+ className: cart_cssstyles.containerr + ' row m-0 w-100 '
13989
13992
  }, AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
13990
13993
  className: "col-lg-12 allcentered",
13991
13994
  style: {
@@ -14604,6 +14607,17 @@
14604
14607
  _useState8 = _slicedToArray__default["default"](_useState7, 2);
14605
14608
  _useState8[0];
14606
14609
  var setCurrentPageId = _useState8[1];
14610
+ // useEffect(() => {
14611
+ // const query = new URLSearchParams(uselocation.search);
14612
+ // var issuccess = query.get('status');
14613
+ // if (issuccess == true || issuccess == 1 || issuccess == 'true') {
14614
+ // if (fetchcustomercartQueryContext.isSuccess) {
14615
+ // setTimeout(() => {
14616
+ // localStorage.removeItem('cdata');
14617
+ // }, 1000);
14618
+ // }
14619
+ // }
14620
+ // }, [fetchcustomercartQueryContext.isSuccess]);
14607
14621
  React.useEffect(function () {
14608
14622
  var query = new URLSearchParams(uselocation.search);
14609
14623
  var issuccess = query.get('status');
@@ -14611,6 +14625,11 @@
14611
14625
  if (fetchcustomercartQueryContext.isSuccess) {
14612
14626
  setTimeout(function () {
14613
14627
  localStorage.removeItem('cdata');
14628
+ AddtoCartMutationContext.mutate({
14629
+ functype: 'clearcart',
14630
+ reloadpage: false,
14631
+ openproductmodal: false
14632
+ });
14614
14633
  }, 1000);
14615
14634
  }
14616
14635
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.574",
3
+ "version": "0.0.576",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {