mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-26 08:13:34 +08:00
chore(overlay): remove deprecated ion-overlay
This commit is contained in:
@ -32,7 +32,6 @@ export * from './components/nav/nav-push'
|
||||
export * from './components/nav/nav-router'
|
||||
export * from './components/navbar/navbar'
|
||||
export * from './components/option/option'
|
||||
export * from './components/overlay/overlay'
|
||||
export * from './components/radio/radio-button'
|
||||
export * from './components/radio/radio-group'
|
||||
export * from './components/refresher/refresher'
|
||||
|
@ -1,18 +0,0 @@
|
||||
import {Directive} from 'angular2/core';
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Directive({
|
||||
selector: 'ion-overlay'
|
||||
})
|
||||
export class OverlayNav {
|
||||
|
||||
constructor() {
|
||||
// deprecated warning
|
||||
console.warn('<ion-overlay> is no longer needed and can be safely removed.');
|
||||
console.warn('https://github.com/driftyco/ionic2/blob/master/CHANGELOG.md#overlay-refactor');
|
||||
console.warn('See the v2 docs for an update on how overlays work.');
|
||||
}
|
||||
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
import {forwardRef, Type} from 'angular2/core';
|
||||
import {CORE_DIRECTIVES, FORM_DIRECTIVES} from 'angular2/common';
|
||||
|
||||
import {OverlayNav} from '../components/overlay/overlay';
|
||||
import {Menu} from '../components/menu/menu';
|
||||
import {MenuToggle} from '../components/menu/menu-toggle';
|
||||
import {MenuClose} from '../components/menu/menu-close';
|
||||
@ -125,7 +124,6 @@ export const IONIC_DIRECTIVES = [
|
||||
FORM_DIRECTIVES,
|
||||
|
||||
// Content
|
||||
OverlayNav,
|
||||
Menu,
|
||||
MenuToggle,
|
||||
MenuClose,
|
||||
|
Reference in New Issue
Block a user