-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
81 changed files
with
775 additions
and
519 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
8 changes: 4 additions & 4 deletions
8
...pp/documentation/component-docs/badge-label/examples/badge-default-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,4 +1,4 @@ | ||
<fd-badge>Default</fd-badge> | ||
<fd-badge [status]="'success'">Default</fd-badge> | ||
<fd-badge [status]="'warning'">Default</fd-badge> | ||
<fd-badge [status]="'error'">Default</fd-badge> | ||
<span fd-badge>Default</span> | ||
<span fd-badge [status]="'success'">Default</span> | ||
<span fd-badge [status]="'warning'">Default</span> | ||
<span fd-badge [status]="'error'">Default</span> |
8 changes: 4 additions & 4 deletions
8
...app/documentation/component-docs/badge-label/examples/badge-filled-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,4 +1,4 @@ | ||
<fd-badge [modifier]="'filled'">Default</fd-badge> | ||
<fd-badge [status]="'success'" [modifier]="'filled'">Default</fd-badge> | ||
<fd-badge [status]="'warning'" [modifier]="'filled'">Default</fd-badge> | ||
<fd-badge [status]="'error'" [modifier]="'filled'">Default</fd-badge> | ||
<span fd-badge [modifier]="'filled'">Default</span> | ||
<span fd-badge [status]="'success'" [modifier]="'filled'">Default</span> | ||
<span fd-badge [status]="'warning'" [modifier]="'filled'">Default</span> | ||
<span fd-badge [status]="'error'" [modifier]="'filled'">Default</span> |
8 changes: 4 additions & 4 deletions
8
docs/app/documentation/component-docs/badge-label/examples/badge-pill-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,4 +1,4 @@ | ||
<fd-badge [modifier]="'pill'">Default</fd-badge> | ||
<fd-badge [status]="'success'" [modifier]="'pill'">Default</fd-badge> | ||
<fd-badge [status]="'warning'" [modifier]="'pill'">Default</fd-badge> | ||
<fd-badge [status]="'error'" [modifier]="'pill'">Default</fd-badge> | ||
<span fd-badge [modifier]="'pill'">Default</span> | ||
<span fd-badge [status]="'success'" [modifier]="'pill'">Default</span> | ||
<span fd-badge [status]="'warning'" [modifier]="'pill'">Default</span> | ||
<span fd-badge [status]="'error'" [modifier]="'pill'">Default</span> |
8 changes: 4 additions & 4 deletions
8
...cumentation/component-docs/badge-label/examples/label-build-status-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,4 +1,4 @@ | ||
<fd-label [isStatusLabel]="true" [statusIcon]="'available'">Available</fd-label> | ||
<fd-label [isStatusLabel]="true" [statusIcon]="'away'">Away</fd-label> | ||
<fd-label [isStatusLabel]="true" [statusIcon]="'busy'">Busy</fd-label> | ||
<fd-label [isStatusLabel]="true" [statusIcon]="'offline'">Appear Offline</fd-label> | ||
<span fd-label [isStatusLabel]="true" [statusIcon]="'available'">Available</span> | ||
<span fd-label [isStatusLabel]="true" [statusIcon]="'away'">Away</span> | ||
<span fd-label [isStatusLabel]="true" [statusIcon]="'busy'">Busy</span> | ||
<span fd-label [isStatusLabel]="true" [statusIcon]="'offline'">Appear Offline</span> |
8 changes: 4 additions & 4 deletions
8
...pp/documentation/component-docs/badge-label/examples/label-default-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,4 +1,4 @@ | ||
<fd-label>Default</fd-label> | ||
<fd-label [status]="'success'">Success</fd-label> | ||
<fd-label [status]="'warning'">Warning</fd-label> | ||
<fd-label [status]="'error'">Error</fd-label> | ||
<span fd-label>Default</span> | ||
<span fd-label [status]="'success'">Success</span> | ||
<span fd-label [status]="'warning'">Warning</span> | ||
<span fd-label [status]="'error'">Error</span> |
8 changes: 4 additions & 4 deletions
8
...ocumentation/component-docs/badge-label/examples/label-icon-status-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,4 +1,4 @@ | ||
<fd-label [isStatusLabel]="true" [icon]="'history'">Custom Icon</fd-label> | ||
<fd-label [isStatusLabel]="true" [icon]="'message-success'">Success</fd-label> | ||
<fd-label [isStatusLabel]="true" [icon]="'message-warning'">Warning</fd-label> | ||
<fd-label [isStatusLabel]="true" [icon]="'message-error'">Error</fd-label> | ||
<span fd-label [isStatusLabel]="true" [icon]="'history'">Custom Icon</span> | ||
<span fd-label [isStatusLabel]="true" [icon]="'message-success'">Success</span> | ||
<span fd-label [isStatusLabel]="true" [icon]="'message-warning'">Warning</span> | ||
<span fd-label [isStatusLabel]="true" [icon]="'message-error'">Error</span> |
8 changes: 4 additions & 4 deletions
8
...umentation/component-docs/badge-label/examples/label-status-colors-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,4 +1,4 @@ | ||
<fd-label [isStatusLabel]="true">Default</fd-label> | ||
<fd-label [isStatusLabel]="true" [status]="'success'">Success</fd-label> | ||
<fd-label [isStatusLabel]="true" [status]="'warning'">Warning</fd-label> | ||
<fd-label [isStatusLabel]="true" [status]="'error'">Error</fd-label> | ||
<span fd-label [isStatusLabel]="true">Default</span> | ||
<span fd-label [isStatusLabel]="true" [status]="'success'">Success</span> | ||
<span fd-label [isStatusLabel]="true" [status]="'warning'">Warning</span> | ||
<span fd-label [isStatusLabel]="true" [status]="'error'">Error</span> |
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
25 changes: 25 additions & 0 deletions
25
...mentation/component-docs/date-picker/examples/date-picker-form-range-example.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,25 @@ | ||
import { Component } from '@angular/core'; | ||
import { FormGroup, FormControl } from '@angular/forms'; | ||
|
||
@Component({ | ||
selector: 'fd-date-picker-form-range-example', | ||
template: ` | ||
<form [formGroup]="customForm"> | ||
<fd-date-picker type="range" formControlName="dates"></fd-date-picker> | ||
</form> | ||
Touched: {{customForm.controls.dates.touched}}<br/> | ||
Dirty: {{customForm.controls.dates.dirty}}<br/> | ||
Range Start Date: {{ customForm.controls.dates.value.date ? customForm.controls.dates.value.date.toDateString() : 'null' }}<br/> | ||
Range End Date: {{ customForm.controls.dates.value.rangeEnd ? customForm.controls.dates.value.rangeEnd.toDateString() : 'null' }} | ||
` | ||
}) | ||
export class DatePickerFormRangeExampleComponent { | ||
|
||
today: Date = new Date(); | ||
|
||
customForm = new FormGroup({ | ||
dates: new FormControl({ date: this.today, rangeEnd: new Date(this.today.getTime() + 432000000) }) | ||
}); | ||
}; |
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
8 changes: 8 additions & 0 deletions
8
...-docs/datetime-picker/examples/datetime-form-example/datetime-form-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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<form [formGroup]="customForm"> | ||
<fd-datetime-picker formControlName="date"></fd-datetime-picker> | ||
</form> | ||
|
||
Touched: {{customForm.controls.date.touched}}<br/> | ||
Dirty: {{customForm.controls.date.dirty}}<br/> | ||
|
||
Selected Date: {{ customForm.controls.date.value ? customForm.controls.date.value.toDateString() : 'null' }} |
12 changes: 12 additions & 0 deletions
12
...nt-docs/datetime-picker/examples/datetime-form-example/datetime-form-example.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,12 @@ | ||
import { Component } from '@angular/core'; | ||
import { FormControl, FormGroup } from '@angular/forms'; | ||
|
||
@Component({ | ||
selector: 'fd-datetime-form-example', | ||
templateUrl: './datetime-form-example.component.html' | ||
}) | ||
export class DatetimeFormExampleComponent { | ||
customForm = new FormGroup({ | ||
date: new FormControl(new Date()) | ||
}); | ||
} |
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: 2 additions & 3 deletions
5
.../app/documentation/component-docs/dropdown/examples/dropdown-icons-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
4 changes: 2 additions & 2 deletions
4
...entation/component-docs/dropdown/examples/dropdown-infinite-scroll-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
5 changes: 2 additions & 3 deletions
5
.../app/documentation/component-docs/dropdown/examples/dropdown-state-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
Oops, something went wrong.