diff --git a/src/assets/angular-material-examples/form-field-custom-control/form-field-custom-control-example.css b/src/assets/angular-material-examples/form-field-custom-control/form-field-custom-control-example.css
deleted file mode 100644
index 515dd7c1..00000000
--- a/src/assets/angular-material-examples/form-field-custom-control/form-field-custom-control-example.css
+++ /dev/null
@@ -1,21 +0,0 @@
-div {
- display: flex;
-}
-
-input {
- border: none;
- background: none;
- padding: 0;
- outline: none;
- font: inherit;
- text-align: center;
-}
-
-span {
- opacity: 0;
- transition: opacity 200ms;
-}
-
-:host.floating span {
- opacity: 1;
-}
diff --git a/src/assets/angular-material-examples/form-field-custom-control/form-field-custom-control-example.html b/src/assets/angular-material-examples/form-field-custom-control/form-field-custom-control-example.html
deleted file mode 100644
index 74a64b9c..00000000
--- a/src/assets/angular-material-examples/form-field-custom-control/form-field-custom-control-example.html
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- –
-
- –
-
-
diff --git a/src/assets/angular-material-examples/form-field-custom-control/form-field-custom-control-example.ts b/src/assets/angular-material-examples/form-field-custom-control/form-field-custom-control-example.ts
deleted file mode 100644
index e9e62c24..00000000
--- a/src/assets/angular-material-examples/form-field-custom-control/form-field-custom-control-example.ts
+++ /dev/null
@@ -1,177 +0,0 @@
-import { FocusMonitor } from '@angular/cdk/a11y';
-import { coerceBooleanProperty } from '@angular/cdk/coercion';
-import { Component, ElementRef, Input, OnDestroy, Renderer2 } from '@angular/core';
-import { FormBuilder, FormGroup } from '@angular/forms';
-import { MatFormFieldControl } from '@angular/material/form-field';
-import { Subject } from 'rxjs/Subject';
-
-/** Data structure for holding telephone number. */
-export class MyTel
-{
- constructor(public area: string, public exchange: string, public subscriber: string)
- {
- }
-}
-
-/** Custom `MatFormFieldControl` for telephone number input. */
-@Component({
- selector : 'my-tel-input',
- templateUrl: 'form-field-custom-control-example.html',
- styleUrls : ['form-field-custom-control-example.css'],
- providers : [
- {
- provide : MatFormFieldControl,
- useExisting: MyTelInput
- }
- ],
- host : {
- '[class.floating]' : 'shouldPlaceholderFloat',
- '[id]' : 'id',
- '[attr.aria-describedby]': 'describedBy'
- }
-})
-export class MyTelInput implements MatFormFieldControl, OnDestroy
-{
- static nextId = 0;
-
- parts: FormGroup;
-
- stateChanges = new Subject();
-
- focused = false;
-
- ngControl = null;
-
- errorState = false;
-
- controlType = 'my-tel-input';
-
- get empty()
- {
- let n = this.parts.value;
- return !n.area && !n.exchange && !n.subscriber;
- }
-
- get shouldPlaceholderFloat()
- {
- return this.focused || !this.empty;
- }
-
- id = `my-tel-input-${MyTelInput.nextId++}`;
-
- describedBy = '';
-
- @Input()
- get placeholder()
- {
- return this._placeholder;
- }
-
- set placeholder(plh)
- {
- this._placeholder = plh;
- this.stateChanges.next();
- }
-
- private _placeholder: string;
-
- @Input()
- get required()
- {
- return this._required;
- }
-
- set required(req)
- {
- this._required = coerceBooleanProperty(req);
- this.stateChanges.next();
- }
-
- private _required = false;
-
- @Input()
- get disabled()
- {
- return this._disabled;
- }
-
- set disabled(dis)
- {
- this._disabled = coerceBooleanProperty(dis);
- this.stateChanges.next();
- }
-
- private _disabled = false;
-
- @Input()
- get value(): MyTel | null
- {
- let n = this.parts.value;
- if ( n.area.length == 3 && n.exchange.length == 3 && n.subscriber.length == 4 )
- {
- return new MyTel(n.area, n.exchange, n.subscriber);
- }
- return null;
- }
-
- set value(tel: MyTel | null)
- {
- tel = tel || new MyTel('', '', '');
- this.parts.setValue({
- area : tel.area,
- exchange : tel.exchange,
- subscriber: tel.subscriber
- });
- this.stateChanges.next();
- }
-
- constructor(fb: FormBuilder, private fm: FocusMonitor, private elRef: ElementRef,
- renderer: Renderer2
- )
- {
- this.parts = fb.group({
- 'area' : '',
- 'exchange' : '',
- 'subscriber': ''
- });
-
- fm.monitor(elRef.nativeElement, renderer, true).subscribe((origin) => {
- this.focused = !!origin;
- this.stateChanges.next();
- });
- }
-
- ngOnDestroy()
- {
- this.stateChanges.complete();
- this.fm.stopMonitoring(this.elRef.nativeElement);
- }
-
- setDescribedByIds(ids: string[])
- {
- this.describedBy = ids.join(' ');
- }
-
- onContainerClick(event: MouseEvent)
- {
- if ( (event.target as Element).tagName.toLowerCase() != 'input' )
- {
- this.elRef.nativeElement.querySelector('input').focus();
- }
- }
-}
-
-/** @title Form field with custom telephone number input control. */
-@Component({
- selector: 'form-field-custom-control-example',
- template: `
-
-
- phone
- Include area code
-
- `
-})
-export class FormFieldCustomControlExample
-{
-}
diff --git a/src/assets/angular-material-examples/form-field-error/form-field-error-example.css b/src/assets/angular-material-examples/form-field-error/form-field-error-example.css
deleted file mode 100644
index 6efed507..00000000
--- a/src/assets/angular-material-examples/form-field-error/form-field-error-example.css
+++ /dev/null
@@ -1,8 +0,0 @@
-.example-container {
- display: flex;
- flex-direction: column;
-}
-
-.example-container > * {
- width: 100%;
-}
diff --git a/src/assets/angular-material-examples/form-field-error/form-field-error-example.html b/src/assets/angular-material-examples/form-field-error/form-field-error-example.html
deleted file mode 100644
index 4a626d54..00000000
--- a/src/assets/angular-material-examples/form-field-error/form-field-error-example.html
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
- {{getErrorMessage()}}
-
-
diff --git a/src/assets/angular-material-examples/form-field-error/form-field-error-example.ts b/src/assets/angular-material-examples/form-field-error/form-field-error-example.ts
deleted file mode 100644
index ad13e53b..00000000
--- a/src/assets/angular-material-examples/form-field-error/form-field-error-example.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import { Component } from '@angular/core';
-import { FormControl, Validators } from '@angular/forms';
-
-/** @title Form field with error messages */
-@Component({
- selector : 'form-field-error-example',
- templateUrl: 'form-field-error-example.html',
- styleUrls : ['form-field-error-example.css']
-})
-export class FormFieldErrorExample
-{
- email = new FormControl('', [Validators.required, Validators.email]);
-
- getErrorMessage()
- {
- return this.email.hasError('required') ? 'You must enter a value' :
- this.email.hasError('email') ? 'Not a valid email' :
- '';
- }
-}
diff --git a/src/assets/angular-material-examples/form-field-hint/form-field-hint-example.css b/src/assets/angular-material-examples/form-field-hint/form-field-hint-example.css
deleted file mode 100644
index 6efed507..00000000
--- a/src/assets/angular-material-examples/form-field-hint/form-field-hint-example.css
+++ /dev/null
@@ -1,8 +0,0 @@
-.example-container {
- display: flex;
- flex-direction: column;
-}
-
-.example-container > * {
- width: 100%;
-}
diff --git a/src/assets/angular-material-examples/form-field-hint/form-field-hint-example.html b/src/assets/angular-material-examples/form-field-hint/form-field-hint-example.html
deleted file mode 100644
index fb09e073..00000000
--- a/src/assets/angular-material-examples/form-field-hint/form-field-hint-example.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- {{input.value?.length || 0}}/10
-
-
-
-
- Option
-
- Here's the dropdown arrow ^
-
-
diff --git a/src/assets/angular-material-examples/form-field-hint/form-field-hint-example.ts b/src/assets/angular-material-examples/form-field-hint/form-field-hint-example.ts
deleted file mode 100644
index 556928ca..00000000
--- a/src/assets/angular-material-examples/form-field-hint/form-field-hint-example.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { Component } from '@angular/core';
-
-/** @title Form field with hints */
-@Component({
- selector : 'form-field-hint-example',
- templateUrl: 'form-field-hint-example.html',
- styleUrls : ['form-field-hint-example.css']
-})
-export class FormFieldHintExample
-{
-}
diff --git a/src/assets/angular-material-examples/form-field-overview/form-field-overview-example.css b/src/assets/angular-material-examples/form-field-overview/form-field-overview-example.css
deleted file mode 100644
index 6efed507..00000000
--- a/src/assets/angular-material-examples/form-field-overview/form-field-overview-example.css
+++ /dev/null
@@ -1,8 +0,0 @@
-.example-container {
- display: flex;
- flex-direction: column;
-}
-
-.example-container > * {
- width: 100%;
-}
diff --git a/src/assets/angular-material-examples/form-field-overview/form-field-overview-example.html b/src/assets/angular-material-examples/form-field-overview/form-field-overview-example.html
deleted file mode 100644
index 8c19a60e..00000000
--- a/src/assets/angular-material-examples/form-field-overview/form-field-overview-example.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- Option
-
-
-
diff --git a/src/assets/angular-material-examples/form-field-overview/form-field-overview-example.ts b/src/assets/angular-material-examples/form-field-overview/form-field-overview-example.ts
deleted file mode 100644
index cd18e2ef..00000000
--- a/src/assets/angular-material-examples/form-field-overview/form-field-overview-example.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { Component } from '@angular/core';
-
-/** @title Simple form field */
-@Component({
- selector : 'form-field-overview-example',
- templateUrl: 'form-field-overview-example.html',
- styleUrls : ['form-field-overview-example.css']
-})
-export class FormFieldOverviewExample
-{
-}
diff --git a/src/assets/angular-material-examples/form-field-placeholder/form-field-placeholder-example.css b/src/assets/angular-material-examples/form-field-placeholder/form-field-placeholder-example.css
deleted file mode 100644
index 4118084a..00000000
--- a/src/assets/angular-material-examples/form-field-placeholder/form-field-placeholder-example.css
+++ /dev/null
@@ -1,20 +0,0 @@
-.example-container {
- display: flex;
- flex-direction: column;
-}
-
-.example-container > * {
- width: 100%;
-}
-
-.example-container form {
- margin-bottom: 20px;
-}
-
-.example-container form > * {
- margin: 5px 0;
-}
-
-.example-container .mat-radio-button {
- margin: 0 5px;
-}
diff --git a/src/assets/angular-material-examples/form-field-placeholder/form-field-placeholder-example.html b/src/assets/angular-material-examples/form-field-placeholder/form-field-placeholder-example.html
deleted file mode 100644
index 384e461c..00000000
--- a/src/assets/angular-material-examples/form-field-placeholder/form-field-placeholder-example.html
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
- -- None --
- Option
-
-
- favorite
- Fancy placeholder
-
-
diff --git a/src/assets/angular-material-examples/form-field-placeholder/form-field-placeholder-example.ts b/src/assets/angular-material-examples/form-field-placeholder/form-field-placeholder-example.ts
deleted file mode 100644
index 92fb35c5..00000000
--- a/src/assets/angular-material-examples/form-field-placeholder/form-field-placeholder-example.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { Component } from '@angular/core';
-import { FormBuilder, FormGroup } from '@angular/forms';
-
-/** @title Form field with placeholder */
-@Component({
- selector : 'form-field-placeholder-example',
- templateUrl: 'form-field-placeholder-example.html',
- styleUrls : ['form-field-placeholder-example.css']
-})
-export class FormFieldPlaceholderExample
-{
- options: FormGroup;
-
- constructor(fb: FormBuilder)
- {
- this.options = fb.group({
- hideRequired : false,
- floatPlaceholder: 'auto'
- });
- }
-}
diff --git a/src/assets/angular-material-examples/form-field-prefix-suffix/form-field-prefix-suffix-example.css b/src/assets/angular-material-examples/form-field-prefix-suffix/form-field-prefix-suffix-example.css
deleted file mode 100644
index 553ce85f..00000000
--- a/src/assets/angular-material-examples/form-field-prefix-suffix/form-field-prefix-suffix-example.css
+++ /dev/null
@@ -1,17 +0,0 @@
-.example-container {
- display: flex;
- flex-direction: column;
-}
-
-.example-container > * {
- width: 100%;
-}
-
-.example-right-align {
- text-align: right;
-}
-
-input.example-right-align::-webkit-outer-spin-button,
-input.example-right-align::-webkit-inner-spin-button {
- display: none;
-}
diff --git a/src/assets/angular-material-examples/form-field-prefix-suffix/form-field-prefix-suffix-example.html b/src/assets/angular-material-examples/form-field-prefix-suffix/form-field-prefix-suffix-example.html
deleted file mode 100644
index a761065b..00000000
--- a/src/assets/angular-material-examples/form-field-prefix-suffix/form-field-prefix-suffix-example.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- {{hide ? 'visibility' : 'visibility_off'}}
-
-
-
-
- $
- .00
-
-
diff --git a/src/assets/angular-material-examples/form-field-prefix-suffix/form-field-prefix-suffix-example.ts b/src/assets/angular-material-examples/form-field-prefix-suffix/form-field-prefix-suffix-example.ts
deleted file mode 100644
index 279ed320..00000000
--- a/src/assets/angular-material-examples/form-field-prefix-suffix/form-field-prefix-suffix-example.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { Component } from '@angular/core';
-
-/** @title Form field with prefix & suffix */
-@Component({
- selector : 'form-field-prefix-suffix-example',
- templateUrl: 'form-field-prefix-suffix-example.html',
- styleUrls : ['form-field-prefix-suffix-example.css']
-})
-export class FormFieldPrefixSuffixExample
-{
- hide = true;
-}
diff --git a/src/assets/angular-material-examples/form-field-theming/form-field-theming-example.css b/src/assets/angular-material-examples/form-field-theming/form-field-theming-example.css
deleted file mode 100644
index 6efed507..00000000
--- a/src/assets/angular-material-examples/form-field-theming/form-field-theming-example.css
+++ /dev/null
@@ -1,8 +0,0 @@
-.example-container {
- display: flex;
- flex-direction: column;
-}
-
-.example-container > * {
- width: 100%;
-}
diff --git a/src/assets/angular-material-examples/form-field-theming/form-field-theming-example.html b/src/assets/angular-material-examples/form-field-theming/form-field-theming-example.html
deleted file mode 100644
index 085adc53..00000000
--- a/src/assets/angular-material-examples/form-field-theming/form-field-theming-example.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
diff --git a/src/assets/angular-material-examples/form-field-theming/form-field-theming-example.ts b/src/assets/angular-material-examples/form-field-theming/form-field-theming-example.ts
deleted file mode 100644
index a417d1fa..00000000
--- a/src/assets/angular-material-examples/form-field-theming/form-field-theming-example.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { Component } from '@angular/core';
-import { FormBuilder, FormGroup, Validators } from '@angular/forms';
-
-/** @title Form field theming */
-@Component({
- selector : 'form-field-theming-example',
- templateUrl: 'form-field-theming-example.html',
- styleUrls : ['form-field-theming-example.css']
-})
-export class FormFieldThemingExample
-{
- options: FormGroup;
-
- constructor(fb: FormBuilder)
- {
- this.options = fb.group({
- 'color' : 'primary',
- 'fontSize': [16, Validators.min(10)]
- });
- }
-
- getFontSize()
- {
- return Math.max(10, this.options.value.fontSize);
- }
-}