tabexseriescomponents 0.0.539 → 0.0.541

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
@@ -55915,28 +55915,17 @@ var Popupcomponent = function Popupcomponent(props) {
55915
55915
  }
55916
55916
  }
55917
55917
  }, [sectionproperties]);
55918
- // useEffect(() => {
55919
- // setTimeout(() => {
55920
- // setshowpopup(true);
55921
- // }, 2000);
55922
- // }, []);
55923
55918
  var closePopUp = function closePopUp() {
55924
- // setting key "seenPopUp" with value true into localStorage
55925
55919
  localStorage.setItem('seenPopUp', true);
55926
- // setting state to false to not display pop-up
55927
55920
  setshowpopup(false);
55928
55921
  };
55929
55922
  React.useEffect(function () {
55930
- // getting value of "seenPopUp" key from localStorage
55931
55923
  var returningUser = localStorage.getItem('seenPopUp');
55932
- // if it's not there, for a new user, it will be null
55933
- // if it's there it will be boolean true
55934
- // setting the opposite to state, false for returning user, true for a new user
55935
55924
  setshowpopup(!returningUser);
55936
55925
  }, []);
55937
55926
  return /*#__PURE__*/React__default["default"].createElement("div", {
55938
55927
  className: "row ml-0 mr-0 w-100"
55939
- }, showpopup == true && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
55928
+ }, showpopup == true && Object.keys(imagesarray).length != 0 && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
55940
55929
  show: true,
55941
55930
  onHide: function onHide() {
55942
55931
  closePopUp();
@@ -55964,7 +55953,7 @@ var Popupcomponent = function Popupcomponent(props) {
55964
55953
  size: 20,
55965
55954
  "class": "",
55966
55955
  color: '#fff'
55967
- }))), Object.keys(imagesarray).length != 0 && /*#__PURE__*/React__default["default"].createElement("a", {
55956
+ }))), /*#__PURE__*/React__default["default"].createElement("a", {
55968
55957
  href: '/signup',
55969
55958
  target: "_self"
55970
55959
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
package/dist/index.esm.js CHANGED
@@ -55866,28 +55866,17 @@ var Popupcomponent = function Popupcomponent(props) {
55866
55866
  }
55867
55867
  }
55868
55868
  }, [sectionproperties]);
55869
- // useEffect(() => {
55870
- // setTimeout(() => {
55871
- // setshowpopup(true);
55872
- // }, 2000);
55873
- // }, []);
55874
55869
  var closePopUp = function closePopUp() {
55875
- // setting key "seenPopUp" with value true into localStorage
55876
55870
  localStorage.setItem('seenPopUp', true);
55877
- // setting state to false to not display pop-up
55878
55871
  setshowpopup(false);
55879
55872
  };
55880
55873
  useEffect(function () {
55881
- // getting value of "seenPopUp" key from localStorage
55882
55874
  var returningUser = localStorage.getItem('seenPopUp');
55883
- // if it's not there, for a new user, it will be null
55884
- // if it's there it will be boolean true
55885
- // setting the opposite to state, false for returning user, true for a new user
55886
55875
  setshowpopup(!returningUser);
55887
55876
  }, []);
55888
55877
  return /*#__PURE__*/React.createElement("div", {
55889
55878
  className: "row ml-0 mr-0 w-100"
55890
- }, showpopup == true && /*#__PURE__*/React.createElement(Modal, {
55879
+ }, showpopup == true && Object.keys(imagesarray).length != 0 && /*#__PURE__*/React.createElement(Modal, {
55891
55880
  show: true,
55892
55881
  onHide: function onHide() {
55893
55882
  closePopUp();
@@ -55915,7 +55904,7 @@ var Popupcomponent = function Popupcomponent(props) {
55915
55904
  size: 20,
55916
55905
  "class": "",
55917
55906
  color: '#fff'
55918
- }))), Object.keys(imagesarray).length != 0 && /*#__PURE__*/React.createElement("a", {
55907
+ }))), /*#__PURE__*/React.createElement("a", {
55919
55908
  href: '/signup',
55920
55909
  target: "_self"
55921
55910
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
package/dist/index.umd.js CHANGED
@@ -55741,28 +55741,17 @@
55741
55741
  }
55742
55742
  }
55743
55743
  }, [sectionproperties]);
55744
- // useEffect(() => {
55745
- // setTimeout(() => {
55746
- // setshowpopup(true);
55747
- // }, 2000);
55748
- // }, []);
55749
55744
  var closePopUp = function closePopUp() {
55750
- // setting key "seenPopUp" with value true into localStorage
55751
55745
  localStorage.setItem('seenPopUp', true);
55752
- // setting state to false to not display pop-up
55753
55746
  setshowpopup(false);
55754
55747
  };
55755
55748
  React.useEffect(function () {
55756
- // getting value of "seenPopUp" key from localStorage
55757
55749
  var returningUser = localStorage.getItem('seenPopUp');
55758
- // if it's not there, for a new user, it will be null
55759
- // if it's there it will be boolean true
55760
- // setting the opposite to state, false for returning user, true for a new user
55761
55750
  setshowpopup(!returningUser);
55762
55751
  }, []);
55763
55752
  return /*#__PURE__*/React__default["default"].createElement("div", {
55764
55753
  className: "row ml-0 mr-0 w-100"
55765
- }, showpopup == true && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
55754
+ }, showpopup == true && Object.keys(imagesarray).length != 0 && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
55766
55755
  show: true,
55767
55756
  onHide: function onHide() {
55768
55757
  closePopUp();
@@ -55790,7 +55779,7 @@
55790
55779
  size: 20,
55791
55780
  "class": "",
55792
55781
  color: '#fff'
55793
- }))), Object.keys(imagesarray).length != 0 && /*#__PURE__*/React__default["default"].createElement("a", {
55782
+ }))), /*#__PURE__*/React__default["default"].createElement("a", {
55794
55783
  href: '/signup',
55795
55784
  target: "_self"
55796
55785
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.539",
3
+ "version": "0.0.541",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {