@ionic/react-router 8.0.0-beta.2 → 8.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/ReactRouter/IonReactHashRouter.d.ts +1 -1
- package/dist/types/ReactRouter/IonReactMemoryRouter.d.ts +1 -1
- package/dist/types/ReactRouter/IonReactRouter.d.ts +1 -1
- package/dist/types/ReactRouter/IonRouteInner.d.ts +1 -1
- package/dist/types/ReactRouter/IonRouter.d.ts +1 -1
- package/dist/types/ReactRouter/ReactRouterViewStack.d.ts +1 -1
- package/dist/types/ReactRouter/StackManager.d.ts +1 -1
- package/package.json +6 -6
|
@@ -18,6 +18,6 @@ export declare class IonReactHashRouter extends React.Component<IonReactHashRout
|
|
|
18
18
|
*/
|
|
19
19
|
handleHistoryChange(location: HistoryLocation, action: HistoryAction): void;
|
|
20
20
|
registerHistoryListener(cb: (location: HistoryLocation, action: HistoryAction) => void): void;
|
|
21
|
-
render(): JSX.Element;
|
|
21
|
+
render(): React.JSX.Element;
|
|
22
22
|
}
|
|
23
23
|
export {};
|
|
@@ -18,6 +18,6 @@ export declare class IonReactMemoryRouter extends React.Component<IonReactMemory
|
|
|
18
18
|
*/
|
|
19
19
|
handleHistoryChange(location: HistoryLocation, action: HistoryAction): void;
|
|
20
20
|
registerHistoryListener(cb: (location: HistoryLocation, action: HistoryAction) => void): void;
|
|
21
|
-
render(): JSX.Element;
|
|
21
|
+
render(): React.JSX.Element;
|
|
22
22
|
}
|
|
23
23
|
export {};
|
|
@@ -18,6 +18,6 @@ export declare class IonReactRouter extends React.Component<IonReactRouterProps>
|
|
|
18
18
|
*/
|
|
19
19
|
handleHistoryChange(location: HistoryLocation, action: HistoryAction): void;
|
|
20
20
|
registerHistoryListener(cb: (location: HistoryLocation, action: HistoryAction) => void): void;
|
|
21
|
-
render(): JSX.Element;
|
|
21
|
+
render(): React.JSX.Element;
|
|
22
22
|
}
|
|
23
23
|
export {};
|
|
@@ -38,7 +38,7 @@ declare class IonRouterInner extends React.PureComponent<IonRouteProps, IonRoute
|
|
|
38
38
|
handleNavigateBack(defaultHref?: string | RouteInfo, routeAnimation?: AnimationBuilder): void;
|
|
39
39
|
handleResetTab(tab: string, originalHref: string, originalRouteOptions: any): void;
|
|
40
40
|
handleSetCurrentTab(tab: string): void;
|
|
41
|
-
render(): JSX.Element;
|
|
41
|
+
render(): React.JSX.Element;
|
|
42
42
|
}
|
|
43
43
|
export declare const IonRouter: React.ComponentClass<Pick<IonRouteProps, "registerHistoryListener">, any> & import("react-router").WithRouterStatics<typeof IonRouterInner>;
|
|
44
44
|
export {};
|
|
@@ -4,7 +4,7 @@ import React from 'react';
|
|
|
4
4
|
export declare class ReactRouterViewStack extends ViewStacks {
|
|
5
5
|
constructor();
|
|
6
6
|
createViewItem(outletId: string, reactElement: React.ReactElement, routeInfo: RouteInfo, page?: HTMLElement): ViewItem<any>;
|
|
7
|
-
getChildrenToRender(outletId: string, ionRouterOutlet: React.ReactElement, routeInfo: RouteInfo): JSX.Element[];
|
|
7
|
+
getChildrenToRender(outletId: string, ionRouterOutlet: React.ReactElement, routeInfo: RouteInfo): React.JSX.Element[];
|
|
8
8
|
findViewItemByRouteInfo(routeInfo: RouteInfo, outletId?: string, updateMatch?: boolean): ViewItem<any> | undefined;
|
|
9
9
|
findLeavingViewItemByRouteInfo(routeInfo: RouteInfo, outletId?: string, mustBeIonRoute?: boolean): ViewItem<any> | undefined;
|
|
10
10
|
findViewItemByPathname(pathname: string, outletId?: string): ViewItem<any> | undefined;
|
|
@@ -24,7 +24,7 @@ export declare class StackManager extends React.PureComponent<StackManagerProps,
|
|
|
24
24
|
registerIonPage(page: HTMLElement, routeInfo: RouteInfo): void;
|
|
25
25
|
setupRouterOutlet(routerOutlet: HTMLIonRouterOutletElement): Promise<void>;
|
|
26
26
|
transitionPage(routeInfo: RouteInfo, enteringViewItem: ViewItem, leavingViewItem?: ViewItem, direction?: 'forward' | 'back', progressAnimation?: boolean): Promise<void>;
|
|
27
|
-
render(): JSX.Element;
|
|
27
|
+
render(): React.JSX.Element;
|
|
28
28
|
static get contextType(): React.Context<import("@ionic/react").RouteManagerContextState>;
|
|
29
29
|
}
|
|
30
30
|
export default StackManager;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ionic/react-router",
|
|
3
|
-
"version": "8.0.0-beta.
|
|
3
|
+
"version": "8.0.0-beta.3",
|
|
4
4
|
"description": "React Router wrapper for @ionic/react",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ionic",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dist/"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@ionic/react": "8.0.0-beta.
|
|
39
|
+
"@ionic/react": "8.0.0-beta.3",
|
|
40
40
|
"tslib": "*"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
@@ -50,16 +50,16 @@
|
|
|
50
50
|
"@ionic/prettier-config": "^2.0.0",
|
|
51
51
|
"@rollup/plugin-typescript": "^11.1.5",
|
|
52
52
|
"@types/node": "^14.0.14",
|
|
53
|
-
"@types/react": "
|
|
54
|
-
"@types/react-dom": "^
|
|
53
|
+
"@types/react": "^17.0.79",
|
|
54
|
+
"@types/react-dom": "^17.0.25",
|
|
55
55
|
"@types/react-router": "^5.0.3",
|
|
56
56
|
"@types/react-router-dom": "^5.1.5",
|
|
57
57
|
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
|
58
58
|
"@typescript-eslint/parser": "^5.48.2",
|
|
59
59
|
"eslint": "^7.32.0",
|
|
60
60
|
"prettier": "^2.8.3",
|
|
61
|
-
"react": "^
|
|
62
|
-
"react-dom": "^
|
|
61
|
+
"react": "^17.0.2",
|
|
62
|
+
"react-dom": "^17.0.2",
|
|
63
63
|
"react-router": "^5.0.1",
|
|
64
64
|
"react-router-dom": "^5.0.1",
|
|
65
65
|
"rimraf": "^3.0.2",
|