Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ionic-react-header-parallax

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ionic-react-header-parallax - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

29

CHANGELOG.md

@@ -7,4 +7,31 @@ ### Changelog

#### [v0.1.2](https://github.com/ahmnouira/ionic-react-header-parallax/compare/v0.1.2...v0.1.2)
#### [v0.1.7](https://github.com/ahmnouira/ionic-react-header-parallax/compare/v0.1.5...v0.1.7)
- example: add ios and android projec [`2b8021b`](https://github.com/ahmnouira/ionic-react-header-parallax/commit/2b8021bb640d812f26035960ec549e38e4057bae)
- refactor: use ref instead of document [`499e9ca`](https://github.com/ahmnouira/ionic-react-header-parallax/commit/499e9ca1df649379ccecd4f32773645d39d72d92)
- docs: update docs [`f76b4ca`](https://github.com/ahmnouira/ionic-react-header-parallax/commit/f76b4ca19ec6f264398ec5b2fc5f3bd20dc32c7a)
#### [v0.1.5](https://github.com/ahmnouira/ionic-react-header-parallax/compare/v0.1.4...v0.1.5)
> 20 August 2021
- docs: update example docs [`1dee169`](https://github.com/ahmnouira/ionic-react-header-parallax/commit/1dee169d28035256c2a94d193b932ab57aca5cb6)
- docs: update docs example [`bd9707d`](https://github.com/ahmnouira/ionic-react-header-parallax/commit/bd9707da464282783e1b6e96297f8aa95ecee4c7)
- fix: example [`cbad8a1`](https://github.com/ahmnouira/ionic-react-header-parallax/commit/cbad8a17fe77b4528c530aa6fc87938c5e44517d)
#### [v0.1.4](https://github.com/ahmnouira/ionic-react-header-parallax/compare/v0.1.3...v0.1.4)
> 20 August 2021
- fix: fixes [`60cc8a6`](https://github.com/ahmnouira/ionic-react-header-parallax/commit/60cc8a61992a93b6cd4e2a54e2fa06b0a8285e75)
- add logs [`8f26215`](https://github.com/ahmnouira/ionic-react-header-parallax/commit/8f2621594a14165a016b0ece021d350f52a0038d)
#### [v0.1.3](https://github.com/ahmnouira/ionic-react-header-parallax/compare/v0.1.2...v0.1.3)
> 20 August 2021
- fix: merge [`25d8e0d`](https://github.com/ahmnouira/ionic-react-header-parallax/commit/25d8e0d923a98ff5c12f63df4ee031fe2d3d1230)
- docs: example build files [`b4db8d0`](https://github.com/ahmnouira/ionic-react-header-parallax/commit/b4db8d08c4bc221472cf9429c0c1228bc4e9d36c)
- fix: comment console.log [`84d93a2`](https://github.com/ahmnouira/ionic-react-header-parallax/commit/84d93a238838d8a7460f081d2ac47cad19920758)
#### [v0.1.2](https://github.com/ahmnouira/ionic-react-header-parallax/compare/v0.1.1...v0.1.2)

@@ -11,0 +38,0 @@

@@ -0,0 +0,0 @@ "use strict";

3

dist/useIonicHeaderParallax.js

@@ -91,3 +91,2 @@ "use strict";

let headerMinHeight = toolbar.offsetHeight;
let scrollContentPaddingTop = parseFloat(window.getComputedStyle(scrollContent, null).paddingTop.replace('px', ''));
const originalToolbarBgColor = window.getComputedStyle(toolbarBackground, null).backgroundColor;

@@ -137,3 +136,3 @@ if (!originalToolbarBgColor) {

scrollContent.setAttribute('parallax', '');
scrollContent.style.paddingTop = `${maximumHeight + scrollContentPaddingTop - headerMinHeight}px`;
scrollContent.style.paddingTop = `250px`;
}

@@ -140,0 +139,0 @@ if (scrollContent) {

{
"name": "ionic-react-header-parallax",
"version": "0.1.7",
"version": "0.1.8",
"description": "Easy to use hook to handle the parallax effect for IonHeader component in React Ionic",

@@ -5,0 +5,0 @@ "author": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc