-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1201 from HealthCatalyst/dev
Merge dev -> master
- Loading branch information
Showing
26 changed files
with
245 additions
and
100 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
6 changes: 3 additions & 3 deletions
6
...amples/src/lib/datepicker-selected-value/datepicker-selected-value-example.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
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
5 changes: 5 additions & 0 deletions
5
projects/cashmere-examples/src/lib/datepicker-sugar/datepicker-sugar-example.component.scss
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 |
---|---|---|
@@ -1,3 +1,8 @@ | ||
.example-date-input { | ||
width: 200px; | ||
margin-top: 15px; | ||
} | ||
|
||
.example-date-description { | ||
font-size: 14px; | ||
} |
6 changes: 3 additions & 3 deletions
6
...ects/cashmere-examples/src/lib/ellipsis-overview/ellipsis-overview-example.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
32 changes: 18 additions & 14 deletions
32
projects/cashmere-examples/src/lib/input-prefix/input-prefix-example.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 |
---|---|---|
@@ -1,14 +1,18 @@ | ||
<div class="form-container"> | ||
<hc-form-field inline="true"> | ||
<hc-label>Username (usually your email):</hc-label> | ||
<hc-icon hcPrefix fontSet="fa" fontIcon="fa-plus-circle"></hc-icon> | ||
<input hcInput placeholder="Enter username" class="demo-input" disabled> | ||
<hc-icon hcSuffix fontSet="fa" fontIcon="fa-user-circle-o"></hc-icon> | ||
</hc-form-field> | ||
<hc-form-field inline="true"> | ||
<hc-label>Password:</hc-label> | ||
<hc-icon hcPrefix fontSet="fa" fontIcon="fa-plus-circle"></hc-icon> | ||
<input hcInput placeholder="Enter password" class="demo-input" disabled> | ||
<hc-icon hcSuffix fontSet="fa" fontIcon="fa-key"></hc-icon> | ||
</hc-form-field> | ||
</div> | ||
<form> | ||
<div class="form-container"> | ||
<!-- Disabling the form field via the 'disabled' attribute--> | ||
<hc-form-field inline="true"> | ||
<hc-label>Username (usually your email):</hc-label> | ||
<hc-icon hcPrefix fontSet="fa" fontIcon="fa-plus-circle"></hc-icon> | ||
<input hcInput placeholder="Enter username" class="demo-input" disabled> | ||
<hc-icon hcSuffix fontSet="fa" fontIcon="fa-user-circle-o"></hc-icon> | ||
</hc-form-field> | ||
<!-- Disabling the form field via formControl --> | ||
<hc-form-field inline="true"> | ||
<hc-label>Password:</hc-label> | ||
<hc-icon hcPrefix fontSet="fa" fontIcon="fa-plus-circle"></hc-icon> | ||
<input hcInput placeholder="Enter password" class="demo-input" [formControl]='inputPrefix'> | ||
<hc-icon hcSuffix fontSet="fa" fontIcon="fa-key"></hc-icon> | ||
</hc-form-field> | ||
</div> | ||
</form> |
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
2 changes: 1 addition & 1 deletion
2
projects/cashmere-examples/src/lib/input-required/input-required-example.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
6 changes: 3 additions & 3 deletions
6
...ects/cashmere-examples/src/lib/pagination-simple/pagination-simple-example.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<hc-form-field> <hc-label>Total number of items</hc-label> <input hcInput type="number" [(ngModel)]="totalItems" /> </hc-form-field> | ||
<hc-form-field> <hc-label>Page number</hc-label> <input hcInput type="number" [(ngModel)]="pageNumber" /> </hc-form-field> | ||
<hc-form-field> <hc-label>Page size</hc-label> <input hcInput type="number" [(ngModel)]="pageSize" /> </hc-form-field> | ||
<hc-form-field> <hc-label>Total number of items:</hc-label> <input hcInput type="number" [(ngModel)]="totalItems" /> </hc-form-field> | ||
<hc-form-field> <hc-label>Page number:</hc-label> <input hcInput type="number" [(ngModel)]="pageNumber" /> </hc-form-field> | ||
<hc-form-field> <hc-label>Page size:</hc-label> <input hcInput type="number" [(ngModel)]="pageSize" /> </hc-form-field> | ||
|
||
<hc-pagination [(pageNumber)]="pageNumber" [(pageSize)]="pageSize" [length]="totalItems"></hc-pagination> |
10 changes: 5 additions & 5 deletions
10
projects/cashmere-examples/src/lib/select-forms/select-forms-example.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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<form> | ||
<hc-select [formControl]="selectControl"> | ||
<option value="corn">Corn on the cob</option> | ||
<option value="chicken">Deep fried chicken</option> | ||
<option value="taters">Mashed taters</option> | ||
<option *ngFor="let location of locations" [ngValue]="location">{{location.dbaName}}</option> | ||
</hc-select> | ||
</form> | ||
|
||
<button hc-button class="demo-button" (click)="setTaters()"> | ||
Yummy Taters | ||
<button hc-button class="demo-button" (click)="setInsurance()"> | ||
Select Insurance Department | ||
</button> | ||
|
||
<button hc-button class="demo-button" (click)="toggleActive()"> | ||
Enable/Disable Select | ||
</button> | ||
|
||
<p class="example-results">Form control value: <code>{{selectControl.value | json}}</code></p> |
5 changes: 5 additions & 0 deletions
5
projects/cashmere-examples/src/lib/select-forms/select-forms-example.component.scss
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 |
---|---|---|
@@ -1,3 +1,8 @@ | ||
form { | ||
max-width: 350px; | ||
} | ||
|
||
.example-results { | ||
margin-top: 20px; | ||
font-size: 14px; | ||
} |
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
2 changes: 1 addition & 1 deletion
2
projects/cashmere-examples/src/lib/table-filter/table-filter-example.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
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
Oops, something went wrong.