nextjs-toploader

A Next.js Top Loading Bar component made using nprogress, works with Next.js 14 , Next.js 13 and React.

MIT License

Downloads
512.5K
Stars
793
Committers
18

Bot releases are hidden (Show)

nextjs-toploader - nextjs-toploader v3.6.15

Published by TheSGJ about 2 months ago

v3.6.15

Updated

  • Updated copyright year in LICENSE

Fixed

  • Fixed typo in template value in prop type table in README
nextjs-toploader - nextjs-toploader v3.6.14

Published by TheSGJ about 2 months ago

v3.6.14

Fixed

  • Fixed typo in template value and shadow value in prop type table in README
nextjs-toploader - nextjs-toploader v3.6.13

Published by TheSGJ about 2 months ago

v3.6.13

Fixed

  • Fixed imports, PagesTopLoader imported incorrectly like nextjs-toploader/dist/pages and useEffect like nextjs-toploader/dist/app in v3.6.12
nextjs-toploader - nextjs-toploader v3.6.12

Published by TheSGJ about 2 months ago

v3.6.12

Added (major changes)

  • Added new import for PagesTopLoader

  • Added new import for custom useRouter hook

Updated

  • Fixing for react js
  • Updated README.md Documentation made it more readable.
nextjs-toploader - nextjs-toploader v2.6.12 Latest Release

Published by TheSGJ about 2 months ago

v2.6.12

Added (major changes)

  • Added PagesTopLoader Component to make useRouter hook supported in pages router

  • Added custom useRouter hook to trigger TopLoader for app router

Updated

  • Updated README.md Documentation made it more readable.

Full Changelog: https://github.com/TheSGJ/nextjs-toploader/compare/v1.6.12...v2.6.12

nextjs-toploader - nextjs-toploader v1.6.12

Published by TheSGJ 6 months ago

v1.6.12

Fixed

  • Fixed indefinite animation when replacing current route
  • Moved @types/nprogress into devDependencies

What's Changed

New Contributors

Full Changelog: https://github.com/TheSGJ/nextjs-toploader/compare/v1.6.11...v1.6.12

nextjs-toploader - nextjs-toploader v1.6.11

Published by TheSGJ 7 months ago

v1.6.11

Fixed

  • Fix to add use client in jsr usage with nextjs
  • Update README about support for React
nextjs-toploader - nextjs-toploader v1.6.10

Published by TheSGJ 7 months ago

v1.6.10

Fixed

  • Fix npm-publish.yml for gh actions to publish with provenance
nextjs-toploader - nextjs-toploader v1.6.9

Published by TheSGJ 7 months ago

v1.6.9

Fixed

  • Resolve progress bar when navigating back from external page
  • Fixed the TopLoader for anchor url having other domain name
  • Moved histry.pushState function outside the MouseEvent, it was triggering for every mouse click
  • Fixed TopLoader getting stuck on popstate events
  • Fixed the use of rest params and passing its type as any
  • Fixed for all Special Schemes, TopLoader will not run on special schemes now onwards
  • Fixed for shift key and alt key

Updated

  • Added Type declarations for few functions
  • Refactor the whole code to make it more readable
  • Updated to add support for the JSR Package Manager
  • Updated to version 1.6.9 to avoid version gap for JSR
nextjs-toploader - nextjs-toploader v1.6.6

Published by TheSGJ 9 months ago

v1.6.6

Fixed

  • Fixed the TopLoader to work with special schemes such as mailto, sms, tel, etc
  • Fixed the TopLoader for "#" hash anchor

What's Changed

New Contributors

Full Changelog: https://github.com/TheSGJ/nextjs-toploader/compare/v1.6.5...v1.6.6

nextjs-toploader - nextjs-toploader v1.6.5

Published by TheSGJ 9 months ago

v1.6.5

Fixed

  • Fixed the loader when using CMD + Click in macOS
nextjs-toploader - nextjs-toploader v1.6.4

Published by TheSGJ 12 months ago

v1.6.4

Fixed

  • Fixed the spinner top and bottom margin
nextjs-toploader - nextjs-toploader v1.5.3

Published by TheSGJ about 1 year ago

v1.5.3

Added

  • Added template option (#30)
  • Added the provision to configure z index via props (#26)

Fixed

  • Fixed loader infinity when press control click - issue (#36) fixed by pr (#40)
  • Fixed Unexpected symbol "?" on Safari 12.1 by adding es6 as target (#23)
  • Fixed the loader when href is empty
  • Fixed the loader for new URL starts with "blob:"
nextjs-toploader - nextjs-toploader v1.4.2

Published by TheSGJ over 1 year ago

v1.4.2

Added

  • Added shadow config prop

Fixed

  • Fixed spelling for increment. And updated the README.
nextjs-toploader - nextjs-toploader v1.3.2

Published by TheSGJ over 1 year ago

v1.3.2

Added

  • Added support for client side navigations
nextjs-toploader - nextjs-toploader v1.2.2

Published by TheSGJ over 1 year ago

v1.2.2

Fixed

  • Fix the Loader gets triggered on navigation to link in another tab
nextjs-toploader - nextjs-toploader v1.2.1

Published by TheSGJ over 1 year ago

v1.2.1

Added

  • Added nprogress and @types/nprogress packages for the dependencies

Fixed

  • Fix the newUrl returning as undefined value for few anchor tags , added support to prevent loader from being stuck for anchor navigation for hash urls

Updated

  • Refactor the code in useEffect hook, removed the next/script
nextjs-toploader - nextjs-toploader v1.1.1

Published by TheSGJ over 1 year ago

Used React.memo for better performance