Skip to content

Commit d00cb12

Browse files
authored
build: fix chips drag-drop example not working and improve example-module generation (#20003)
* build: fix chips drag-drop example not working and improve example-module generation Loading the chips-drag-drop example in the docs site is currently not possible, as the example files fail to load. This is because the example id does not match up with the directory that the example is stored within. This highlights an issue as the docs site assumes a certain folder structure. This is not ideal and an implementation detail specific to the Angular Components repository. The docs site should not need to make any assumptions about where code lives, but instead should just retrieve this information through the example information. That way we are free to change layout/file conventions in the components repository without having to worry about it breaking the docs site. This is implemented as part of this commit. Also a few sanity checks that enforce consistency (for improved code health) have been added. The new concept for examples also allows us to remove empty CSS files for examples without CSS. * chore: remove empty CSS files from examples We now can have examples without CSS files. This was previously not possible and the docs site just failed loading as it assumed a CSS file per example. We remove those empty stylesheets as they are superflous to examples and rather can confuse/distract the examples in the docs.
1 parent 23170af commit d00cb12

File tree

148 files changed

+98
-163
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+98
-163
lines changed

src/components-examples/cdk/platform/cdk-platform-overview/cdk-platform-overview-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/cdk/platform/cdk-platform-overview/cdk-platform-overview-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {
1212
@Component({
1313
selector: 'cdk-platform-overview-example',
1414
templateUrl: 'cdk-platform-overview-example.html',
15-
styleUrls: ['cdk-platform-overview-example.css'],
1615
})
1716
export class CdkPlatformOverviewExample {
1817
supportedInputTypes = Array.from(getSupportedInputTypes()).join(', ');

src/components-examples/cdk/stepper/cdk-linear-stepper-with-form/cdk-linear-stepper-with-form-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {FormBuilder, FormGroup, Validators} from '@angular/forms';
44

55
/** @title A custom CDK linear stepper with forms */
66
@Component({
7-
selector: 'cdk-linear-stepper-with-form',
7+
selector: 'cdk-linear-stepper-with-form-example',
88
templateUrl: './cdk-linear-stepper-with-form-example.html',
99
styleUrls: ['./cdk-linear-stepper-with-form-example.css']
1010
})

src/components-examples/example-data.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,13 @@ export class ExampleData {
2727
return;
2828
}
2929

30-
const {componentName, additionalFiles, additionalComponents, title} =
30+
const {componentName, files, selector, primaryFile, additionalComponents, title} =
3131
EXAMPLE_COMPONENTS[example];
3232
const exampleName = example.replace(/(?:^\w|\b\w)/g, letter => letter.toUpperCase());
3333

34-
// TODO(tinayuangao): Do not hard-code extensions
35-
this.exampleFiles = ['html', 'ts', 'css'].map(extension => `${example}-example.${extension}`);
36-
this.selectorName = this.indexFilename = `${example}-example`;
37-
38-
this.exampleFiles.push(...additionalFiles);
34+
this.exampleFiles = files;
35+
this.selectorName = selector;
36+
this.indexFilename = primaryFile;
3937
this.description = title || exampleName.replace(/[\-]+/g, ' ') + ' Example';
4038
this.componentNames = [componentName, ...additionalComponents];
4139
}

src/components-examples/material-experimental/column-resize/index.ts

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,34 @@
11
import {NgModule} from '@angular/core';
2-
import {OptInColumnResizeExampleModule} from './opt-in/opt-in-column-resize-example-module';
32
import {
4-
DefaultEnabledColumnResizeExampleModule,
5-
} from './default-enabled/default-enabled-column-resize-example-module';
3+
DefaultEnabledColumnResizeFlexExampleModule
4+
} from './default-enabled-column-resize-flex/default-enabled-column-resize-flex-example-module';
5+
import {
6+
DefaultEnabledColumnResizeExampleModule
7+
} from './default-enabled-column-resize/default-enabled-column-resize-example-module';
68
import {
7-
DefaultEnabledColumnResizeFlexExampleModule,
8-
} from './default-enabled-flex/default-enabled-column-resize-flex-example-module';
9+
OptInColumnResizeExampleModule
10+
} from './opt-in-column-resize/opt-in-column-resize-example-module';
911

