refactor(all): allow external imports

This commit is contained in:
Manu Mtz.-Almeida
2018-04-24 15:10:15 +02:00
parent 0c1476e0ff
commit 053c375521
160 changed files with 3451 additions and 770 deletions

View File

@ -1,4 +1,4 @@
import { Animation } from '../../../index';
import { Animation } from '../../../interface';
/**

View File

@ -1,4 +1,4 @@
import { Animation } from '../../../index';
import { Animation } from '../../../interface';
/**

View File

@ -1,4 +1,4 @@
import { Animation } from '../../../index';
import { Animation } from '../../../interface';
/**
* Md Modal Enter Animation

View File

@ -1,4 +1,4 @@
import { Animation } from '../../../index';
import { Animation } from '../../../interface';
/**
* Md Modal Leave Animation

View File

@ -0,0 +1,12 @@
import { AnimationBuilder, ComponentProps, ComponentRef, FrameworkDelegate } from '../../interface';
export interface ModalOptions {
component: ComponentRef;
componentProps?: ComponentProps;
showBackdrop?: boolean;
enableBackdropDismiss?: boolean;
enterAnimation?: AnimationBuilder;
leaveAnimation?: AnimationBuilder;
cssClass?: string | string[];
delegate?: FrameworkDelegate;
}

View File

@ -1,5 +1,5 @@
import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
import { Animation, AnimationBuilder, ComponentProps, ComponentRef, Config, FrameworkDelegate, Mode } from '../../index';
import { Animation, AnimationBuilder, ComponentProps, ComponentRef, Config, FrameworkDelegate, Mode } from '../../interface';
import { createThemedClasses, getClassMap } from '../../utils/theme';
import { BACKDROP, OverlayEventDetail, OverlayInterface, dismiss, eventMethod, present } from '../../utils/overlays';