diff --git a/demos/blur/bg.jpg b/demos/blur/bg.jpg deleted file mode 100644 index c3298fcb99..0000000000 Binary files a/demos/blur/bg.jpg and /dev/null differ diff --git a/demos/blur/index.ts b/demos/blur/index.ts deleted file mode 100644 index 64f6d23af8..0000000000 --- a/demos/blur/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -import {App} from 'ionic-angular'; - -@App({ - templateUrl: 'main.html' -}) -class ApiDemoApp {} diff --git a/demos/blur/main.html b/demos/blur/main.html deleted file mode 100644 index d54b9c1a36..0000000000 --- a/demos/blur/main.html +++ /dev/null @@ -1,34 +0,0 @@ - - - Blur - - - -
- - - Card - - - This card will blur the content behind it. - - -
-
- - diff --git a/ionic/components.ts b/ionic/components.ts index a961e2ab84..49dc914bf8 100644 --- a/ionic/components.ts +++ b/ionic/components.ts @@ -4,7 +4,6 @@ export * from './components/app/id' export * from './components/action-sheet/action-sheet' export * from './components/alert/alert' export * from './components/badge/badge' -export * from './components/blur/blur' export * from './components/button/button' export * from './components/checkbox/checkbox' export * from './components/content/content' diff --git a/ionic/components/blur/blur.ts b/ionic/components/blur/blur.ts deleted file mode 100644 index 044e225161..0000000000 --- a/ionic/components/blur/blur.ts +++ /dev/null @@ -1,26 +0,0 @@ -import {Directive, Renderer, ElementRef} from 'angular2/core'; - - -/** - * @name Blur - * @description - * The blur attribute applies the CSS blur attribute to an element. Safari only. - * - * @usage - * ```html - * - * This card will blur the content behind it. - * - * ``` - * - * @demo /docs/v2/demos/blur/ - * @private - */ -@Directive({ - selector: '[blur]' -}) -export class Blur { - constructor(private _elementRef: ElementRef, private _renderer: Renderer) { - _renderer.setElementStyle(_elementRef.nativeElement, '-webkit-backdrop-filter', 'blur(10px)'); - } -} diff --git a/ionic/components/blur/test/basic/bg.jpg b/ionic/components/blur/test/basic/bg.jpg deleted file mode 100644 index c3298fcb99..0000000000 Binary files a/ionic/components/blur/test/basic/bg.jpg and /dev/null differ diff --git a/ionic/components/blur/test/basic/index.ts b/ionic/components/blur/test/basic/index.ts deleted file mode 100644 index 53fad6e85a..0000000000 --- a/ionic/components/blur/test/basic/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -import {App} from 'ionic-angular'; - - -@App({ - templateUrl: 'main.html' -}) -class E2EApp { - constructor() { - } -} diff --git a/ionic/components/blur/test/basic/main.html b/ionic/components/blur/test/basic/main.html deleted file mode 100644 index d54b9c1a36..0000000000 --- a/ionic/components/blur/test/basic/main.html +++ /dev/null @@ -1,34 +0,0 @@ - - - Blur - - - -
- - - Card - - - This card will blur the content behind it. - - -
-
- - diff --git a/ionic/config/directives.ts b/ionic/config/directives.ts index a2e1e64bff..67f5e6553a 100644 --- a/ionic/config/directives.ts +++ b/ionic/config/directives.ts @@ -6,7 +6,6 @@ import {MenuToggle} from '../components/menu/menu-toggle'; import {MenuClose} from '../components/menu/menu-close'; import {Badge} from '../components/badge/badge'; import {Button} from '../components/button/button'; -import {Blur} from '../components/blur/blur'; import {Content} from '../components/content/content'; import {Img} from '../components/img/img'; import {Scroll} from '../components/scroll/scroll'; @@ -93,7 +92,6 @@ import {ShowWhen, HideWhen} from '../components/show-hide-when/show-hide-when'; * - MenuClose * - Badge * - Button - * - Blur * - Content * - Scroll * - InfiniteScroll @@ -154,7 +152,6 @@ export const IONIC_DIRECTIVES = [ Badge, Button, - Blur, Content, Scroll, InfiniteScroll,