feat: export TransitionOptions interface and getIonPageElement (#28140)

Issue number: resolves #28137

---------

Changes according to [this
comment](https://github.com/ionic-team/ionic-framework/issues/28137#issuecomment-1710283096)

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

@liamdebeasi Sorry for replacing the previous PR. I only copied the main
branch to my fork so I couldn't rebase properly. I am unfortunately not
extremely familiar with Github.

---------

Co-authored-by: Philipp Heuer <philipp@studysmarter.de>
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
This commit is contained in:
hoi4
2023-09-11 14:53:56 +02:00
committed by GitHub
parent cd8d5091a1
commit 19f3bb23fd
5 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,7 @@
import 'ionicons'; import 'ionicons';
export { createAnimation } from './utils/animation/animation'; export { createAnimation } from './utils/animation/animation';
export { getIonPageElement } from './utils/transition';
export { iosTransitionAnimation } from './utils/transition/ios.transition'; export { iosTransitionAnimation } from './utils/transition/ios.transition';
export { mdTransitionAnimation } from './utils/transition/md.transition'; export { mdTransitionAnimation } from './utils/transition/md.transition';
export { getTimeGivenProgression } from './utils/animation/cubic-bezier'; export { getTimeGivenProgression } from './utils/animation/cubic-bezier';

View File

@ -43,6 +43,7 @@ export {
AnimationKeyFrames, AnimationKeyFrames,
AnimationLifecycle, AnimationLifecycle,
} from './utils/animation/animation-interface'; } from './utils/animation/animation-interface';
export { TransitionOptions } from './utils/transition';
export { HTMLIonOverlayElement, OverlayController, OverlayInterface } from './utils/overlays-interface'; export { HTMLIonOverlayElement, OverlayController, OverlayInterface } from './utils/overlays-interface';
export { Config, config } from './global/config'; export { Config, config } from './global/config';
export { Gesture, GestureConfig, GestureDetail } from './utils/gesture'; export { Gesture, GestureConfig, GestureDetail } from './utils/gesture';

View File

@ -55,6 +55,7 @@ export {
getPlatforms, getPlatforms,
isPlatform, isPlatform,
getTimeGivenProgression, getTimeGivenProgression,
getIonPageElement,
// TYPES // TYPES
Animation, Animation,
AnimationBuilder, AnimationBuilder,
@ -129,4 +130,5 @@ export {
ToastLayout, ToastLayout,
ToggleChangeEventDetail, ToggleChangeEventDetail,
ToggleCustomEvent, ToggleCustomEvent,
TransitionOptions,
} from '@ionic/core'; } from '@ionic/core';

View File

@ -9,6 +9,7 @@ export {
mdTransitionAnimation, mdTransitionAnimation,
IonicSlides, IonicSlides,
getTimeGivenProgression, getTimeGivenProgression,
getIonPageElement,
// TYPES // TYPES
Animation, Animation,
@ -83,6 +84,7 @@ export {
ToastLayout, ToastLayout,
ToggleChangeEventDetail, ToggleChangeEventDetail,
ToggleCustomEvent, ToggleCustomEvent,
TransitionOptions,
} from '@ionic/core/components'; } from '@ionic/core/components';
export * from './proxies'; export * from './proxies';

View File

@ -47,6 +47,7 @@ export {
isPlatform, isPlatform,
menuController, menuController,
getTimeGivenProgression, getTimeGivenProgression,
getIonPageElement,
// TYPES // TYPES
Animation, Animation,
@ -123,4 +124,5 @@ export {
ToastLayout, ToastLayout,
ToggleChangeEventDetail, ToggleChangeEventDetail,
ToggleCustomEvent, ToggleCustomEvent,
TransitionOptions,
} from "@ionic/core/components"; } from "@ionic/core/components";