mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-03 03:13:42 +08:00
chore(transition): expose transition
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import { Animation } from '../../../index';
|
||||
import { AnimationOptions } from '../transition';
|
||||
import { AnimationOptions } from '../../../utils/transition';
|
||||
|
||||
const DURATION = 500;
|
||||
const EASING = 'cubic-bezier(0.36,0.66,0.04,1)';
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { Animation } from '../../../index';
|
||||
import { AnimationOptions } from '../transition';
|
||||
import { AnimationOptions } from '../../../utils/transition';
|
||||
|
||||
const TRANSLATEY = 'translateY';
|
||||
const OFF_BOTTOM = '40px';
|
||||
|
||||
@ -18,7 +18,7 @@ import { assert } from '../../utils/helpers';
|
||||
|
||||
import iosTransitionAnimation from './animations/ios.transition';
|
||||
import mdTransitionAnimation from './animations/md.transition';
|
||||
import { AnimationOptions, ViewLifecycle, lifecycle, transition } from './transition';
|
||||
import { AnimationOptions, ViewLifecycle, lifecycle, transition } from '../../utils/transition';
|
||||
|
||||
@Component({
|
||||
tag: 'ion-nav',
|
||||
|
||||
@ -5,7 +5,7 @@ import { AnimationControllerImpl } from '../../animation-controller/animation-co
|
||||
import { createConfigController } from '../../../global/config-controller';
|
||||
|
||||
import { NavDirection, NavOptions, ViewState } from '../nav-util';
|
||||
import { MyCustomEvent, mockLifecycle } from '../transition';
|
||||
import { mockLifecycle } from '../../../utils/transition';
|
||||
|
||||
|
||||
describe('NavController', () => {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { NavDirection } from './nav-util';
|
||||
import { Animation, AnimationBuilder } from '../..';
|
||||
import { Animation, AnimationBuilder } from '../';
|
||||
import { NavDirection } from '../components/nav/nav-util';
|
||||
|
||||
export let MyCustomEvent = CustomEvent;
|
||||
|
||||
@ -4,8 +4,6 @@ const autoprefixer = require('autoprefixer');
|
||||
|
||||
exports.config = {
|
||||
namespace: 'Ionic',
|
||||
generateDistribution: true,
|
||||
generateWWW: false,
|
||||
bundles: [
|
||||
{ components: ['ion-animation-controller'] },
|
||||
{ components: ['ion-app', 'ion-content', 'ion-scroll', 'ion-footer', 'ion-header', 'ion-title', 'ion-toolbar'] },
|
||||
@ -67,6 +65,9 @@ exports.config = {
|
||||
]
|
||||
})
|
||||
],
|
||||
outputTargets: [
|
||||
{ type: 'dist' }
|
||||
],
|
||||
copy: [{ src: '**/*.scss' }],
|
||||
preamble: '(C) Ionic http://ionicframework.com - MIT License',
|
||||
globalScript: 'src/global/ionic-global.ts',
|
||||
|
||||
Reference in New Issue
Block a user