Skip to content

Commit

Permalink
chore(transition): expose transition
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Mar 20, 2018
1 parent a73c461 commit 3a26256
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion core/src/components/nav/animations/ios.transition.ts
Original file line number Diff line number Diff line change
@@ -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)';
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/nav/animations/md.transition.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Animation } from '../../../index';
import { AnimationOptions } from '../transition';
import { AnimationOptions } from '../../../utils/transition';

const TRANSLATEY = 'translateY';
const OFF_BOTTOM = '40px';
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/nav/nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/nav/test/nav-controller.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
5 changes: 3 additions & 2 deletions core/stencil.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'] },
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 3a26256

Please sign in to comment.