@ionic/react 9.0.14 → 9.0.15-dev.11796226497.1324df76
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.
|
@@ -38,9 +38,18 @@ export declare class IonTabs extends React.Component<Props> {
|
|
|
38
38
|
routerOutletRef: React.Ref<Components.IonRouterOutlet>;
|
|
39
39
|
selectTabHandler?: (tag: string) => boolean;
|
|
40
40
|
tabBarRef: React.RefObject<any>;
|
|
41
|
+
tabsElRef: React.RefObject<HTMLIonTabsElement>;
|
|
41
42
|
ionTabContextState: IonTabsContextState;
|
|
42
43
|
constructor(props: Props);
|
|
43
44
|
componentDidMount(): void;
|
|
45
|
+
/**
|
|
46
|
+
* Selects a tab on `ion-tabs` when it is used without a router outlet.
|
|
47
|
+
* Returns `false` when no `ion-tab` has the given `tab`.
|
|
48
|
+
*/
|
|
49
|
+
selectTabWithoutRouter: (tab: string) => boolean;
|
|
50
|
+
onTabsDidChangeWithoutRouter: (event: CustomEvent<{
|
|
51
|
+
tab: string;
|
|
52
|
+
}>) => void;
|
|
44
53
|
renderTabsInner(children: React.ReactNode, outlet: React.ReactElement<{}> | undefined): import("react/jsx-runtime").JSX.Element;
|
|
45
54
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
46
55
|
static get contextType(): React.Context<import("../..").NavContextState>;
|
|
@@ -23,5 +23,10 @@ export declare class LocationHistory {
|
|
|
23
23
|
previous(): RouteInfo<any>;
|
|
24
24
|
current(): RouteInfo<any>;
|
|
25
25
|
canGoBack(): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the pathname of every entry in global history, oldest first.
|
|
28
|
+
* The current entry is last.
|
|
29
|
+
*/
|
|
30
|
+
getPathnames(): string[];
|
|
26
31
|
findTabForPathname(pathname: string): string | undefined;
|
|
27
32
|
}
|
|
@@ -15,6 +15,11 @@ export interface RouteManagerContextState {
|
|
|
15
15
|
* Used by StackManager for out-of-scope cleanup.
|
|
16
16
|
*/
|
|
17
17
|
getViewItemsForOutlet: (outletId: string) => ViewItem[];
|
|
18
|
+
/**
|
|
19
|
+
* Returns the pathname of every entry in the location history, current last.
|
|
20
|
+
* Used by StackManager so cleanup never unmounts a view that back still needs.
|
|
21
|
+
*/
|
|
22
|
+
getLocationHistoryPathnames: () => string[];
|
|
18
23
|
goBack: () => void;
|
|
19
24
|
unMountViewItem: (viewItem: ViewItem) => void;
|
|
20
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ionic/react",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.15-dev.11796226497.1324df76",
|
|
4
4
|
"description": "React specific wrapper for @ionic/core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ionic",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"css/"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@ionic/core": "9.0.
|
|
44
|
+
"@ionic/core": "9.0.15-dev.11796226497.1324df76",
|
|
45
45
|
"@stencil/react-output-target": "^1.7.0",
|
|
46
46
|
"ionicons": "^8.1.1",
|
|
47
47
|
"tslib": "*"
|