Sticky Parallax Header Versions Save

A simple React Native library, enabling the creation of fully customized header for your iOS and Android apps.

v1.0.0

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/netguru/sticky-parallax-header/compare/v0.4.2...v1.0.0

v0.4.2

2 years ago

0.4.2 (2022-04-20)

Bug Fixes

Code Refactoring

Features

  • add docs website (7d2437e)
  • avatar header: support react component for header icons (57ec805)
  • details header: create IconRenderer component (4ec3e8d)
  • details header: move renderIcon logic (0ab610a)
  • details header: support react component for header icons (f152295)
  • details header: support react component for header icons (3442cc6)
  • docs: create landing page for docs (0c6fba8)

BREAKING CHANGES

  • removed render body property

v0.4.1

2 years ago

0.4.1 (2021-09-03)

Bug Fixes

  • added children prop in docs and index.d.ts (1c2c97c)
  • added children prop to AvatarHeader (b6f9b88)
  • added children prop to DetailsHeader (4d5fb04)
  • added children prop to TabbedHeader (e95a643)
  • added missing props to AvatarHeader (d9c5cc3)
  • added missing sharedProps to index.d.ts (1c2d6b2)
  • adds missing proptypes imports (cd65151)
  • changed AvatarHeader icon propTypes (1c83837)
  • changed default test name to empty (3e130e0)
  • changed DetailsHeader icon propTypes (0acadd3)
  • extracted jest config to separate file, created prepush script (9506ca2)
  • fixes ts typings for header size (21b4f9c)
  • memoize header background image on backgroundImage prop (88182a4)
  • remove duplicated assets (80018ab)
  • removes transparent header prop from tabbedheader (539b730)
  • replaced renderBody with children prop in preDefinedComponents (588e849)
  • require cycles warning (238184b)
  • single element horizontal scroll fix (5d9e2eb)

Features

  • added setup tests file (44dd334)
  • adds foreground props to predefined headers (a35bea1)
  • adds foreground props to predefined headers (d5d3c04)
  • adds headersize props to predefined headers (d948db3)
  • adds onmomentumscroll props to predefined headers (79a5090)
  • adds parallax height props to predefined headers (70b9344)
  • adds scrollref prop to details header (0a0fd73)
  • adds transparent header props to predefined headers (cb668bf)
  • move assets to the root assets folder (08601c8)
  • test env setup (1cfefe6)

BREAKING CHANGES

  • renderBody prop in preDefinedComponents is now deprecated.

v0.4.0

3 years ago

0.4.0 (2020-09-29)

Bug Fixes

  • add examples to .npmignore (4e94fc3)
  • added missing keyboardShouldPersistTaps type for typescript (3bc004c)
  • added missing metro config and eslintignore (fd7e4c5)
  • added missing space before comma in import (c2875ea)
  • added object type for useRef value (235d1a8)
  • added responsive font size helper (8b02573)
  • changed tab title to optional (8c7a6a9)
  • changed TabsSharedProps to optional (a26bd5b)
  • code refactor, eslint settings (ac7b51d)
  • eslint module resolver rules fixes (4cc593c)
  • expo example refactor, eslint prettier setup (9f0b4fb)
  • fixed title cut off on larger resolutions (3daad83)
  • fixed wrong property name "tabText" in README (f414caa)
  • formatted code, changed settings of eslint and prettier (93d033d)
  • module in example app is imported locally (3cb56d1)
  • package.json sync (5745a5d)
  • react native example refactor, eslint prettier setup (244258d)
  • wrong rightTopIcon containerstyle (1eaf30e)

Features

  • add contentContainerStyles possibility (57b69fb)
  • add expo example (d7cbe9e)
  • added body scrollview ref (158bcce)
  • added issue template (92c34f3)
  • added keyboardShouldPersistTaps props (dd00177)
  • added more info to readme about scroll view handling (7f59e78)
  • added possibility to render icon in tabs (5c48814)
  • added refresh control prop (2e6e86c)
  • bump library version in Example app (c55cdba)

v0.3.1

3 years ago

0.3.1 (2020-08-17)

Bug Fixes

  • changed scroll enabled condition for flat list in card screen (af9268e)
  • fixed screen styles formatting (15578ef)
  • moved prevState currentPage to variable (b585a6a)
  • removed commented code (32582cc)
  • removed unnecessary space in card screen (08c5958)
  • replaced platform check with is android in card screen (5d79cd3)
  • reverted removed commented code (0247a0a)
  • saved position of scroll for tab (7c2d177)
  • tabs content scrollable when one tab is longer than others (47594b6)
  • variable typo minViewportHeight and styling (756ea48)

Feature

  • added flatlist example implementation (7bbe85c)
  • added onTopReached callback (0f3d0b8)

v0.3.0

3 years ago

0.3.0 (2020-07-02)

Bug Fixes

  • add proper npmignore path (8fa9872)
  • add type to header props type (3e4c65e)
  • change prop name from type to headerType (87f55cb)
  • changed all images propTypes to Image.propTypes.source (3300eff)
  • changed snap values proptypes (98f5ea0)
  • code review fixes (8542cef)
  • delete unnecessary assets (bc79202)
  • fixed hasBorderRadius prop being bool value (bb3f001)
  • fixed header prop in AvatarHeader (d586c43)
  • fixed issue with scrollNode (63b4828)
  • fixed missing assets directory (f8fdf12)
  • fixed scrollNode issue inside ScrollableTabView (a4c9183)
  • fixed snap threshold props (08f6d22)
  • lint issues (b827ca6)
  • move readme assets to /assets directory and ignore them in NPM (31774bd)
  • parallaxHeader prop fixed in Avatar Header (87fdcb1)
  • release-it tool config fix (ae11350)
  • remove duplicated import (8efadfb)
  • removed package-lock.json (e089de4)
  • renamed TabbedHeader prop from tabText to tabTextStyle (43f8787)
  • tabbedHeader is now displaying image as background (c4b8904)
  • typo fixed (1f5a482)
  • unnecessary getNode() removed (ee5d224)

