Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
Skyleen77 committed Mar 23, 2024
1 parent 559d9a0 commit 2ef39cb
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dist/AppProgressBar.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { ProgressBarProps, RouterNProgressOptions } from '.';
import { NavigateOptions } from 'next/dist/shared/lib/app-router-context.shared-runtime';
export declare const AppProgressBar: React.MemoExoticComponent<({ color, height, options, shallowRouting, startPosition, delay, stopDelayMs, style, targetPreprocessor, }: ProgressBarProps) => React.JSX.Element>;
export declare const AppProgressBar: React.MemoExoticComponent<({ color, height, options, shallowRouting, startPosition, delay, stopDelay, style, targetPreprocessor, }: ProgressBarProps) => React.JSX.Element>;
export declare function useRouter(): {
push: (href: string, options?: NavigateOptions, NProgressOptions?: RouterNProgressOptions) => void;
replace: (href: string, options?: NavigateOptions, NProgressOptions?: RouterNProgressOptions) => void;
Expand Down
2 changes: 1 addition & 1 deletion dist/PagesProgressBar.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import React from 'react';
import { ProgressBarProps } from '.';
export declare const PagesProgressBar: React.MemoExoticComponent<({ color, height, options, shallowRouting, startPosition, delay, stopDelayMs, style, }: Omit<ProgressBarProps, 'targetPreprocessor'>) => React.JSX.Element>;
export declare const PagesProgressBar: React.MemoExoticComponent<({ color, height, options, shallowRouting, startPosition, delay, stopDelay, style, }: Omit<ProgressBarProps, 'targetPreprocessor'>) => React.JSX.Element>;
4 changes: 2 additions & 2 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface NProgressOptions {
* @param shallowRouting If the progress bar is not displayed when you use shallow routing - @default false
* @param startPosition The position of the progress bar at the start of the page load - @default 0
* @param delay When the page loads faster than the progress bar, it does not display - @default 0
* @param stopDelayMs Delay to stop the progress bar - @default 0
* @param stopDelay Delay to stop the progress bar - @default 0
* @param style Custom css - @default undefined
* @param shouldCompareComplexProps If you want to compare props in the React.memo return - @default false
* @param targetPreprocessor If you want to./AppProgressBaress the target URL - @default undefined
Expand All @@ -32,7 +32,7 @@ export interface ProgressBarProps {
shallowRouting?: boolean;
startPosition?: number;
delay?: number;
stopDelayMs?: number;
stopDelay?: number;
style?: string;
shouldCompareComplexProps?: boolean;
targetPreprocessor?: (url: URL) => URL;
Expand Down
10 changes: 5 additions & 5 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-nprogress-bar",
"version": "2.3.7",
"version": "2.3.8",
"description": "NextJS progress bar compatible with new app directory",
"repository": {
"type": "git",
Expand Down

0 comments on commit 2ef39cb

Please sign in to comment.