1012
export {
1113
DefaultEnabledColumnResizeExample
12-
} from './default-enabled/default-enabled-column-resize-example';
14+
} from './default-enabled-column-resize/default-enabled-column-resize-example';
1315
export {
1416
DefaultEnabledColumnResizeExampleModule
15-
} from './default-enabled/default-enabled-column-resize-example-module';
17+
} from './default-enabled-column-resize/default-enabled-column-resize-example-module';
1618

1719
export {
1820
DefaultEnabledColumnResizeFlexExample
19-
} from './default-enabled-flex/default-enabled-column-resize-flex-example';
21+
} from './default-enabled-column-resize-flex/default-enabled-column-resize-flex-example';
2022
export {
2123
DefaultEnabledColumnResizeFlexExampleModule
22-
} from './default-enabled-flex/default-enabled-column-resize-flex-example-module';
24+
} from './default-enabled-column-resize-flex/default-enabled-column-resize-flex-example-module';
2325

2426
export {
2527
OptInColumnResizeExample
26-
} from './opt-in/opt-in-column-resize-example';
28+
} from './opt-in-column-resize/opt-in-column-resize-example';
2729
export {
2830
OptInColumnResizeExampleModule
29-
} from './opt-in/opt-in-column-resize-example-module';
31+
} from './opt-in-column-resize/opt-in-column-resize-example-module';
3032

3133

