Skip to content

Commit 19f3bb2

Browse files
hoi4philipp-stsmliamdebeasi
authored
feat: export TransitionOptions interface and getIonPageElement (#28140)
Issue number: resolves #28137 --------- Changes according to [this comment](#28137 (comment)) ## 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 <[email protected]> Co-authored-by: Liam DeBeasi <[email protected]>
1 parent cd8d509 commit 19f3bb2

File tree

5 files changed

+8
-0
lines changed

5 files changed

+8
-0
lines changed

core/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import 'ionicons';
22

33
export { createAnimation } from './utils/animation/animation';
4+
export { getIonPageElement } from './utils/transition';
45
export { iosTransitionAnimation } from './utils/transition/ios.transition';
56
export { mdTransitionAnimation } from './utils/transition/md.transition';
67
export { getTimeGivenProgression } from './utils/animation/cubic-bezier';

core/src/interface.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export {
4343
AnimationKeyFrames,
4444
AnimationLifecycle,
4545
} from './utils/animation/animation-interface';
46+
export { TransitionOptions } from './utils/transition';
4647
export { HTMLIonOverlayElement, OverlayController, OverlayInterface } from './utils/overlays-interface';
4748
export { Config, config } from './global/config';
4849
export { Gesture, GestureConfig, GestureDetail } from './utils/gesture';

packages/angular/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export {
5555
getPlatforms,
5656
isPlatform,
5757
getTimeGivenProgression,
58+
getIonPageElement,
5859
// TYPES
5960
Animation,
6061
AnimationBuilder,
@@ -129,4 +130,5 @@ export {
129130
ToastLayout,
130131
ToggleChangeEventDetail,
131132
ToggleCustomEvent,
133+
TransitionOptions,
132134
} from '@ionic/core';

packages/react/src/components/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export {
99
mdTransitionAnimation,
1010
IonicSlides,
1111
getTimeGivenProgression,
12+
getIonPageElement,
1213

1314
// TYPES
1415
Animation,
@@ -83,6 +84,7 @@ export {
8384
ToastLayout,
8485
ToggleChangeEventDetail,
8586
ToggleCustomEvent,
87+
TransitionOptions,
8688
} from '@ionic/core/components';
8789

8890
export * from './proxies';

packages/vue/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export {
4747
isPlatform,
4848
menuController,
4949
getTimeGivenProgression,
50+
getIonPageElement,
5051

5152
// TYPES
5253
Animation,
@@ -123,4 +124,5 @@ export {
123124
ToastLayout,
124125
ToggleChangeEventDetail,
125126
ToggleCustomEvent,
127+
TransitionOptions,
126128
} from "@ionic/core/components";

0 commit comments

Comments
 (0)