Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/native-integration/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference lib="es2021.weakref" />
import type { Animation } from '@ionic/core';
import type { Animation } from '@ionic/core/components';

export interface NativeUIShellIntegration {
suspend(scopes: HTMLElement[]): Promise<(canceled?: boolean) => void>;
Expand Down
2 changes: 1 addition & 1 deletion src/native-integration/transition.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { AnimationBuilder } from '@ionic/core';
import type { AnimationBuilder } from '@ionic/core/components';
import { connectNativeUIShellTransition } from './index';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/native/prehide.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { modalUsesVerticalBars } from './shared/modal';
import { LIFECYCLE_DID_ENTER, LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_ENTER, LIFECYCLE_WILL_LEAVE } from '@ionic/core';
import { LIFECYCLE_DID_ENTER, LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_ENTER, LIFECYCLE_WILL_LEAVE } from '@ionic/core/components/index.js';
import { VERTICAL_BARS_TRANSITION_CANCELED } from '../native-integration';
import {
childElements,
Expand Down
2 changes: 1 addition & 1 deletion src/native/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { inVerticalBarsSurface, topModal, modalUsesVerticalBars, modalVerticalBarFrame } from './shared/modal';
import type { PluginListenerHandle } from '@capacitor/core';
import { LIFECYCLE_WILL_ENTER, LIFECYCLE_WILL_LEAVE, LIFECYCLE_DID_ENTER, LIFECYCLE_DID_LEAVE } from '@ionic/core';
import { LIFECYCLE_WILL_ENTER, LIFECYCLE_WILL_LEAVE, LIFECYCLE_DID_ENTER, LIFECYCLE_DID_LEAVE } from '@ionic/core/components/index.js';
import { VERTICAL_BARS_TRANSITION_CANCELED, getNativeSearchBindings, setNativeUIShellIntegration } from '../native-integration';
import { createSearchSupport } from './components/searchable-tabs';
import type {
Expand Down
4 changes: 2 additions & 2 deletions src/sheets-of-glass/animations.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Animation, AnimationKeyFrames } from '@ionic/core';
import type { Animation, AnimationKeyFrames, GestureDetail } from '@ionic/core/components';
import { AnimationPosition, EffectScales } from './interfaces';
import { createAnimation, GestureDetail } from '@ionic/core';
import { createAnimation } from '@ionic/core/components/index.js';
import { getStep } from '../utils';

// Work in main/cross-axis coordinates so native horizontal samples also drive the rail.
Expand Down
4 changes: 2 additions & 2 deletions src/sheets-of-glass/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { AnimationPosition, EffectScales, registeredEffect } from './interfaces';
import { createAnimation, createGesture } from '@ionic/core';
import type { Animation, Gesture, GestureDetail } from '@ionic/core';
import { createAnimation, createGesture } from '@ionic/core/components/index.js';
import type { Animation, Gesture, GestureDetail } from '@ionic/core/components';
import { changeSelectedElement, cloneElement, getStep } from '../utils';
import { isNativeUIShell } from '../native-integration';
import {
Expand Down
3 changes: 2 additions & 1 deletion src/tab-bar-searchable/animations/enter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Animation, createAnimation } from '@ionic/core';
import type { Animation } from '@ionic/core/components';
import { createAnimation } from '@ionic/core/components/index.js';
import { ANIMATION_DELAY_CLOSE_BUTTONS, OPACITY_TRANSITION, type ElementReferences, type ElementSizes } from '@rdlabo/ionic-theme-utils';
import { cloneElement } from '../../utils';

Expand Down
3 changes: 2 additions & 1 deletion src/tab-bar-searchable/animations/leave.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Animation, createAnimation } from '@ionic/core';
import type { Animation } from '@ionic/core/components';
import { createAnimation } from '@ionic/core/components/index.js';
import { ANIMATION_DELAY_CLOSE_BUTTONS, OPACITY_TRANSITION, type ElementReferences, type ElementSizes } from '@rdlabo/ionic-theme-utils';
import { cloneElement } from '../../utils';

Expand Down
2 changes: 1 addition & 1 deletion src/tab-bar-searchable/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createAnimation } from '@ionic/core';
import { createAnimation } from '@ionic/core/components/index.js';
import { addSearchDismissButton } from './dismiss-button';
import {
ANIMATION_DELAY_BASE,
Expand Down
6 changes: 3 additions & 3 deletions src/transition/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { config } from '../utils';
import { Build, writeTask } from '@stencil/core';

import { LIFECYCLE_DID_ENTER, LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_ENTER, LIFECYCLE_WILL_LEAVE } from '@ionic/core';
import type { NavOptions, NavDirection } from '@ionic/core';
import type { Animation, AnimationBuilder } from '@ionic/core';
import { LIFECYCLE_DID_ENTER, LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_ENTER, LIFECYCLE_WILL_LEAVE } from '@ionic/core/components/index.js';
import type { NavOptions, NavDirection } from '@ionic/core/components';
import type { Animation, AnimationBuilder } from '@ionic/core/components';
import { createFocusController } from '../focus-controller';
import { raf } from '../utils';

Expand Down
2 changes: 1 addition & 1 deletion src/transition/ios.transition.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createIosTransitionAnimation, shadow } from '@rdlabo/ionic-theme-utils';
import type { Animation } from '@ionic/core';
import type { Animation } from '@ionic/core/components';
import type { TransitionOptions } from './index';
import { getIonPageElement } from './index';
import { withNativeUIShellTransition } from '../native-integration/transition';
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AnimationPosition } from './sheets-of-glass/interfaces';
import { IonicConfig } from '@ionic/core';
import type { IonicConfig } from '@ionic/core/components';

declare const __zone_symbol__requestAnimationFrame: ((callback: FrameRequestCallback) => number) | undefined;
declare const requestAnimationFrame: ((callback: FrameRequestCallback) => number) | undefined;
Expand Down
Loading