Features

  • add type definitions (9f67f84)
  • added foreground prop to the AvatarHeader (ed9b783)
  • added foregroundImage prop to tabbedHeader (289b1ff)
  • added snap props to StickyParallaxHeader component (1cd2123)
  • clean up import in type declaration file (cdb4212)
  • created onRef property to call goToPage function (debf4ff)
  • header prop added to tabbedHeader (0db8085)
  • move index.d.ts file to src directory (b70609c)
  • scrollEvent prop added to tabbedHeader (9ab2442)
  • scrollEvent prop added to the AvatarHeader (749c110)
  • snap props added to the Avatar Header (de72172)
  • tabbedHeader tabs text and container custom style props added (37ad40a)
  • tabTextActiveStyle prop added to the tabbedHeader (7da383b)
  • tabWrapperStyle and tabsContainerStyle props added to TabbedHeader (25dca56)
  • titleStyle prop added to TabbedHeader (a496f19)
  • transparentHeader prop added (aa8b1d0)
  • update readme with typescript types (e003543)

v0.2.1

4 years ago

0.2.1 (2020-05-11)

Bug Fixes

  • add proper npmignore path (8fa9872)
  • changed snap values proptypes (98f5ea0)
  • code review fixes (8542cef)
  • delete unnecessary assets (bc79202)
  • fixed hasBorderRadius prop being bool value (bb3f001)
  • fixed header prop in AvatarHeader (d586c43)
  • fixed missing assets directory (f8fdf12)
  • fixed snap threshold props (08f6d22)
  • move readme assets to /assets directory and ignore them in NPM (31774bd)
  • parallaxHeader prop fixed in Avatar Header (87fdcb1)
  • remove duplicated import (8efadfb)
  • removed package-lock.json (e089de4)
  • renamed TabbedHeader prop from tabText to tabTextStyle (43f8787)
  • tabbedHeader is now displaying image as background (c4b8904)
  • typo fixed (1f5a482)
  • unnecessary getNode() removed (ee5d224)

Features

  • added foreground prop to the AvatarHeader (ed9b783)
  • added foregroundImage prop to tabbedHeader (289b1ff)
  • added snap props to StickyParallaxHeader component (1cd2123)
  • header prop added to tabbedHeader (0db8085)
  • scrollEvent prop added to tabbedHeader (9ab2442)
  • scrollEvent prop added to the AvatarHeader (749c110)
  • snap props added to the Avatar Header (de72172)
  • tabbedHeader tabs text and container custom style props added (37ad40a)
  • tabTextActiveStyle prop added to the tabbedHeader (7da383b)
  • tabWrapperStyle and tabsContainerStyle props added to TabbedHeader (25dca56)
  • titleStyle prop added to TabbedHeader (a496f19)
  • transparentHeader prop added (aa8b1d0)

v0.2.0

4 years ago

0.2.0 (2020-05-07)

Bug Fixes

  • changed snap values proptypes (98f5ea0)
  • code review fixes (8542cef)
  • delete unnecessary assets (bc79202)
  • fixed hasBorderRadius prop being bool value (bb3f001)
  • fixed header prop in AvatarHeader (d586c43)
  • fixed snap threshold props (08f6d22)
  • move readme assets to /assets directory and ignore them in NPM (31774bd)
  • parallaxHeader prop fixed in Avatar Header (87fdcb1)
  • remove duplicated import (8efadfb)
  • removed package-lock.json (e089de4)
  • renamed TabbedHeader prop from tabText to tabTextStyle (43f8787)
  • tabbedHeader is now displaying image as background (c4b8904)
  • typo fixed (1f5a482)
  • unnecessary getNode() removed (ee5d224)

Features

  • added foreground prop to the AvatarHeader (ed9b783)
  • added foregroundImage prop to tabbedHeader (289b1ff)
  • added snap props to StickyParallaxHeader component (1cd2123)
  • header prop added to tabbedHeader (0db8085)
  • scrollEvent prop added to tabbedHeader (9ab2442)
  • scrollEvent prop added to the AvatarHeader (749c110)
  • snap props added to the Avatar Header (de72172)
  • tabbedHeader tabs text and container custom style props added (37ad40a)
  • tabTextActiveStyle prop added to the tabbedHeader (7da383b)
  • tabWrapperStyle and tabsContainerStyle props added to TabbedHeader (25dca56)
  • titleStyle prop added to TabbedHeader (a496f19)
  • transparentHeader prop added (aa8b1d0)

v0.1.0

4 years ago

0.1.0 (2020-04-16)

Bug Fixes

  • adjusted flex value (ae9ebe9)
  • adjusted number of lines in avatar header (5bc5778)
  • avatar header title flex (ec1ba5d)
  • details header text styling, adjust padding on avatar header title (c5226ea)
  • format with prettier (0d09fad)
  • formated documents with prettier (372298b)
  • Header background error (9f0cae6)
  • native driver set to false (858a287)
  • Obsolete methods refactor (54136d6)
  • Removed all custom fonts from stylesheets (b3e53fc)
  • removed fonts (e251add)
  • removed unnecessary getDerivedStateFromProps (ef7b389)
  • title styling (a113156)

Features