3234
@NgModule({

src/components-examples/material-experimental/mdc-form-field/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ import {ReactiveFormsModule} from '@angular/forms';
44
import {MatFormFieldModule} from '@angular/material-experimental/mdc-form-field';
55
import {MatIconModule} from '@angular/material/icon';
66
import {
7-
FormFieldCustomControlExample,
7+
MdcFormFieldCustomControlExample,
88
MyTelInput
99
} from './mdc-form-field-custom-control/form-field-custom-control-example';
1010

1111
export {
12-
FormFieldCustomControlExample,
12+
MdcFormFieldCustomControlExample,
1313
MyTelInput,
1414
};
1515

1616
const EXAMPLES = [
17-
FormFieldCustomControlExample,
17+
MdcFormFieldCustomControlExample,
1818
];
1919

2020
@NgModule({

src/components-examples/material-experimental/mdc-form-field/mdc-form-field-custom-control/form-field-custom-control-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material-experimental/mdc-form-field/mdc-form-field-custom-control/form-field-custom-control-example.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ import {Subject} from 'rxjs';
77

88
/** @title Form field with custom telephone number input control. */
99
@Component({
10-
selector: 'form-field-custom-control-example',
10+
selector: 'mdc-form-field-custom-control-example',
1111
templateUrl: 'form-field-custom-control-example.html',
12-
styleUrls: ['form-field-custom-control-example.css'],
1312
})
14-
export class FormFieldCustomControlExample {}
13+
export class MdcFormFieldCustomControlExample {}
1514

1615
/** Data structure for holding telephone number. */
1716
export class MyTel {

src/components-examples/material/autocomplete/autocomplete-optgroup/autocomplete-optgroup-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/autocomplete/autocomplete-optgroup/autocomplete-optgroup-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export const _filter = (opt: string[], value: string): string[] => {
2020
@Component({
2121
selector: 'autocomplete-optgroup-example',
2222
templateUrl: './autocomplete-optgroup-example.html',
23-
styleUrls: ['./autocomplete-optgroup-example.css'],
2423
})
2524

2625
export class AutocompleteOptgroupExample implements OnInit {

src/components-examples/material/badge/badge-overview/badge-overview-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/badge/badge-overview/badge-overview-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {Component} from '@angular/core';
66
@Component({
77
selector: 'badge-overview-example',
88
templateUrl: 'badge-overview-example.html',
9-
styleUrls: ['badge-overview-example.css'],
109
})
1110
export class BadgeOverviewExample {
1211
hidden = false;

src/components-examples/material/bottom-sheet/bottom-sheet-overview/bottom-sheet-overview-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/bottom-sheet/bottom-sheet-overview/bottom-sheet-overview-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {MatBottomSheet, MatBottomSheetRef} from '@angular/material/bottom-sheet'
77
@Component({
88
selector: 'bottom-sheet-overview-example',
99
templateUrl: 'bottom-sheet-overview-example.html',
10-
styleUrls: ['bottom-sheet-overview-example.css'],
1110
})
1211
export class BottomSheetOverviewExample {
1312
constructor(private _bottomSheet: MatBottomSheet) {}

src/components-examples/material/button-toggle/button-toggle-overview/button-toggle-overview-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/button-toggle/button-toggle-overview/button-toggle-overview-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ import {Component} from '@angular/core';
66
@Component({
77
selector: 'button-toggle-overview-example',
88
templateUrl: 'button-toggle-overview-example.html',
9-
styleUrls: ['button-toggle-overview-example.css'],
109
})
1110
export class ButtonToggleOverviewExample {}

src/components-examples/material/card/card-overview/card-overview-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/card/card-overview/card-overview-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ import {Component} from '@angular/core';
66
@Component({
77
selector: 'card-overview-example',
88
templateUrl: 'card-overview-example.html',
9-
styleUrls: ['card-overview-example.css'],
109
})
1110
export class CardOverviewExample {}

src/components-examples/material/chips/chips-overview/chips-overview-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/chips/chips-overview/chips-overview-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ import {Component} from '@angular/core';
66
@Component({
77
selector: 'chips-overview-example',
88
templateUrl: 'chips-overview-example.html',
9-
styleUrls: ['chips-overview-example.css'],
109
})
1110
export class ChipsOverviewExample {}

src/components-examples/material/chips/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {MatChipsModule} from '@angular/material/chips';
77
import {MatFormFieldModule} from '@angular/material/form-field';
88
import {MatIconModule} from '@angular/material/icon';
99
import {ChipsAutocompleteExample} from './chips-autocomplete/chips-autocomplete-example';
10-
import {ChipsDragDropExample} from './chips-drag-and-drop/chips-drag-drop-example';
10+
import {ChipsDragDropExample} from './chips-drag-drop/chips-drag-drop-example';
1111
import {ChipsInputExample} from './chips-input/chips-input-example';
1212
import {ChipsOverviewExample} from './chips-overview/chips-overview-example';
1313
import {ChipsStackedExample} from './chips-stacked/chips-stacked-example';

src/components-examples/material/datepicker/date-range-picker-forms/date-range-picker-forms-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/datepicker/date-range-picker-forms/date-range-picker-forms-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {FormGroup, FormControl} from '@angular/forms';
55
@Component({
66
selector: 'date-range-picker-forms-example',
77
templateUrl: 'date-range-picker-forms-example.html',
8-
styleUrls: ['date-range-picker-forms-example.css'],
98
})
109
export class DateRangePickerFormsExample {
1110
range = new FormGroup({

src/components-examples/material/datepicker/date-range-picker-overview/date-range-picker-overview-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/datepicker/date-range-picker-overview/date-range-picker-overview-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ import {Component} from '@angular/core';
44
@Component({
55
selector: 'date-range-picker-overview-example',
66
templateUrl: 'date-range-picker-overview-example.html',
7-
styleUrls: ['date-range-picker-overview-example.css'],
87
})
98
export class DateRangePickerOverviewExample {}

src/components-examples/material/datepicker/date-range-picker-selection-strategy/date-range-picker-selection-strategy-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/datepicker/date-range-picker-selection-strategy/date-range-picker-selection-strategy-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export class FiveDayRangeSelectionStrategy<D> implements MatDateRangeSelectionSt
3333
@Component({
3434
selector: 'date-range-picker-selection-strategy-example',
3535
templateUrl: 'date-range-picker-selection-strategy-example.html',
36-
styleUrls: ['date-range-picker-selection-strategy-example.css'],
3736
providers: [{
3837
provide: MAT_DATE_RANGE_SELECTION_STRATEGY,
3938
useClass: FiveDayRangeSelectionStrategy

src/components-examples/material/datepicker/datepicker-custom-header/datepicker-custom-header-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/datepicker/datepicker-custom-icon/datepicker-custom-icon-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/datepicker/datepicker-custom-icon/datepicker-custom-icon-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ import {Component} from '@angular/core';
44
@Component({
55
selector: 'datepicker-custom-icon-example',
66
templateUrl: 'datepicker-custom-icon-example.html',
7-
styleUrls: ['datepicker-custom-icon-example.css'],
87
})
98
export class DatepickerCustomIconExample {}

src/components-examples/material/datepicker/datepicker-disabled/datepicker-disabled-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/datepicker/datepicker-disabled/datepicker-disabled-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ import {Component} from '@angular/core';
44
@Component({
55
selector: 'datepicker-disabled-example',
66
templateUrl: 'datepicker-disabled-example.html',
7-
styleUrls: ['datepicker-disabled-example.css'],
87
})
98
export class DatepickerDisabledExample {}

src/components-examples/material/datepicker/datepicker-filter/datepicker-filter-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/datepicker/datepicker-filter/datepicker-filter-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {Component} from '@angular/core';
44
@Component({
55
selector: 'datepicker-filter-example',
66
templateUrl: 'datepicker-filter-example.html',
7-
styleUrls: ['datepicker-filter-example.css'],
87
})
98
export class DatepickerFilterExample {
109
myFilter = (d: Date | null): boolean => {

src/components-examples/material/datepicker/datepicker-formats/datepicker-formats-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/datepicker/datepicker-formats/datepicker-formats-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export const MY_FORMATS = {
3131
@Component({
3232
selector: 'datepicker-formats-example',
3333
templateUrl: 'datepicker-formats-example.html',
34-
styleUrls: ['datepicker-formats-example.css'],
3534
providers: [
3635
// `MomentDateAdapter` can be automatically provided by importing `MomentDateModule` in your
3736
// application's root module. We provide it at the component level here, due to limitations of

src/components-examples/material/datepicker/datepicker-min-max/datepicker-min-max-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/datepicker/datepicker-min-max/datepicker-min-max-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {Component} from '@angular/core';
44
@Component({
55
selector: 'datepicker-min-max-example',
66
templateUrl: 'datepicker-min-max-example.html',
7-
styleUrls: ['datepicker-min-max-example.css'],
87
})
98
export class DatepickerMinMaxExample {
109
minDate: Date;

src/components-examples/material/datepicker/datepicker-moment/datepicker-moment-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/datepicker/datepicker-moment/datepicker-moment-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const moment = _rollupMoment || _moment;
1717
@Component({
1818
selector: 'datepicker-moment-example',
1919
templateUrl: 'datepicker-moment-example.html',
20-
styleUrls: ['datepicker-moment-example.css'],
2120
providers: [
2221
// `MomentDateAdapter` and `MAT_MOMENT_DATE_FORMATS` can be automatically provided by importing
2322
// `MatMomentDateModule` in your applications root module. We provide it at the component level

src/components-examples/material/datepicker/datepicker-overview/datepicker-overview-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/datepicker/datepicker-overview/datepicker-overview-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ import {Component} from '@angular/core';
44
@Component({
55
selector: 'datepicker-overview-example',
66
templateUrl: 'datepicker-overview-example.html',
7-
styleUrls: ['datepicker-overview-example.css'],
87
})
98
export class DatepickerOverviewExample {}

src/components-examples/material/datepicker/datepicker-start-view/datepicker-start-view-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/datepicker/datepicker-start-view/datepicker-start-view-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {Component} from '@angular/core';
44
@Component({
55
selector: 'datepicker-start-view-example',
66
templateUrl: 'datepicker-start-view-example.html',
7-
styleUrls: ['datepicker-start-view-example.css'],
87
})
98
export class DatepickerStartViewExample {
109
startDate = new Date(1990, 0, 1);

src/components-examples/material/datepicker/datepicker-touch/datepicker-touch-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/datepicker/datepicker-touch/datepicker-touch-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ import {Component} from '@angular/core';
44
@Component({
55
selector: 'datepicker-touch-example',
66
templateUrl: 'datepicker-touch-example.html',
7-
styleUrls: ['datepicker-touch-example.css'],
87
})
98
export class DatepickerTouchExample {}

src/components-examples/material/dialog/dialog-content/dialog-content-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/dialog/dialog-content/dialog-content-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {MatDialog} from '@angular/material/dialog';
77
@Component({
88
selector: 'dialog-content-example',
99
templateUrl: 'dialog-content-example.html',
10-
styleUrls: ['dialog-content-example.css'],
1110
})
1211
export class DialogContentExample {
1312
constructor(public dialog: MatDialog) {}

src/components-examples/material/dialog/dialog-data/dialog-data-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/dialog/dialog-data/dialog-data-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export interface DialogData {
1111
@Component({
1212
selector: 'dialog-data-example',
1313
templateUrl: 'dialog-data-example.html',
14-
styleUrls: ['dialog-data-example.css'],
1514
})
1615
export class DialogDataExample {
1716
constructor(public dialog: MatDialog) {}

src/components-examples/material/dialog/dialog-elements/dialog-elements-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/dialog/dialog-elements/dialog-elements-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {MatDialog} from '@angular/material/dialog';
77
@Component({
88
selector: 'dialog-elements-example',
99
templateUrl: 'dialog-elements-example.html',
10-
styleUrls: ['dialog-elements-example.css'],
1110
})
1211
export class DialogElementsExample {
1312
constructor(public dialog: MatDialog) {}

src/components-examples/material/dialog/dialog-overview/dialog-overview-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/dialog/dialog-overview/dialog-overview-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export interface DialogData {
1212
@Component({
1313
selector: 'dialog-overview-example',
1414
templateUrl: 'dialog-overview-example.html',
15-
styleUrls: ['dialog-overview-example.css'],
1615
})
1716
export class DialogOverviewExample {
1817

src/components-examples/material/divider/divider-overview/divider-overview-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/divider/divider-overview/divider-overview-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ import {Component} from '@angular/core';
66
@Component({
77
selector: 'divider-overview-example',
88
templateUrl: 'divider-overview-example.html',
9-
styleUrls: ['divider-overview-example.css'],
109
})
1110
export class DividerOverviewExample {}

src/components-examples/material/form-field/form-field-appearance/form-field-appearance-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/form-field/form-field-appearance/form-field-appearance-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ import {Component} from '@angular/core';
44
@Component({
55
selector: 'form-field-appearance-example',
66
templateUrl: 'form-field-appearance-example.html',
7-
styleUrls: ['form-field-appearance-example.css'],
87
})
98
export class FormFieldAppearanceExample {}

src/components-examples/material/form-field/form-field-custom-control/form-field-custom-control-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/form-field/form-field-custom-control/form-field-custom-control-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import {Subject} from 'rxjs';
2525
@Component({
2626
selector: 'form-field-custom-control-example',
2727
templateUrl: 'form-field-custom-control-example.html',
28-
styleUrls: ['form-field-custom-control-example.css']
2928
})
3029
export class FormFieldCustomControlExample {
3130
form: FormGroup = new FormGroup({

src/components-examples/material/form-field/form-field-overview/form-field-overview-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/form-field/form-field-overview/form-field-overview-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ import {Component} from '@angular/core';
44
@Component({
55
selector: 'form-field-overview-example',
66
templateUrl: 'form-field-overview-example.html',
7-
styleUrls: ['form-field-overview-example.css'],
87
})
98
export class FormFieldOverviewExample {}

src/components-examples/material/grid-list/grid-list-dynamic/grid-list-dynamic-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components-examples/material/grid-list/grid-list-dynamic/grid-list-dynamic-example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export interface Tile {
1313
@Component({
1414
selector: 'grid-list-dynamic-example',
1515
templateUrl: 'grid-list-dynamic-example.html',
16-
styleUrls: ['grid-list-dynamic-example.css'],
1716
})
1817
export class GridListDynamicExample {
1918
tiles: Tile[] = [

src/components-examples/material/icon/icon-overview/icon-overview-example.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)