@ionic/react 7.4.4-dev.11696956070.1faa3cfe → 7.4.4-dev.11699472243.1ccd503d
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IonicConfig } from '@ionic/core/components';
|
|
2
|
-
export { createAnimation, createGesture, iosTransitionAnimation, mdTransitionAnimation, IonicSlides, getTimeGivenProgression, getIonPageElement, Animation, AnimationBuilder, AnimationCallbackOptions, AnimationDirection, AnimationFill, AnimationKeyFrames, AnimationLifecycle, Gesture, GestureConfig, GestureDetail, NavComponentWithProps, SpinnerTypes, AccordionGroupCustomEvent, AccordionGroupChangeEventDetail, BreadcrumbCustomEvent, BreadcrumbCollapsedClickEventDetail, ActionSheetOptions, ActionSheetButton, AlertOptions, AlertInput, AlertButton, BackButtonEvent, CheckboxCustomEvent, CheckboxChangeEventDetail, DatetimeCustomEvent, DatetimeChangeEventDetail, InfiniteScrollCustomEvent, InputCustomEvent, InputChangeEventDetail, ItemReorderEventDetail, ItemReorderCustomEvent, ItemSlidingCustomEvent, IonicSafeString, LoadingOptions, MenuCustomEvent, ModalOptions, NavCustomEvent, PickerOptions, PickerButton, PickerColumn, PickerColumnOption, PopoverOptions, RadioGroupCustomEvent, RadioGroupChangeEventDetail, RangeCustomEvent, RangeChangeEventDetail, RangeKnobMoveStartEventDetail, RangeKnobMoveEndEventDetail, RefresherCustomEvent, RefresherEventDetail, RouterEventDetail, RouterCustomEvent, ScrollBaseCustomEvent, ScrollBaseDetail, ScrollDetail, ScrollCustomEvent, SearchbarCustomEvent, SearchbarChangeEventDetail, SearchbarInputEventDetail, SegmentChangeEventDetail, SegmentCustomEvent, SegmentValue, SelectChangeEventDetail, SelectCustomEvent, TabsCustomEvent, TextareaChangeEventDetail, TextareaCustomEvent, ToastOptions, ToastButton, ToastLayout, ToggleChangeEventDetail, ToggleCustomEvent, TransitionOptions, } from '@ionic/core/components';
|
|
2
|
+
export { createAnimation, createGesture, iosTransitionAnimation, mdTransitionAnimation, IonicSlides, getTimeGivenProgression, getIonPageElement, openURL, Animation, AnimationBuilder, AnimationCallbackOptions, AnimationDirection, AnimationFill, AnimationKeyFrames, AnimationLifecycle, Gesture, GestureConfig, GestureDetail, NavComponentWithProps, SpinnerTypes, AccordionGroupCustomEvent, AccordionGroupChangeEventDetail, BreadcrumbCustomEvent, BreadcrumbCollapsedClickEventDetail, ActionSheetOptions, ActionSheetButton, AlertOptions, AlertInput, AlertButton, BackButtonEvent, CheckboxCustomEvent, CheckboxChangeEventDetail, DatetimeCustomEvent, DatetimeChangeEventDetail, InfiniteScrollCustomEvent, InputCustomEvent, InputChangeEventDetail, ItemReorderEventDetail, ItemReorderCustomEvent, ItemSlidingCustomEvent, IonicSafeString, LoadingOptions, MenuCustomEvent, ModalOptions, NavCustomEvent, PickerOptions, PickerButton, PickerColumn, PickerColumnOption, PopoverOptions, RadioGroupCustomEvent, RadioGroupChangeEventDetail, RangeCustomEvent, RangeChangeEventDetail, RangeKnobMoveStartEventDetail, RangeKnobMoveEndEventDetail, RefresherCustomEvent, RefresherEventDetail, RouterEventDetail, RouterCustomEvent, ScrollBaseCustomEvent, ScrollBaseDetail, ScrollDetail, ScrollCustomEvent, SearchbarCustomEvent, SearchbarChangeEventDetail, SearchbarInputEventDetail, SegmentChangeEventDetail, SegmentCustomEvent, SegmentValue, SelectChangeEventDetail, SelectCustomEvent, TabsCustomEvent, TextareaChangeEventDetail, TextareaCustomEvent, ToastOptions, ToastButton, ToastLayout, ToggleChangeEventDetail, ToggleCustomEvent, TransitionOptions, } from '@ionic/core/components';
|
|
3
3
|
export * from './proxies';
|
|
4
4
|
export * from './routing-proxies';
|
|
5
5
|
export { IonAlert } from './IonAlert';
|
|
@@ -8,20 +8,12 @@ export interface IonLifeCycleContextInterface {
|
|
|
8
8
|
ionViewWillLeave: () => void;
|
|
9
9
|
onIonViewDidLeave: (callback: () => void) => void;
|
|
10
10
|
ionViewDidLeave: () => void;
|
|
11
|
-
cleanupIonViewWillEnter: (callback: () => void) => void;
|
|
12
|
-
cleanupIonViewDidEnter: (callback: () => void) => void;
|
|
13
|
-
cleanupIonViewWillLeave: (callback: () => void) => void;
|
|
14
|
-
cleanupIonViewDidLeave: (callback: () => void) => void;
|
|
15
11
|
}
|
|
16
12
|
export declare const IonLifeCycleContext: React.Context<IonLifeCycleContextInterface>;
|
|
17
13
|
export interface LifeCycleCallback {
|
|
18
|
-
(): void
|
|
14
|
+
(): void;
|
|
19
15
|
id?: number;
|
|
20
16
|
}
|
|
21
|
-
export interface LifeCycleDestructor {
|
|
22
|
-
id: number;
|
|
23
|
-
destructor: ReturnType<LifeCycleCallback>;
|
|
24
|
-
}
|
|
25
17
|
export declare const DefaultIonLifeCycleContext: {
|
|
26
18
|
new (): {
|
|
27
19
|
ionViewWillEnterCallbacks: LifeCycleCallback[];
|
|
@@ -29,36 +21,7 @@ export declare const DefaultIonLifeCycleContext: {
|
|
|
29
21
|
ionViewWillLeaveCallbacks: LifeCycleCallback[];
|
|
30
22
|
ionViewDidLeaveCallbacks: LifeCycleCallback[];
|
|
31
23
|
componentCanBeDestroyedCallback?: (() => void) | undefined;
|
|
32
|
-
ionViewWillEnterDestructorCallbacks: LifeCycleDestructor[];
|
|
33
|
-
ionViewDidEnterDestructorCallbacks: LifeCycleDestructor[];
|
|
34
|
-
ionViewWillLeaveDestructorCallbacks: LifeCycleDestructor[];
|
|
35
|
-
ionViewDidLeaveDestructorCallbacks: LifeCycleDestructor[];
|
|
36
24
|
onIonViewWillEnter(callback: LifeCycleCallback): void;
|
|
37
|
-
teardownCallback(callback: LifeCycleCallback, callbacks: any[]): void;
|
|
38
|
-
/**
|
|
39
|
-
* Tears down the user-provided ionViewWillEnter lifecycle callback.
|
|
40
|
-
* This is the same behavior as React's useEffect hook. The callback
|
|
41
|
-
* is invoked when the component is unmounted.
|
|
42
|
-
*/
|
|
43
|
-
cleanupIonViewWillEnter(callback: LifeCycleCallback): void;
|
|
44
|
-
/**
|
|
45
|
-
* Tears down the user-provided ionViewDidEnter lifecycle callback.
|
|
46
|
-
* This is the same behavior as React's useEffect hook. The callback
|
|
47
|
-
* is invoked when the component is unmounted.
|
|
48
|
-
*/
|
|
49
|
-
cleanupIonViewDidEnter(callback: LifeCycleCallback): void;
|
|
50
|
-
/**
|
|
51
|
-
* Tears down the user-provided ionViewWillLeave lifecycle callback.
|
|
52
|
-
* This is the same behavior as React's useEffect hook. The callback
|
|
53
|
-
* is invoked when the component is unmounted.
|
|
54
|
-
*/
|
|
55
|
-
cleanupIonViewWillLeave(callback: LifeCycleCallback): void;
|
|
56
|
-
/**
|
|
57
|
-
* Tears down the user-provided ionViewDidLeave lifecycle callback.
|
|
58
|
-
* This is the same behavior as React's useEffect hook. The callback
|
|
59
|
-
* is invoked when the component is unmounted.
|
|
60
|
-
*/
|
|
61
|
-
cleanupIonViewDidLeave(callback: LifeCycleCallback): void;
|
|
62
25
|
ionViewWillEnter(): void;
|
|
63
26
|
onIonViewDidEnter(callback: LifeCycleCallback): void;
|
|
64
27
|
ionViewDidEnter(): void;
|
|
@@ -13,16 +13,7 @@ export declare class ViewLifeCycleManager extends React.Component<ViewTransition
|
|
|
13
13
|
ionViewWillLeaveCallbacks: import("../contexts/IonLifeCycleContext").LifeCycleCallback[];
|
|
14
14
|
ionViewDidLeaveCallbacks: import("../contexts/IonLifeCycleContext").LifeCycleCallback[];
|
|
15
15
|
componentCanBeDestroyedCallback?: (() => void) | undefined;
|
|
16
|
-
ionViewWillEnterDestructorCallbacks: import("../contexts/IonLifeCycleContext").LifeCycleDestructor[];
|
|
17
|
-
ionViewDidEnterDestructorCallbacks: import("../contexts/IonLifeCycleContext").LifeCycleDestructor[];
|
|
18
|
-
ionViewWillLeaveDestructorCallbacks: import("../contexts/IonLifeCycleContext").LifeCycleDestructor[];
|
|
19
|
-
ionViewDidLeaveDestructorCallbacks: import("../contexts/IonLifeCycleContext").LifeCycleDestructor[];
|
|
20
16
|
onIonViewWillEnter(callback: import("../contexts/IonLifeCycleContext").LifeCycleCallback): void;
|
|
21
|
-
teardownCallback(callback: import("../contexts/IonLifeCycleContext").LifeCycleCallback, callbacks: any[]): void;
|
|
22
|
-
cleanupIonViewWillEnter(callback: import("../contexts/IonLifeCycleContext").LifeCycleCallback): void;
|
|
23
|
-
cleanupIonViewDidEnter(callback: import("../contexts/IonLifeCycleContext").LifeCycleCallback): void;
|
|
24
|
-
cleanupIonViewWillLeave(callback: import("../contexts/IonLifeCycleContext").LifeCycleCallback): void;
|
|
25
|
-
cleanupIonViewDidLeave(callback: import("../contexts/IonLifeCycleContext").LifeCycleCallback): void;
|
|
26
17
|
ionViewWillEnter(): void;
|
|
27
18
|
onIonViewDidEnter(callback: import("../contexts/IonLifeCycleContext").LifeCycleCallback): void;
|
|
28
19
|
ionViewDidEnter(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ionic/react",
|
|
3
|
-
"version": "7.4.4-dev.
|
|
3
|
+
"version": "7.4.4-dev.11699472243.1ccd503d",
|
|
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": "7.4.4-dev.
|
|
44
|
+
"@ionic/core": "7.4.4-dev.11699472243.1ccd503d",
|
|
45
45
|
"ionicons": "^7.0.0",
|
|
46
46
|
"tslib": "*"
|
|
47
47
|
},
|