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,5 +1,5 @@
import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
import { Animation, AnimationBuilder, Config, Mode } from '../../index';
import { Animation, AnimationBuilder, Config, Mode } from '../../interface';
import { createThemedClasses, getClassMap } from '../../utils/theme';
import { OverlayEventDetail, OverlayInterface, dismiss, eventMethod, present } from '../../utils/overlays';
@ -216,17 +216,4 @@ export class Toast implements OverlayInterface {
</div>
);
}
}
export interface ToastOptions {
message?: string;
cssClass?: string | string[];
duration?: number;
showCloseButton?: boolean;
closeButtonText?: string;
position?: string;
translucent?: boolean;
enterAnimation?: AnimationBuilder;
leaveAnimation?: AnimationBuilder;
}