-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(search): add animated search-field (#1)
- Loading branch information
1 parent
a3dede3
commit ea94441
Showing
7 changed files
with
119 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 93 additions & 0 deletions
93
src/app/pages/ui-features/search-fields/search-fields.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<nga-card> | ||
<nga-card-header> | ||
Simple search | ||
</nga-card-header> | ||
<nga-card-body> | ||
<nga-search type="simple-search" tag="simple-search"></nga-search> | ||
</nga-card-body> | ||
<nga-card-footer></nga-card-footer> | ||
</nga-card> | ||
</div> | ||
<div class="col-md-6"> | ||
<nga-card> | ||
<nga-card-header> | ||
Layout Rotate Search | ||
</nga-card-header> | ||
<nga-card-body> | ||
<nga-search type="rotate-layout" tag="rotate-layout"></nga-search> | ||
</nga-card-body> | ||
<nga-card-footer></nga-card-footer> | ||
</nga-card> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<nga-card> | ||
<nga-card-header> | ||
Modal Zoomin Search | ||
</nga-card-header> | ||
<nga-card-body> | ||
<nga-search type="modal-zoomin" tag="modal-zoomin"></nga-search> | ||
</nga-card-body> | ||
<nga-card-footer></nga-card-footer> | ||
</nga-card> | ||
</div> | ||
<div class="col-md-6"> | ||
<nga-card> | ||
<nga-card-header> | ||
Modal Move Search | ||
</nga-card-header> | ||
<nga-card-body> | ||
<nga-search type="modal-move" tag="modal-move"></nga-search> | ||
</nga-card-body> | ||
<nga-card-footer></nga-card-footer> | ||
</nga-card> | ||
</div> | ||
<div class="col-md-6"> | ||
<nga-card> | ||
<nga-card-header> | ||
Modal Drop Search | ||
</nga-card-header> | ||
<nga-card-body> | ||
<nga-search type="modal-drop" tag="modal-drop"></nga-search> | ||
</nga-card-body> | ||
<nga-card-footer></nga-card-footer> | ||
</nga-card> | ||
</div> | ||
<div class="col-md-6"> | ||
<nga-card> | ||
<nga-card-header> | ||
Modal Half Search | ||
</nga-card-header> | ||
<nga-card-body> | ||
<nga-search type="modal-half" tag="modal-half"></nga-search> | ||
</nga-card-body> | ||
<nga-card-footer></nga-card-footer> | ||
</nga-card> | ||
</div> | ||
<div class="col-md-6"> | ||
<nga-card> | ||
<nga-card-header> | ||
Curtain Search | ||
</nga-card-header> | ||
<nga-card-body> | ||
<nga-search type="curtain" tag="curtain"></nga-search> | ||
</nga-card-body> | ||
<nga-card-footer></nga-card-footer> | ||
</nga-card> | ||
</div> | ||
<div class="col-md-6"> | ||
<nga-card> | ||
<nga-card-header> | ||
Column Curtain Search | ||
</nga-card-header> | ||
<nga-card-body> | ||
<nga-search type="column-curtain" tag="column-curtain"></nga-search> | ||
</nga-card-body> | ||
<nga-card-footer></nga-card-footer> | ||
</nga-card> | ||
</div> | ||
</div> | ||
|
8 changes: 8 additions & 0 deletions
8
src/app/pages/ui-features/search-fields/search-fields.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'ngx-search-fields', | ||
templateUrl: 'search-fields.component.html', | ||
}) | ||
export class SearchComponent { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters