next-nprogress-bar
Advanced tools
Comparing version 1.0.2 to 1.1.0
{ | ||
"name": "next-nprogress-bar", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "NextJS progress bar compatible with new app directory", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -29,2 +29,4 @@ <div align="center"> | ||
- [shallowRouting](#shallowrouting) | ||
- [delay](#delay) | ||
- [style](#style) | ||
- [Issues](#issues) | ||
@@ -260,24 +262,34 @@ - [LICENSE](#license) | ||
### height | ||
### height _optional_ - _string_ | ||
Height of the progress bar - by default 2px | ||
Height of the progress bar - **by default 2px** | ||
### color | ||
### color _optional_ - _string_ | ||
Color of the progress bar - by default #0A2FFF | ||
Color of the progress bar - **by default #0A2FFF** | ||
### options | ||
### options _optional_ - _Partial<NProgressOptions>_ | ||
**by default undefined** | ||
See [NProgress docs](https://www.npmjs.com/package/nprogress#configuration) | ||
### appDirectory | ||
### appDirectory _optional_ - _boolean_ | ||
If your are in the new **/app** directory | ||
If your are in the new **/app** directory - **by default false** | ||
### shallowRouting | ||
### shallowRouting _optional_ - _boolean_ | ||
If the progress bar is not displayed when you use shallow routing | ||
If the progress bar is not displayed when you use shallow routing - **by default false** | ||
See [Next.js docs](https://nextjs.org/docs/pages/building-your-application/routing/linking-and-navigating#shallow-routing) | ||
### delay _optional_ - _number_ | ||
When the page loads faster than the progress bar, it does not display - **by default 0** | ||
### style _optional_ - _string_ | ||
Your custom CSS - **by default [NProgress CSS](https://github.com/rstacruz/nprogress/blob/master/nprogress.css)** | ||
## Issues | ||
@@ -284,0 +296,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18901
302