diff --git a/src/app/@theme/components/header/header.component.ts b/src/app/@theme/components/header/header.component.ts index a1750f3e..a787d5b1 100644 --- a/src/app/@theme/components/header/header.component.ts +++ b/src/app/@theme/components/header/header.component.ts @@ -15,7 +15,7 @@ import { NgaThemeService } from '@nga/theme/services/theme.service'; - + diff --git a/src/app/@theme/theme.module.ts b/src/app/@theme/theme.module.ts index e4ca69bd..69d1985c 100644 --- a/src/app/@theme/theme.module.ts +++ b/src/app/@theme/theme.module.ts @@ -11,6 +11,7 @@ import { NgaMenuModule, NgaUserModule, NgaActionsModule, + NgaSearchModule, } from '@nga/theme'; import { @@ -36,6 +37,7 @@ const NGA_MODULES = [ NgaMenuModule, NgaUserModule, NgaActionsModule, + NgaSearchModule, ]; const COMPONENTS = [ diff --git a/src/app/pages/pages-menu.ts b/src/app/pages/pages-menu.ts index 39a93912..008aa82b 100644 --- a/src/app/pages/pages-menu.ts +++ b/src/app/pages/pages-menu.ts @@ -30,9 +30,13 @@ export const menuItems: List = List([{ title: 'Typography', link: '/pages/ui-features/typography', }, { - title: 'Tabs', - link: '/pages/ui-features/tabs', - }]), + title: 'Animated Searches', + link: '/pages/ui-features/search-fields', + }, + { + title: 'Tabs', + link: '/pages/ui-features/tabs', + }]), }, { title: 'Components', icon: 'ion ion-ios-gear-outline', diff --git a/src/app/pages/ui-features/search-fields/search-fields.component.html b/src/app/pages/ui-features/search-fields/search-fields.component.html new file mode 100644 index 00000000..ed87c39d --- /dev/null +++ b/src/app/pages/ui-features/search-fields/search-fields.component.html @@ -0,0 +1,93 @@ +
+
+ + + Simple search + + + + + + +
+
+ + + Layout Rotate Search + + + + + + +
+
+
+
+ + + Modal Zoomin Search + + + + + + +
+
+ + + Modal Move Search + + + + + + +
+
+ + + Modal Drop Search + + + + + + +
+
+ + + Modal Half Search + + + + + + +
+
+ + + Curtain Search + + + + + + +
+
+ + + Column Curtain Search + + + + + + +
+
+ diff --git a/src/app/pages/ui-features/search-fields/search-fields.component.ts b/src/app/pages/ui-features/search-fields/search-fields.component.ts new file mode 100644 index 00000000..ad17f273 --- /dev/null +++ b/src/app/pages/ui-features/search-fields/search-fields.component.ts @@ -0,0 +1,8 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'ngx-search-fields', + templateUrl: 'search-fields.component.html', +}) +export class SearchComponent { +} diff --git a/src/app/pages/ui-features/ui-features-routing.module.ts b/src/app/pages/ui-features/ui-features-routing.module.ts index 60309cb8..6804668c 100644 --- a/src/app/pages/ui-features/ui-features-routing.module.ts +++ b/src/app/pages/ui-features/ui-features-routing.module.ts @@ -8,6 +8,7 @@ import { IconsComponent } from './icons/icons.component'; import { ModalsComponent } from './modals/modals.component'; import { TypographyComponent } from './typography/typography.component'; import { TabsComponent, Tab1Component, Tab2Component } from './tabs/tabs.component'; +import { SearchComponent } from './search-fields/search-fields.component'; const routes: Routes = [{ path: '', @@ -27,6 +28,9 @@ const routes: Routes = [{ }, { path: 'typography', component: TypographyComponent, + }, { + path: 'search-fields', + component: SearchComponent, }, { path: 'tabs', component: TabsComponent, diff --git a/src/app/pages/ui-features/ui-features.module.ts b/src/app/pages/ui-features/ui-features.module.ts index 0139e3fa..479fb712 100644 --- a/src/app/pages/ui-features/ui-features.module.ts +++ b/src/app/pages/ui-features/ui-features.module.ts @@ -1,5 +1,5 @@ import { NgModule } from '@angular/core'; -import { NgaTabsetModule, NgaRouteTabsetModule } from '@nga/theme'; +import { NgaTabsetModule, NgaRouteTabsetModule, NgaSearchModule } from '@nga/theme'; import { SharedModule } from '../../shared.module'; @@ -20,6 +20,7 @@ import { LargeButtonsComponent } from './buttons/large/large.component'; import { ModalComponent } from './modals/modal/modal.component'; import { TypographyComponent } from './typography/typography.component'; import { TabsComponent, Tab1Component, Tab2Component } from './tabs/tabs.component'; +import { SearchComponent } from './search-fields/search-fields.component'; const COMPONENTS = [ UiFeaturesComponent, @@ -40,6 +41,7 @@ const COMPONENTS = [ TabsComponent, Tab1Component, Tab2Component, + SearchComponent, ]; @NgModule({ @@ -48,6 +50,7 @@ const COMPONENTS = [ UiFeaturesRoutingModule, NgaTabsetModule, NgaRouteTabsetModule, + NgaSearchModule, ], declarations: [ ...COMPONENTS,