tabexseriescomponents 0.0.468 → 0.0.469

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
@@ -27855,6 +27855,7 @@ var Simpleheader = function Simpleheader(props) {
27855
27855
  var routingcountext = props.actions.routingcountext;
27856
27856
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
27857
27857
  var ikimagecredcontext = props.actions.ikimagecredcontext;
27858
+ var scrollYposittionprops = props.actions.scrollYposittionprops;
27858
27859
  var _useState3 = React.useState(false),
27859
27860
  _useState4 = _slicedToArray__default["default"](_useState3, 2),
27860
27861
  openSearchBar = _useState4[0],
@@ -27887,6 +27888,13 @@ var Simpleheader = function Simpleheader(props) {
27887
27888
  }
27888
27889
  }
27889
27890
  }, [templateproperties_context]);
27891
+ // useEffect(() => {
27892
+ // if (window.location.pathname == 'home') {
27893
+ // alert('asdasd');
27894
+ // }
27895
+ // alert(window.location.pathname);
27896
+ // }, []);
27897
+
27890
27898
  var header_cssstyles = (_header_cssstyles = {
27891
27899
  headercontainer: glamor.css({
27892
27900
  position: sectionproperties.headerstyles_position,
@@ -28087,11 +28095,11 @@ var Simpleheader = function Simpleheader(props) {
28087
28095
  paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
28088
28096
  paddingTop: sectionproperties.header_paddingTop + 'px',
28089
28097
  paddingBottom: sectionproperties.header_paddingBottom + 'px',
28090
- backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor
28091
- // ':hover': {
28092
- // backgroundColor: sectionproperties.header_backgroundColor,
28093
- // transition: '.3s ease-in-out',
28094
- // },
28098
+ backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 300 ? sectionproperties.header_backgroundColor : 'transparent' : sectionproperties.header_backgroundColor,
28099
+ ':hover': {
28100
+ backgroundColor: sectionproperties.header_backgroundColor,
28101
+ transition: '.3s ease-in-out'
28102
+ }
28095
28103
  })), _defineProperty__default["default"](_header_cssstyles, "headerinnercontainerscrolled", glamor.css({
28096
28104
  borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
28097
28105
  paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
package/dist/index.esm.js CHANGED
@@ -27806,6 +27806,7 @@ var Simpleheader = function Simpleheader(props) {
27806
27806
  var routingcountext = props.actions.routingcountext;
27807
27807
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
27808
27808
  var ikimagecredcontext = props.actions.ikimagecredcontext;
27809
+ var scrollYposittionprops = props.actions.scrollYposittionprops;
27809
27810
  var _useState3 = useState(false),
27810
27811
  _useState4 = _slicedToArray(_useState3, 2),
27811
27812
  openSearchBar = _useState4[0],
@@ -27838,6 +27839,13 @@ var Simpleheader = function Simpleheader(props) {
27838
27839
  }
27839
27840
  }
27840
27841
  }, [templateproperties_context]);
27842
+ // useEffect(() => {
27843
+ // if (window.location.pathname == 'home') {
27844
+ // alert('asdasd');
27845
+ // }
27846
+ // alert(window.location.pathname);
27847
+ // }, []);
27848
+
27841
27849
  var header_cssstyles = (_header_cssstyles = {
27842
27850
  headercontainer: css({
27843
27851
  position: sectionproperties.headerstyles_position,
@@ -28038,11 +28046,11 @@ var Simpleheader = function Simpleheader(props) {
28038
28046
  paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
28039
28047
  paddingTop: sectionproperties.header_paddingTop + 'px',
28040
28048
  paddingBottom: sectionproperties.header_paddingBottom + 'px',
28041
- backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor
28042
- // ':hover': {
28043
- // backgroundColor: sectionproperties.header_backgroundColor,
28044
- // transition: '.3s ease-in-out',
28045
- // },
28049
+ backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 300 ? sectionproperties.header_backgroundColor : 'transparent' : sectionproperties.header_backgroundColor,
28050
+ ':hover': {
28051
+ backgroundColor: sectionproperties.header_backgroundColor,
28052
+ transition: '.3s ease-in-out'
28053
+ }
28046
28054
  })), _defineProperty(_header_cssstyles, "headerinnercontainerscrolled", css({
28047
28055
  borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
28048
28056
  paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
package/dist/index.umd.js CHANGED
@@ -27681,6 +27681,7 @@
27681
27681
  var routingcountext = props.actions.routingcountext;
27682
27682
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
27683
27683
  var ikimagecredcontext = props.actions.ikimagecredcontext;
27684
+ var scrollYposittionprops = props.actions.scrollYposittionprops;
27684
27685
  var _useState3 = React.useState(false),
27685
27686
  _useState4 = _slicedToArray__default["default"](_useState3, 2),
27686
27687
  openSearchBar = _useState4[0],
@@ -27713,6 +27714,13 @@
27713
27714
  }
27714
27715
  }
27715
27716
  }, [templateproperties_context]);
27717
+ // useEffect(() => {
27718
+ // if (window.location.pathname == 'home') {
27719
+ // alert('asdasd');
27720
+ // }
27721
+ // alert(window.location.pathname);
27722
+ // }, []);
27723
+
27716
27724
  var header_cssstyles = (_header_cssstyles = {
27717
27725
  headercontainer: glamor.css({
27718
27726
  position: sectionproperties.headerstyles_position,
@@ -27913,11 +27921,11 @@
27913
27921
  paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
27914
27922
  paddingTop: sectionproperties.header_paddingTop + 'px',
27915
27923
  paddingBottom: sectionproperties.header_paddingBottom + 'px',
27916
- backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor
27917
- // ':hover': {
27918
- // backgroundColor: sectionproperties.header_backgroundColor,
27919
- // transition: '.3s ease-in-out',
27920
- // },
27924
+ backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 300 ? sectionproperties.header_backgroundColor : 'transparent' : sectionproperties.header_backgroundColor,
27925
+ ':hover': {
27926
+ backgroundColor: sectionproperties.header_backgroundColor,
27927
+ transition: '.3s ease-in-out'
27928
+ }
27921
27929
  })), _defineProperty__default["default"](_header_cssstyles, "headerinnercontainerscrolled", glamor.css({
27922
27930
  borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
27923
27931
  paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.468",
3
+ "version": "0.0.469",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {